Date: Mon, 20 Feb 2017 17:51:37 +0000 From: "decui_microsoft.com (Dexuan Cui)" <phabric-noreply@FreeBSD.org> To: freebsd-virtualization@freebsd.org Subject: [Differential] D9686: fix UEFI VM's bootup on Hyper-V (i.e. Hyper-V Generation-2 VM) Message-ID: <0d02e932b3988ada4d0c2c8b860d69eb@localhost.localdomain> In-Reply-To: <differential-rev-PHID-DREV-uh6r5mtg6hczhprjdyvk-req@FreeBSD.org> References: <differential-rev-PHID-DREV-uh6r5mtg6hczhprjdyvk-req@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
ZGVjdWlfbWljcm9zb2Z0LmNvbSBhZGRlZCBpbmxpbmUgY29tbWVudHMuCgpJTkxJTkUgQ09NTUVO VFMKCj4gbWFyY2VsIHdyb3RlIGluIGNvcHkuYzo3OS04NAo+IFBsZWFzZSBhbHNvIGhhbmRsZSBl eGlzdGluZyBhbGxvY2F0aW9ucy4gSWYgdGhvc2UgYWxsb2NhdGlvbnMgcmVwcmVzZW50IGZyZWUv dXNhYmxlIG1lbW9yeSBhZnRlciBib290IHNlcnZpY2VzIGhhcyBleGl0ZWQsIHRoZW4gdGhleSBh cmUgZm9yIGFsbCBwcmFjdGljYWwgcHVycG9zZXMgImNvbnZlbnRpb25hbCBtZW1vcnkiLgo+IAo+ IEFsc286IHBsZWFzZSBtYWtlIHN1cmUgdGhhdCBLRVJORUxfUEhZU0lDQUxfQkFTRSBpcyBjb3Zl cmVkIGJ5IHVzYWJsZSBtZW1vcnkgdG8gYmVnaW4gd2l0aC4KPiAKPiBBcyBzdWNoLCB3ZSBtYXkg aGF2ZSBtdWx0aXBsZSBtZW1vcnkgZGVzY3JpcHRvcnMgdGhhdCBvdmVybGFwIHdpdGggWzJNQi4u Mk1CK25yX3BhZ2VzKlBBR0VfU0laRV0uIEFzIGxvbmcgYXMgdGhleSBhcmUgZnJlZSB0byB1c2Ug YWZ0ZXIgYm9vdCBzZXJ2aWNlcyBoYXMgZXhpdGVkLCB3ZSd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B0aGUgY3VycmVudCBzaW1wbGUgYWxn b3JpdGhtIGFzLWlzPwoKUkVWSVNJT04gREVUQUlMCiAgaHR0cHM6Ly9yZXZpZXdzLmZyZWVic2Qu b3JnL0Q5Njg2CgpFTUFJTCBQUkVGRVJFTkNFUwogIGh0dHBzOi8vcmV2aWV3cy5mcmVlYnNkLm9y Zy9zZXR0aW5ncy9wYW5lbC9lbWFpbHByZWZlcmVuY2VzLwoKVG86IGRlY3VpX21pY3Jvc29mdC5j b20sIGltcCwgamhiLCB3aWxsLCBraWIsIGRlbHBoaWosIGVtYXN0ZSwgc2VwaGVyb3NhX2dtYWls LmNvbSwgaG9uemhhbl9taWNyb3NvZnQuY29tLCBob3dhcmQwc3VfZ21haWwuY29tLCBtYXJjZWwK Q2M6IGZyZWVic2QtdmlydHVhbGl6YXRpb24tbGlzdAo=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0d02e932b3988ada4d0c2c8b860d69eb>