x86/hvm: allow XENMEM_machine_memory_map
PATCH 1/1 x86/hvm: allow XENMEM_machine_memory_map
For HVM based control domains XENMEM_machine_memory_map must be available so that the e820_host xl.cfg option can be used.
--- xen/arch/x86/hvm/hypercall.c | 1 - 1 file changed, 1 deletion(-)
xen/arch/x86/hvm/hypercall.c +0 -1
@@ -25,7 +25,6 @@ long hvm_memory_op(unsigned long cmd, XEN_GUEST_HANDLE_PARAM(void) arg)switch ( cmd &MEMOP_CMD_MASK ) { -case XENMEM_machine_memory_map:case XENMEM_machphys_mapping:return -ENOSYS ; }
Signature · 1 line
2.44.0
Quoted 4 lines · Roger Pau Monne
For HVM based control domains
XENMEM_machine_memory_mapmust be available so that thee820_hostxl.cfg option can be used.Signed-off-by Roger Pau Monné <[email protected]>
Seems safe enough to allow.
Does this want a reported-by, or some further discussion about how it was found?
Also, as it's mostly PVH Dom0 bugfixing, shouldn't we want it in 4.19?
~Andrew
Quoted 10 lines · Andrew Cooper
Quoted 4 lines · Roger Pau Monne
For HVM based control domains
XENMEM_machine_memory_mapmust be available so that thee820_hostxl.cfg option can be used.Signed-off-by Roger Pau Monné <[email protected]>Seems safe enough to allow.
Does this want a reported-by, or some further discussion about how it was found?
I've found it while attempting to repro an issue with e820_host reported by Marek, but the issue he reported is not related to this. It's just that I have most of my test systems set as PVH dom0.
Quoted 1 line
Also, as it's mostly PVH Dom0 bugfixing, shouldn't we want it in 4.19?
Yeah, forgot to add the for-4.19 line and Oleksii, adding him now for consideration for 4.19.
Thanks, Roger.
Andrew Cooper
Acked-byQuoted 10 lines · Roger Pau Monné
Quoted 9 lines · Andrew Cooper
Quoted 4 lines · Roger Pau Monne
For HVM based control domains
XENMEM_machine_memory_mapmust be available so that thee820_hostxl.cfg option can be used.Signed-off-by Roger Pau Monné <[email protected]>Seems safe enough to allow.
Does this want a reported-by, or some further discussion about how it was found?
Quoted 7 lines
I've found it while attempting to repro an issue with
e820_hostreported by Marek, but the issue he reported is not related to this. It's just that I have most of my test systems set as PVH dom0.Quoted 1 line
Also, as it's mostly PVH Dom0 bugfixing, shouldn't we want it in 4.19?
Yeah, forgot to add the for-4.19 line and Oleksii, adding him now for consideration for 4.19.
Quoted 18 lines · Roger Pau Monné
Quoted 5 lines · Andrew Cooper
Quoted 4 lines · Roger Pau Monne
For HVM based control domains
XENMEM_machine_memory_mapmust be available so
that thee820_hostxl.cfg option can be used.Quoted 7 lines
Quoted 1 line
Signed-off-by Roger Pau Monné <[email protected]>Seems safe enough to allow.
Does this want a reported-by, or some further discussion about how it
was found?I've found it while attempting to repro an issue with
e820_hostreported by Marek, but the issue he reported is not related to this. It's just that I have most of my test systems set as PVH dom0.
Quoted 5 lines
Quoted 2 lines
Also, as it's mostly PVH Dom0 bugfixing, shouldn't we want it in 4.19?
Yeah, forgot to add the for-4.19 line and Oleksii, adding him now for consideration for 4.19.
~ Oleksii