range: add Range structure
Sometimes we need to pass ranges around, add ahandy structure for this purpose.
Note: memory.c defines its own concept of AddrRange structure forworking with 128 addresses. It's necessary there for doing range math.This is not needed for most users: struct Range is...
pci: store PCI hole ranges in guestinfo structure
Will be used to pass hole ranges to guests.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Merge remote-tracking branch 'qemu-kvm/uq/master' into staging
kvmclock: clock should count only if vm is running
kvmclock should not count while vm is paused, because:
1) if the vm is paused for long periods, timekeepingmath can overflow while converting the (large) clocksourcedelta to nanoseconds.
2) Users rely on CLOCK_MONOTONIC to count run time, that is,...
kvm: skip system call when msi route is unchanged
Some guests do a large number of mask/unmaskcalls which currently trigger expensive route updatesystem calls.Detect that route in unchanged and skip the system call.
Reported-by: "Zhanghaoyu (A)" <haoyu.zhang@huawei.com>...
pci-assign: remove the duplicate function name in debug message
While DEBUG already includes the function name.
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>Acked-by: Alex Williamson <alex.williamson@redhat.com>Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
kvm: add detail error message when fail to add ioeventfd
I try to hotplug 28 * 8 multiple-function devices to guest withold host kernel, ioeventfds in host kernel will be exhausted, thenqemu fails to allocate ioeventfds for blk/nic devices.
It's better to add detail error here....
kvm: zero-initialize KVM_SET_GSI_ROUTING input
kvm_add_routing_entry makes an attempt tozero-initialize any new routing entry.However, it fails to initialize paddingwithin the u field of the structurekvm_irq_routing_entry.
Other functions like kvm_irqchip_update_msi_route...
Merge remote-tracking branch 'agraf/ppc-for-upstream' into staging
Merge remote-tracking branch 'cohuck/virtio-ccw-upstr' into staging
Message-id: 1372669523-4039-1-git-send-email-cornelia.huck@de.ibm.comSigned-off-by: Anthony Liguori <aliguori@us.ibm.com>
View all revisions | View revisions
Also available in: Atom