[Qemu-devel] [PATCH] kvmclock: fix clock_is_reliable on migration from QEMU < 2.9

2018-04-05 Thread Michael Chapman
-off-by: Michael Chapman --- hw/i386/kvm/clock.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/hw/i386/kvm/clock.c b/hw/i386/kvm/clock.c index 1707434db3..7dac319403 100644 --- a/hw/i386/kvm/clock.c +++ b/hw/i386/kvm/clock.c @@ -241,6 +241,19 @@ static const VMStateDescription

[Qemu-devel] [PATCH resend] kvmclock: fix clock_is_reliable on migration from QEMU < 2.9

2018-04-05 Thread Michael Chapman
-off-by: Michael Chapman --- Resent due to missing CCs. hw/i386/kvm/clock.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/hw/i386/kvm/clock.c b/hw/i386/kvm/clock.c index 1707434db3..7dac319403 100644 --- a/hw/i386/kvm/clock.c +++ b/hw/i386/kvm/clock.c @@ -241,6 +241,19

[Qemu-devel] [Bug 1745895] [NEW] Unable to migrate vhost-net to virtio-1.0-capable kernel

2018-01-28 Thread Michael Chapman
Public bug reported: I am running QEMU 2.11 (from upstream source, not Red Hat package) on stock RHEL 6 and RHEL 7 kernels. Only the RHEL 7 kernel supports VIRTIO_F_VERSION_1 in its vhost-net driver. When migrating a guest using vhost-net from the RHEL 6 host to RHEL 7, the PCI config is rejected

[Qemu-devel] [Bug 1536487] Re: Unable to migrate pc-i440fx-2.4 KVM guest from QEMU 2.5.0 to QEMU 2.4.1

2016-01-20 Thread Michael Chapman
** Description changed: When migrating a pc-i440fc-2.4 KVM guest from QEMU 2.5.0 to QEMU 2.4.1, the target QEMU errors out: - qemu-system-x86_64: error while loading state for instance 0x0 of +   qemu-system-x86_64: error while loading state for instance 0x0 of device 'fw_cfg' This

[Qemu-devel] [Bug 1536487] [NEW] Unable to migrate pc-i440fx-2.4 KVM guest from QEMU 2.5.0 to QEMU 2.4.1

2016-01-20 Thread Michael Chapman
Public bug reported: When migrating a pc-i440fc-2.4 KVM guest from QEMU 2.5.0 to QEMU 2.4.1, the target QEMU errors out: qemu-system-x86_64: error while loading state for instance 0x0 of device 'fw_cfg' This appears to be related to the addition of a DMA interface to fw_cfg last October: ht

[Qemu-devel] [PATCH] target-i386: kvm: clear unusable segments' flags in migration

2015-12-06 Thread Michael Chapman
ent's "present" flag is not set. Signed-off-by: Michael Chapman --- target-i386/kvm.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 6dc9846..7bf5a33 100644 --- a/target-i386/kvm.c +++ b/targe

[Qemu-devel] [PATCH] migration: avoid divide by zero in xbzrle cache miss rate

2015-04-15 Thread Michael Chapman
ot;cache-miss-rate": -nan, ...}, ... } }: lexical error: malformed number, a digit is required after the minus sign. This patch also ensures xbzrle_cache_miss_prev and iterations_prev are cleared at the start of the migration. Signed-off-by: Michael Chapman --- arch_init.c | 8 +--- 1 file changed