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 <gl...@rimuhosting.com> Signed-off-by: Andrew Cooper <andrew.coop...@citrix.com> --- 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@lists.xen.org https://lists.xen.org/xen-devel