Some hardware devices now support PCIe 5.0, so change the default
speed of the PCIe root port on new machine types.
For passthrough Nvidia H20, this will be able to increase the h2d/d2h
bandwidth ~17%.
Origin:
[CUDA Bandwidth Test] - Starting...
Running on...
Device 0: NVIDIA H20
Quick Mode
As shown below, if a virtio PCI device is attached under a pci-bridge, the MR
of VirtIOPCIRegion does not belong to any address space. So memory_region_find
cannot be used to search for this MR.
Introduce the virtio-pci and pci_bridge address spaces to solve this problem.
Before:
memory-region: p
As shown below, if a virtio PCI device is attached under a pci-bridge, the MR
of VirtIOPCIRegion does not belong to any address space. So memory_region_find
cannot be used to search for this MR.
Introduce the virtio-pci and pci_bridge address spaces to solve this problem.
Before:
memory-region: p
KVM commit 191c8137a939 ("x86/kvm: Implement HWCR support")
introduced support for emulating HWCR MSR.
Add support for QEMU to save/load this MSR for migration purposes.
Signed-off-by: Gao Shiyuan
Signed-off-by: Wang Liang
---
target/i386/cpu.h | 5 +
target/i386/kvm/kvm.c | 12 ++
KVM commit 191c8137a939 ("x86/kvm: Implement HWCR support")
introduced support for emulating HWCR MSR.
Add support for QEMU to save/load this MSR for migration purposes.
Signed-off-by: Gao Shiyuan
---
target/i386/cpu.c | 1 +
target/i386/cpu.h | 5 +
target/i386/kvm/kvm.c | 12 +++
As shown below, if a virtio PCI device is attached under a pci-bridge, the MR
of VirtIOPCIRegion does not belong to any address space. So memory_region_find
cannot be used to search for this MR.
Introduce the virtio-pci and pci_bridge_pci address spaces to solve this
problem.
Before:
memory-regi
Now virtio_address_space_lookup only lookup common/isr/device/notify
MR and exclude their subregions.
When VHOST_USER_PROTOCOL_F_HOST_NOTIFIER enable, the notify MR has
host-notifier subregions and we need use host-notifier MR to
notify the hardware accelerator directly instead of eventfd notify.
Temporary object causes reference count leakage.
Signed-off-by: Gao Shiyuan
---
hw/core/platform-bus.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/hw/core/platform-bus.c b/hw/core/platform-bus.c
index b8487b26b6..dc58bf505a 100644
--- a/hw/core/platform-bus.c
+++ b/hw
When VHOST_USER_PROTOCOL_F_HOST_NOTIFIER feature negotiated and
virtio_queue_set_host_notifier_mr success on system blk
device's queue, the VM can't load MBR if the notify region's
address above 4GB.
Assign the address of notify region in the modern bar above 4G, the vp_notify
in SeaBIOS will use
When vhost-user backend register memory region based host notifiers,
we should return RAM device MR of notify region MR's subregion in
virtio_address_space_lookup.
In seabios, it will use virtio PCI Configration Access Capability
access notify region when assign notify region above 4GB. This will
10 matches
Mail list logo