x86/hvm: unify HVM and PVH hypercall tables.
Quoted 18 lines · Tim Deegan
Quoted 16 lines · Konrad Rzeszutek Wilk
Quoted 11 lines · Tim Deegan
Stage one of many in merging PVH and HVM code in the hypervisor.
This exposes a few new hypercalls to HVM guests, all of which were already available to PVH ones:
-
XENMEM_memory_map/XENMEM_machine_memory_map/XENMEM_machphys_mapping:
These are basically harmless, if a bit useless to plain HVM.-
VCPUOP_send_nmi/VCPUOP_initialise/ VCPUOP[_is]_up /VCPUOP_downThis will eventually let HVM guests bring up APs the way PVH ones do. For now, theVCPUOP_initialisepaths are still gated onis_pvh.I had a similar patch to enable this under HVM and found out that if the guest issues
VCPUOP_send_nmiwe get in Linux:
Quoted 7 lines
Quoted 4 lines
[ 3.611742] Corrupted low memory at
c000fffc(fffc phys) =00029b00[ 2.386785] Corrupted low memory atffff88000000fff8(fff8 phys) = 2990000000000Right, thanks. Do you think that's likely to be a hypervisor bug, or just a "don't do that then"?
It is a bug. But I don't know where and had not had a chance to investigate this further.
My feeling is that it is APIC emulation but I might be quite off.
Quoted 4 lines
AFAICT PVH domains need this as they have no other way of sending NMIs.
Perhaps. The vAPIC that Boris had been looking at could make this work via the APIC path.
Quoted 1 line
Tim.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 35 lines · On Thu, 15 May 2014 10:32:24 -0400 Konrad Rzeszutek Wilk…
Quoted 21 lines · Tim Deegan
Quoted 19 lines · Konrad Rzeszutek Wilk
Quoted 6 lines · Tim Deegan
Stage one of many in merging PVH and HVM code in the hypervisor.
This exposes a few new hypercalls to HVM guests, all of which were already available to PVH ones:
Quoted 8 lines
-
XENMEM_memory_map/XENMEM_machine_memory_map/XENMEM_machphys_mapping: These are basically harmless, if a bit useless to plain HVM.-
VCPUOP_send_nmi/VCPUOP_initialise/ VCPUOP[_is]_up /VCPUOP_downThis will eventually let HVM guests bring up APs the way PVH ones do. For now, theVCPUOP_initialisepaths are still gated onis_pvh.I had a similar patch to enable this under HVM and found out that if the guest issues
VCPUOP_send_nmiwe get in Linux:Quoted 8 lines
Quoted 5 lines
[ 3.611742] Corrupted low memory at
c000fffc(fffc phys) =00029b00[ 2.386785] Corrupted low memory atffff88000000fff8(fff8 phys) = 2990000000000Right, thanks. Do you think that's likely to be a hypervisor bug, or just a "don't do that then"?
It is a bug. But I don't know where and had not had a chance to investigate this further.
Quoted 8 lines
My feeling is that it is APIC emulation but I might be quite off.
Quoted 4 lines
AFAICT PVH domains need this as they have no other way of sending NMIs.
Perhaps. The vAPIC that Boris had been looking at could make this work via the APIC path.
But, VCPUOP_send_nmi works for PVH right, and only HVM has problem?
mukesh
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 40 lines · Mukesh Rathor
Quoted 37 lines · On Thu, 15 May 2014 10:32:24 -0400 Konrad Rzeszutek Wilk…
Quoted 21 lines · Tim Deegan
Quoted 19 lines · Konrad Rzeszutek Wilk
Quoted 6 lines · Tim Deegan
Stage one of many in merging PVH and HVM code in the hypervisor.
This exposes a few new hypercalls to HVM guests, all of which were already available to PVH ones:
Quoted 8 lines
-
XENMEM_memory_map/XENMEM_machine_memory_map/XENMEM_machphys_mapping: These are basically harmless, if a bit useless to plain HVM.-
VCPUOP_send_nmi/VCPUOP_initialise/ VCPUOP[_is]_up /VCPUOP_downThis will eventually let HVM guests bring up APs the way PVH ones do. For now, theVCPUOP_initialisepaths are still gated onis_pvh.I had a similar patch to enable this under HVM and found out that if the guest issues
VCPUOP_send_nmiwe get in Linux:Quoted 8 lines
Quoted 5 lines
[ 3.611742] Corrupted low memory at
c000fffc(fffc phys) =00029b00[ 2.386785] Corrupted low memory atffff88000000fff8(fff8 phys) = 2990000000000Right, thanks. Do you think that's likely to be a hypervisor bug, or just a "don't do that then"?
It is a bug. But I don't know where and had not had a chance to investigate this further.
My feeling is that it is APIC emulation but I might be quite off.
Quoted 1 line
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
AFAICT PVH domains need this as they have no other way of sending NMIs.
Perhaps. The vAPIC that Boris had been looking at could make this work via the APIC path.
But,
VCPUOP_send_nmiworks for PVH right, and only HVM has problem?
I did not test PVH - just tried with HVM. It might be that the PVH won't have the issue.
Quoted 3 lines
mukesh