From: Weidong Han weidong@intel.com
Add this to support hot remove assigned device.
Acked-by: Mark McLoughlin mar...@redhat.com
Signed-off-by: Weidong Han weidong@intel.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/libkvm/libkvm.c b/libkvm/libkvm.c
index 92ffe10..a559a0d
From: Weidong Han weidong@intel.com
free_assigned_device just frees device from qemu, it should also
deassign the device from guest when guest exits or hot remove
assigned device.
Acked-by: Mark McLoughlin mar...@redhat.com
Signed-off-by: Weidong Han weidong@intel.com
Signed-off-by: Avi
From: Weidong Han weidong@intel.com
Just wrap assign_device and assign_irq, no functional changes
Acked-by: Mark McLoughlin mar...@redhat.com
Signed-off-by: Weidong Han weidong@intel.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/qemu/hw/device-assignment.c
From: Avi Kivity a...@redhat.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/qemu/pc-bios/bios.bin b/qemu/pc-bios/bios.bin
index 3a7d7c2..04c1f86 100644
Binary files a/qemu/pc-bios/bios.bin and b/qemu/pc-bios/bios.bin differ
--
To unsubscribe from this list: send the line unsubscribe
From: Yang Zhang Yang Zhang
remove redundant args of pci_vga_init(),isa_vga_init(),
rtc_init() in ia64.
Signed-off-by: Yang Zhang yang.zh...@intel.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/kernel/ia64/hack-module.awk b/kernel/ia64/hack-module.awk
index d0ef130..2e4e05f 100644
From: Weidong Han weidong@intel.com
When hot remove assigned device, should deassign it
from guest and free it from qemu.
assign_dev_update_irqs may not be invoked when hot add a
device, so need to assign irq after device assignment in
init_assigned_device.
Acked-by: Mark McLoughlin
From: Weidong Han weidong@intel.com
MMIO of some devices are not page aligned, such as some EHCI
controllers and virtual Realtek NIC in guest. Current guest
bios doesn't guarantee the start address of MMIO page aligned.
This may result in failure of device assignment, because KVM
only allow
From: Weidong Han weidong@intel.com
only need to set assigned_dev_id for deassignment, use
match-flags to judge and deassign it.
Acked-by: Mark McLoughlin mar...@redhat.com
Signed-off-by: Weidong Han weidong@intel.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git
From: Avi Kivity a...@redhat.com
Windows 2008 accesses this MSR often on context switch intensive workloads;
since we run in guest context with the guest MSR value loaded (so swapgs can
work correctly), we can simply disable interception of rdmsr/wrmsr for this
MSR.
A complication occurs since