[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH XTF 3/4] build: Opencode vmfunc as bytes
Binutils 2.20 of CentOS 6 vintage doesn't understand the mnemonic. The instruction doesn't encode any operands, so we don't lose any flexibility. Reported-by: Glenn Enright <glenn@xxxxxxxxxxxxxxx> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> --- tests/xsa-203/main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/xsa-203/main.c b/tests/xsa-203/main.c index 01b5bca..e786577 100644 --- a/tests/xsa-203/main.c +++ b/tests/xsa-203/main.c @@ -22,7 +22,9 @@ bool test_needs_fep = true; void test_main(void) { asm volatile (_ASM_XEN_FEP - "1: vmfunc; 2:" + "1:" + ".byte 0x0f, 0x01, 0xd4;" /* VMFUNC */ + "2:" _ASM_EXTABLE(1b, 2b) /* Ignore #UD on older versions. */ :: "a" (0)); -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |