diff options
author | Don Slutz | 2014-10-20 21:49:12 +0200 |
---|---|---|
committer | Stefano Stabellini | 2014-10-30 15:16:38 +0100 |
commit | 37f9e258b64b3cf97c7c78df60660100c9eb5a21 (patch) | |
tree | b1a3f4c8e3b4d968d336730ac93c47e77b630f0e /hw/i386/smbios.c | |
parent | virtio: link the rng backend through an alias property (diff) | |
download | qemu-37f9e258b64b3cf97c7c78df60660100c9eb5a21.tar.gz qemu-37f9e258b64b3cf97c7c78df60660100c9eb5a21.tar.xz qemu-37f9e258b64b3cf97c7c78df60660100c9eb5a21.zip |
xen-hvm.c: Add support for Xen access to vmport
This adds synchronisation of the 6 vcpu registers (only 32bits of
them) that vmport.c needs between Xen and QEMU.
This is to avoid a 2nd and 3rd exchange between QEMU and Xen to
fetch and put these 6 vcpu registers used by the code in vmport.c
and vmmouse.c
The registers are passed in the new shared page provided by
HVM_PARAM_VMPORT_REGS_PFN.
Add new array to XenIOState that allows selection of current_cpu by
vcpu id.
Now pass XenIOState to handle_ioreq().
Add new routines regs_to_cpu(), regs_from_cpu(), and
handle_vmport_ioreq().
Signed-off-by: Don Slutz <dslutz@verizon.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'hw/i386/smbios.c')
0 files changed, 0 insertions, 0 deletions