Re: [Qemu-devel] pause and restore function before and after QEMU Live Snapshot

2014-07-17 Thread Yuanzhen Gu
I see, thank you very much, Eric! Best, Yuanzhen On Thu, Jul 17, 2014 at 5:26 PM, Eric Blake ebl...@redhat.com wrote: On 07/17/2014 02:20 PM, Yuanzhen Gu wrote: Hi Eric, [please don't top-post on technical lists] I enabled libvirt debugging, and saw the log file under

Re: [Qemu-devel] anyway to boot from backing file virtual disk after delete snapshot?

2014-07-17 Thread Yuanzhen Gu
yes, I found the way, we can reboot from original virtual disk via pick boot from existing disk img. Best, Yuanzhen On Thu, Jul 17, 2014 at 5:31 PM, Eric Blake ebl...@redhat.com wrote: On 07/17/2014 03:15 PM, Yuanzhen Gu wrote: Hello there, I take external disk-only snapshot, but

Re: [Qemu-devel] can't boot debian wheezy sparc in qemu

2014-07-17 Thread Mark Cave-Ayland
On 17/07/14 07:43, Dennis Luehring wrote: Am 16.07.2014 00:21, schrieb Mark Cave-Ayland: At the moment my work is focused on getting the basic system emulation up and running, so I haven't spent much time looking at the graphics side at all. I have noticed that the kernel falls back to the

[Qemu-devel] [PULL 4/7] qtest: fix vhost-user-test compilation with old GLib

2014-07-17 Thread Michael S. Tsirkin
From: Nikolay Nikolaev n.nikol...@virtualopensystems.com Mising G_TIME_SPAN_SECOND definition breaks the RHEL6 compilation as GLib version before 2.26 does not have it. In such case just define it. Reported-by: Kevin Wolf kw...@redhat.com Signed-off-by: Nikolay Nikolaev

[Qemu-devel] [PULL 0/7] pc,vhost,virtio fixes, test

2014-07-17 Thread Michael S. Tsirkin
The following changes since commit 3f0838ab8557c6071a5931183b2d7fed568cd35c: qemu-char: add chr_add_watch support in mux chardev (2014-07-06 09:13:54 +0300) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_upstream for you to fetch

[Qemu-devel] [PULL 5/7] vhost-user: Fix VHOST_SET_MEM_TABLE processing

2014-07-17 Thread Michael S. Tsirkin
From: Nikolay Nikolaev n.nikol...@virtualopensystems.com qemu_get_ram_fd doesn't accept a guest physical address. ram_addr_t are opaque values that are assigned in qemu_ram_alloc. Find the ram_addr_t corresponding to the userspace_addr using qemu_ram_addr_from_host, and then call

[Qemu-devel] [PULL 1/7] pc: fix qemu exiting with error when -m X 128 with old machines types

2014-07-17 Thread Michael S. Tsirkin
From: Igor Mammedov imamm...@redhat.com If machine doesn't support memory hotplug then staring QEMU with initial memory less than default will make QEMU exit with following error message: $QEMU -m 16 -M isapc qemu-system-i386: -memory 'slots|maxmem' is not supported by: isapc Set maxram_size

[Qemu-devel] [PULL 3/7] fix typo: apci - acpi

2014-07-17 Thread Michael S. Tsirkin
From: Hu Tao hu...@cn.fujitsu.com Signed-off-by: Hu Tao hu...@cn.fujitsu.com Reviewed-by: Andreas Färber afaer...@suse.de Reviewed-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Michael S. Tsirkin m...@redhat.com MST: rebase --- hw/acpi/ich9.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[Qemu-devel] [PULL 2/7] pc_piix: Reuse pc_compat_1_2() for pc-0.1[0123]

2014-07-17 Thread Michael S. Tsirkin
From: Eduardo Habkost ehabk...@redhat.com pc-0.13 and older were missing some compat code that was present on newer machine-types: * x86_cpu_compat_disable_kvm_features(FEAT_1_ECX, CPUID_EXT_X2APIC); (pc-i440fx-1.7 and older) (added by commit ef02ef5f4536dba090b12360a6c862ef0e57e3bc) *

[Qemu-devel] [PULL 6/7] qtest: Adapt vhost-user-test to latest vhost-user changes

2014-07-17 Thread Michael S. Tsirkin
From: Nikolay Nikolaev n.nikol...@virtualopensystems.com A new field mmap_offset was added in the vhost-user message, we need to reflect this change in the test too. Signed-off-by: Nikolay Nikolaev n.nikol...@virtualopensystems.com Reviewed-by: Michael S. Tsirkin m...@redhat.com Signed-off-by:

[Qemu-devel] [PULL v2 0/7] pc,vhost,test fixes

2014-07-17 Thread Michael S. Tsirkin
Resending. v1 has exactly the same patches but had the wrong text in the tag. Sorry about that. The following changes since commit 3f0838ab8557c6071a5931183b2d7fed568cd35c: qemu-char: add chr_add_watch support in mux chardev (2014-07-06 09:13:54 +0300) are available in the git repository at:

[Qemu-devel] [PULL v2 6/7] qtest: Adapt vhost-user-test to latest vhost-user changes

2014-07-17 Thread Michael S. Tsirkin
From: Nikolay Nikolaev n.nikol...@virtualopensystems.com A new field mmap_offset was added in the vhost-user message, we need to reflect this change in the test too. Signed-off-by: Nikolay Nikolaev n.nikol...@virtualopensystems.com Reviewed-by: Michael S. Tsirkin m...@redhat.com Signed-off-by:

[Qemu-devel] [PULL 7/7] vhost-user: minor cleanups

2014-07-17 Thread Michael S. Tsirkin
assert to verify cast does not discard information minor style fixup. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- hw/virtio/vhost-user.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/virtio/vhost-user.c b/hw/virtio/vhost-user.c index 3d23218..4e88d9c 100644

[Qemu-devel] [PULL v2 2/7] pc_piix: Reuse pc_compat_1_2() for pc-0.1[0123]

2014-07-17 Thread Michael S. Tsirkin
From: Eduardo Habkost ehabk...@redhat.com pc-0.13 and older were missing some compat code that was present on newer machine-types: * x86_cpu_compat_disable_kvm_features(FEAT_1_ECX, CPUID_EXT_X2APIC); (pc-i440fx-1.7 and older) (added by commit ef02ef5f4536dba090b12360a6c862ef0e57e3bc) *

Re: [Qemu-devel] [musl] Re: Bogus struct stat64 for qemu-microblaze (user emulation)?

2014-07-17 Thread Edgar E. Iglesias
On Wed, Jul 16, 2014 at 11:59:58AM -0400, Rich Felker wrote: On Wed, Jul 16, 2014 at 09:36:23AM +0100, Peter Maydell wrote: On 16 July 2014 05:02, Rich Felker dal...@libc.org wrote: The qemu-microblaze definition of struct stat64 seems to mismatch the kernel definition, which is using

[Qemu-devel] [PULL v2 3/7] fix typo: apci - acpi

2014-07-17 Thread Michael S. Tsirkin
From: Hu Tao hu...@cn.fujitsu.com Signed-off-by: Hu Tao hu...@cn.fujitsu.com Reviewed-by: Andreas Färber afaer...@suse.de Reviewed-by: Michael S. Tsirkin m...@redhat.com Signed-off-by: Michael S. Tsirkin m...@redhat.com MST: rebase --- hw/acpi/ich9.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[Qemu-devel] [PULL v2 7/7] vhost-user: minor cleanups

2014-07-17 Thread Michael S. Tsirkin
assert to verify cast does not discard information minor style fixup. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- hw/virtio/vhost-user.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hw/virtio/vhost-user.c b/hw/virtio/vhost-user.c index 3d23218..4e88d9c 100644

[Qemu-devel] [PULL v2 1/7] pc: fix qemu exiting with error when -m X 128 with old machines types

2014-07-17 Thread Michael S. Tsirkin
From: Igor Mammedov imamm...@redhat.com If machine doesn't support memory hotplug then staring QEMU with initial memory less than default will make QEMU exit with following error message: $QEMU -m 16 -M isapc qemu-system-i386: -memory 'slots|maxmem' is not supported by: isapc Set maxram_size

[Qemu-devel] [PULL v2 4/7] qtest: fix vhost-user-test compilation with old GLib

2014-07-17 Thread Michael S. Tsirkin
From: Nikolay Nikolaev n.nikol...@virtualopensystems.com Mising G_TIME_SPAN_SECOND definition breaks the RHEL6 compilation as GLib version before 2.26 does not have it. In such case just define it. Reported-by: Kevin Wolf kw...@redhat.com Signed-off-by: Nikolay Nikolaev

Re: [Qemu-devel] [PATCH for-2.1] scsi: fix scsi disk symbol confusion in guest os

2014-07-17 Thread Gonglei (Arei)
Hi, -Original Message- From: Paolo Bonzini [mailto:pbonz...@redhat.com] Sent: Thursday, July 17, 2014 9:45 PM To: Gonglei (Arei); qemu-devel@nongnu.org Cc: Huangweidong (C); Luonengjun Subject: Re: [PATCH for-2.1] scsi: fix scsi disk symbol confusion in guest os Il 17/07/2014

Re: [Qemu-devel] [RFC PATCH 7/7] cpus: reclaim allocated vCPU objects

2014-07-17 Thread Gu Zheng
Hi Anshul, On 07/18/2014 12:24 AM, Anshul Makkar wrote: Are we not going to introduce new command cpu_del for deleting the cpu ? I couldn't find any patch for addition of cpu_del command. Is this intentional and we intend to use device_del (and similarly device_add) for cpu hot(un)plug or

Re: [Qemu-devel] [question] how to check if savevm is completed?

2014-07-17 Thread Zhang Haoyu
I run savevm by qemu-monitor, but how to check if savevm is completed? I haven't find the query interface. That is because savevm is synchronous. It blocks until the operation is complete. You cannot use the QEMU monitor while savevm is executing. So, only the asynchronous operations

Re: [Qemu-devel] [PATCH] block/quorum: implement .bdrv_co_get_block_status

2014-07-17 Thread Fam Zheng
On Thu, 07/17 19:50, Liu Yuan wrote: - allow drive-mirror to create sprase mirror on images like qcow2 - allow qemu-img map to work as expected on quorum driver Cc: Benoit Canet ben...@irqsave.net Cc: Kevin Wolf kw...@redhat.com Cc: Stefan Hajnoczi stefa...@redhat.com Signed-off-by: Liu

Re: [Qemu-devel] [Qemu-trivial] [PATCH] slirp: Give error message if hostfwd_add/remove for unrecognized vlan/stack

2014-07-17 Thread Michael Tokarev
08.07.2014 15:39, Peter Maydell wrote: On 26 June 2014 13:35, Peter Maydell peter.mayd...@linaro.org wrote: On 16 June 2014 16:47, Peter Maydell peter.mayd...@linaro.org wrote: If the user specified a (vlan ID, slirp stack name) tuple in a monitor hostfwd_add/remove command and we can't find

Re: [Qemu-devel] [Qemu-trivial] [PATCH] doc: slirp supports ICMP echo if enabled in Linux

2014-07-17 Thread Michael Tokarev
10.07.2014 18:01, Gernot Hillier wrote: Since QEMU 0.15, slirp (user mode networking) supports ping to the Internet, see e6d43cfb1f9 Applied to the trivial tree, after removing an extra empty line and rewording the last part to be To allow ping for GID 100 (usually users group), because not

Re: [Qemu-devel] [Qemu-trivial] [PATCH] qga: Add missing 'static' attribute

2014-07-17 Thread Michael Tokarev
Applied to -trivial, thank you! /mjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH] hw/usb: Add missing 'static' attribute

2014-07-17 Thread Michael Tokarev
Applied to -trivial, thank you! /mjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH] migration: Add missing 'static' attribute

2014-07-17 Thread Michael Tokarev
Applied to -trivial, thank you! /mjt

Re: [Qemu-devel] [Qemu-trivial] [PATCH] tests: Add missing 'static' attributes (fix warnings from smatch)

2014-07-17 Thread Michael Tokarev
Applied to -trivial, thank you! /mjt

<    1   2