[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH] vmx: Don't open-code vmresume/vmlaunch instructions
Le 17/04/2025 à 16:24, Teddy Astie a écrit : > binutils 2.25 has support for assembling vmresume/vmlaunch > instructions, so we don't need to open-code the byte sequences > for these opcodes anymore. > > Signed-off-by: Teddy Astie <teddy.astie@xxxxxxxxxx> > --- > xen/arch/x86/hvm/vmx/entry.S | 7 ++----- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/xen/arch/x86/hvm/vmx/entry.S b/xen/arch/x86/hvm/vmx/entry.S > index 6aaeb28a5b..2bfee715b3 100644 > --- a/xen/arch/x86/hvm/vmx/entry.S > +++ b/xen/arch/x86/hvm/vmx/entry.S > @@ -21,9 +21,6 @@ > #include <asm/asm_defns.h> > #include <asm/page.h> > > -#define VMRESUME .byte 0x0f,0x01,0xc3 > -#define VMLAUNCH .byte 0x0f,0x01,0xc2 > - > FUNC(vmx_asm_vmexit_handler) > SAVE_ALL > > @@ -166,11 +163,11 @@ UNLIKELY_END(realmode) > jns .Lvmx_launch > > /*.Lvmx_resume:*/ > - VMRESUME > + vmresume > jmp .Lvmx_vmentry_fail > > .Lvmx_launch: > - VMLAUNCH > + vmlaunch > > .Lvmx_vmentry_fail: > sti Not a security issue, I sent by mistake to the wrong mailing list. Teddy Astie | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |