Re: [Qemu-devel] [PATCH] Fix location of some include files

2013-04-09 Thread Peter Maydell
On 9 April 2013 16:39, Paolo Bonzini pbonz...@redhat.com wrote: Il 09/04/2013 17:17, Anthony Liguori ha scritto: Thanks, I had the same patch---sorry for not making it clear I was going to do it. I'll submit the final piece later this week, it fixes up a few other misplacements (not in

Re: [Qemu-devel] [PATCH v4 08/11] qemu-img: introduce qemu_img_handle_error

2013-04-09 Thread Markus Armbruster
Pavel Hrdina phrd...@redhat.com writes: Signed-off-by: Pavel Hrdina phrd...@redhat.com Reviewed-by: Eric Blake ebl...@redhat.com --- qemu-img.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/qemu-img.c b/qemu-img.c index 21d02bf..d5f81cc 100644

Re: [Qemu-devel] [PATCH v4 07/11] qapi: Convert savevm

2013-04-09 Thread Eric Blake
On 04/09/2013 10:04 AM, Markus Armbruster wrote: + +## +# @vm-snapshot-save: +# +# Create a snapshot of the whole virtual machine. If tag is provided as @name, +# it is used as human readable identifier. If there is already a snapshot +# with the same tag or id, the force argument needs

Re: [Qemu-devel] [PATCH 0/3] Release SMP restriction on Windows host

2013-04-09 Thread Paolo Bonzini
Il 09/04/2013 18:06, Fabien Chouteau ha scritto: As I already explained to this mailling list, we (AdaCore) use QEMU to run a lot of short executable (~2 secs) on many different targets. In that configuration the SMP restriction on Windows (QEMU runs only on 1 core) was not efficient on our

Re: [Qemu-devel] Virtualbox svga card in KVM

2013-04-09 Thread Sriram Murthy
No idea. I havent had a chance to install Windows 8 on Virtualbox yet. -Sriram - Original Message - From: Yan Vugenfirer yvuge...@redhat.com To: Sriram Murthy srira...@yahoo.com Cc: Stefan Hajnoczi stefa...@gmail.com; k...@vger.kernel.org k...@vger.kernel.org; qemu list

Re: [Qemu-devel] [PATCH v4 01/11] block: add error parameter to bdrv_snapshot_create() and related functions

2013-04-09 Thread Markus Armbruster
Pavel Hrdina phrd...@redhat.com writes: Signed-off-by: Pavel Hrdina phrd...@redhat.com Reviewed-by: Eric Blake ebl...@redhat.com [...] diff --git a/block/rbd.c b/block/rbd.c index 1a8ea6d..cdbee18 100644 --- a/block/rbd.c +++ b/block/rbd.c @@ -816,12 +816,14 @@ static int

Re: [Qemu-devel] [PATCH 2/2] qemu-timer: move timeBeginPeriod/timeEndPeriod to os-win32

2013-04-09 Thread Paolo Bonzini
Il 20/02/2013 14:43, Paolo Bonzini ha scritto: These are needed for any of the Win32 alarm timer implementations. They are not tied to mmtimer exclusively. Jacob tested this patch with both mmtimer and Win32 timers. Cc: qemu-sta...@nongnu.org Tested-by: Jacob Kroon jacob.kr...@gmail.com

Re: [Qemu-devel] [PATCH] configure: QEMU_INCLUDES are the same for all subtargets

2013-04-09 Thread Paolo Bonzini
Il 02/04/2013 15:49, Paolo Bonzini ha scritto: No need to put them in config-target.mak. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- configure | 36 +--- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/configure b/configure index

Re: [Qemu-devel] [PATCH] qom: do nothing on unparent of object without parent

2013-04-09 Thread Paolo Bonzini
Il 02/04/2013 15:50, Paolo Bonzini ha scritto: Otherwise, device_unparent will fail to get a canonical path of the object. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- qom/object.c | 4 1 file changed, 4 insertions(+) diff --git a/qom/object.c b/qom/object.c index

Re: [Qemu-devel] [PATCH v4 09/11] block: update return value from bdrv_snapshot_create

2013-04-09 Thread Markus Armbruster
Pavel Hrdina phrd...@redhat.com writes: If we provide error message we don't have to also provide return value because we could check if there is any error message or not. Signed-off-by: Pavel Hrdina phrd...@redhat.com Reviewed-by: Eric Blake ebl...@redhat.com --- block.c

Re: [Qemu-devel] [PATCH v4 10/11] savevm: update return value from qemu_savevm_state

2013-04-09 Thread Markus Armbruster
Pavel Hrdina phrd...@redhat.com writes: Signed-off-by: Pavel Hrdina phrd...@redhat.com Reviewed-by: Eric Blake ebl...@redhat.com --- savevm.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/savevm.c b/savevm.c index 6ac4ece..75f64d1 100644 --- a/savevm.c +++

Re: [Qemu-devel] [PATCH] qom: do nothing on unparent of object without parent

2013-04-09 Thread Andreas Färber
Am 02.04.2013 15:50, schrieb Paolo Bonzini: Otherwise, device_unparent will fail to get a canonical path of the object. Signed-off-by: Paolo Bonzini pbonz...@redhat.com Reviewed-by: Andreas Färber afaer...@suse.de Andreas --- qom/object.c | 4 1 file changed, 4 insertions(+)

Re: [Qemu-devel] [RFC PATCH RDMA support v5: 11/12] update schema to define new capabilities

2013-04-09 Thread Paolo Bonzini
Il 09/04/2013 05:04, mrhi...@linux.vnet.ibm.com ha scritto: From: Michael R. Hines mrhi...@us.ibm.com Signed-off-by: Michael R. Hines mrhi...@us.ibm.com --- qapi-schema.json |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qapi-schema.json b/qapi-schema.json

Re: [Qemu-devel] [RFC PATCH RDMA support v5: 10/12] new header file prototypes for savevm.c

2013-04-09 Thread Paolo Bonzini
Il 09/04/2013 05:04, mrhi...@linux.vnet.ibm.com ha scritto: From: Michael R. Hines mrhi...@us.ibm.com Signed-off-by: Michael R. Hines mrhi...@us.ibm.com --- include/migration/migration.h |3 +++ include/migration/qemu-file.h |3 +++ 2 files changed, 6 insertions(+) diff --git

Re: [Qemu-devel] [PATCH v4 11/11] savevm: add force parameter to HMP command and return snapshot info

2013-04-09 Thread Markus Armbruster
Pavel Hrdina phrd...@redhat.com writes: HMP command savevm now takes extra optional force parameter to specify whether replace existing snapshot or not. It also returns information about created snapshot. It doesn't return anything, it prints :) Signed-off-by: Pavel Hrdina

Re: [Qemu-devel] [RFC PATCH RDMA support v5: 09/12] transmit pc.ram using RDMA

2013-04-09 Thread Paolo Bonzini
Il 09/04/2013 05:04, mrhi...@linux.vnet.ibm.com ha scritto: +if ((bytes_sent = save_rdma_page(f, block-offset, +offset, cont, TARGET_PAGE_SIZE, zero)) = 0) { +acct_info.norm_pages++; +qemu_file_update_position(f,

Re: [Qemu-devel] [RFC PATCH RDMA support v5: 02/12] check for CONFIG_RDMA

2013-04-09 Thread Paolo Bonzini
Il 09/04/2013 05:04, mrhi...@linux.vnet.ibm.com ha scritto: From: Michael R. Hines mrhi...@us.ibm.com Make both rdma.c and migration-rdma.c conditionally built. Signed-off-by: Michael R. Hines mrhi...@us.ibm.com --- Makefile.objs |1 + 1 file changed, 1 insertion(+) diff --git

Re: [Qemu-devel] [PATCH] configure: QEMU_INCLUDES are the same for all subtargets

2013-04-09 Thread Peter Maydell
On 2 April 2013 14:49, Paolo Bonzini pbonz...@redhat.com wrote: No need to put them in config-target.mak. Signed-off-by: Paolo Bonzini pbonz...@redhat.com Reviewed-by: Peter Maydell peter.mayd...@linaro.org -- PMM

Re: [Qemu-devel] [RFC PATCH RDMA support v5: 08/12] new capabilities added and check for QMP string 'rdma'

2013-04-09 Thread Paolo Bonzini
Il 09/04/2013 05:04, mrhi...@linux.vnet.ibm.com ha scritto: From: Michael R. Hines mrhi...@us.ibm.com 1. capability for zero pages (enabled by default) 2. capability for dynamic server chunk registration (disabled by default) The zero capability should be a separate patch. The hunk adding

Re: [Qemu-devel] Virtualbox svga card in KVM

2013-04-09 Thread Andreas Färber
Hi, Am 08.04.2013 18:05, schrieb Sriram Murthy: The Virtualbox SVGA card was derived out of the KVM VGA card, so there are quite a few similarities (I am deliberately being vague here as I am still in the process of discovering the features of both these cards completely). Having said

Re: [Qemu-devel] [RFC PATCH RDMA support v5: 12/12] don't set nonblock on invalid file descriptor

2013-04-09 Thread Paolo Bonzini
Il 09/04/2013 05:04, mrhi...@linux.vnet.ibm.com ha scritto: index 4e4b819..0b398f4 100644 --- a/util/oslib-posix.c +++ b/util/oslib-posix.c @@ -144,6 +144,8 @@ void qemu_set_block(int fd) void qemu_set_nonblock(int fd) { int f; +if(fd == -1) +return; f = fcntl(fd,

Re: [Qemu-devel] [RFC PATCH RDMA support v5: 08/12] new capabilities added and check for QMP string 'rdma'

2013-04-09 Thread Paolo Bonzini
Il 09/04/2013 05:04, mrhi...@linux.vnet.ibm.com ha scritto: +} else if (strstart(uri, rdma:, p)) { +rdma_start_outgoing_migration(s, p, local_err); Forgot one: please wrap this and the equivalent incoming migration hunk with #ifdef CONFIG_RDMA. Prototypes can go in

Re: [Qemu-devel] [RFC PATCH RDMA support v5: 01/12] ./configure with and without --enable-rdma

2013-04-09 Thread Paolo Bonzini
Il 09/04/2013 05:04, mrhi...@linux.vnet.ibm.com ha scritto: +if test $rdma = yes ; then + cat $TMPC EOF +#include rdma/rdma_cma.h +int main(void) { return 0; } +EOF + rdma_libs=-lrdmacm -libverbs + if ! compile_prog $rdma_libs ; then + feature_not_found rdma + fi + Please

Re: [Qemu-devel] [RFC PATCH 0/6] audio: simplify -soundhw machinery, use default-configs

2013-04-09 Thread Paolo Bonzini
Il 02/04/2013 16:50, Paolo Bonzini ha scritto: This avoids audio-specific hacks in configure, so that the same mechanism is used for all targets and all devices. Not yet tested enough, hence RFC. malc, any news? This is now ready to go in. Paolo Paolo Paolo Bonzini (6): adlib:

Re: [Qemu-devel] [RFC PATCH RDMA support v5: 05/12] core RDMA migration logic w/ new protocol

2013-04-09 Thread Paolo Bonzini
Il 09/04/2013 05:04, mrhi...@linux.vnet.ibm.com ha scritto: +void qemu_rdma_disable(void *opaque); +void qemu_rdma_cleanup(void *opaque); +int qemu_rdma_client_init(void *opaque, Error **errp, +bool chunk_register_destination); +int qemu_rdma_connect(void *opaque, Error **errp);

Re: [Qemu-devel] [PATCH qom-cpu 2/2] sh7750: Change cpu field type to SuperHCPU

2013-04-09 Thread Andreas Färber
Am 09.04.2013 17:29, schrieb Peter Maydell: On 9 April 2013 15:51, Andreas Färber afaer...@suse.de wrote: This brings us a step closer to QOM'ified SH7750 SoC and fixes b350ab75 (target-sh4: Move PVR/PRR/CVR into SuperHCPUClass) assuming SuperHCPU type for SUPERH_CPU_GET_CLASS(). Fix Coding

Re: [Qemu-devel] [RFC PATCH RDMA support v5: 07/12] additional savevm.c accessors for RDMA

2013-04-09 Thread Paolo Bonzini
Il 09/04/2013 05:04, mrhi...@linux.vnet.ibm.com ha scritto: From: Michael R. Hines mrhi...@us.ibm.com 1. qemu_file_ops_are() 2. qemu_file_update_position()(for f-pos) Also need to be here: rdma_read_ops rdma_write_ops Signed-off-by: Michael R. Hines mrhi...@us.ibm.com ---

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-09 Thread Alex Williamson
On Tue, 2013-04-09 at 08:22 -0400, de...@lavabit.com wrote: Hi! I've tried passing through my ASUS Radeon HD7750, but qemu just hogs 100% of one core and stops. Since the display didn't light up, I couldn't see how far Win 7 boot went. For a Linux guest I tried redirecting kernel messages

Re: [Qemu-devel] [PATCH v4 0/3] DTC as submodule

2013-04-09 Thread Peter Maydell
On 4 April 2013 01:41, Peter Crosthwaite peter.crosthwa...@xilinx.com wrote: These two patches add and use dtc as a submodule as per the RFC: http://lists.gnu.org/archive/html/qemu-devel/2013-01/msg05000.html There is a remaining action item to mandate libfdt for arm/microblaze and PPC which

Re: [Qemu-devel] [PATCH v2] configure: remove duplicate test

2013-04-09 Thread Peter Maydell
On 9 April 2013 14:17, Paolo Bonzini pbonz...@redhat.com wrote: We already had a test to add -march=i486 when needed. Make the existing test independent of vhost-net, so that it is also used under Win32. Also move the test earlier to avoid mucking with QEMU_CFLAGS too late in the configure

Re: [Qemu-devel] [PATCH v4 07/11] qapi: Convert savevm

2013-04-09 Thread Markus Armbruster
Eric Blake ebl...@redhat.com writes: On 04/09/2013 10:04 AM, Markus Armbruster wrote: + +## +# @vm-snapshot-save: +# +# Create a snapshot of the whole virtual machine. If tag is provided as @name, +# it is used as human readable identifier. If there is already a snapshot +# with the

Re: [Qemu-devel] [RFC PATCH 1/6] adlib: qdev-ify

2013-04-09 Thread Andreas Färber
Am 02.04.2013 16:50, schrieb Paolo Bonzini: Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- hw/adlib.c | 82 -- 1 file changed, 64 insertions(+), 18 deletions(-) diff --git a/hw/adlib.c b/hw/adlib.c index e6bce59..ca47b55

Re: [Qemu-devel] [RFC PATCH RDMA support v5: 07/12] additional savevm.c accessors for RDMA

2013-04-09 Thread Peter Maydell
On 9 April 2013 04:04, mrhi...@linux.vnet.ibm.com wrote: From: Michael R. Hines mrhi...@us.ibm.com 1. qemu_file_ops_are() 2. qemu_file_update_position()(for f-pos) Also need to be here: rdma_read_ops rdma_write_ops Do you think you could try to expand on your commit messages a bit?

Re: [Qemu-devel] [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag

2013-04-09 Thread Michael S. Tsirkin
On Fri, Apr 05, 2013 at 04:54:39PM -0400, Michael R. Hines wrote: To be more specific, here's what I did: 1. apply kernel module patch - re-insert module 1. QEMU does: ibv_reg_mr(IBV_ACCESS_GIFT | IBV_ACCESS_REMOTE_READ) 2. Start the RDMA migration 3. Migration completes without any

Re: [Qemu-devel] [PATCH 01/22] target-i386: consolidate error propagation in x86_cpu_realizefn()

2013-04-09 Thread Andreas Färber
Am 05.04.2013 16:36, schrieb Igor Mammedov: Signed-off-by: Igor Mammedov imamm...@redhat.com Reviewed-by: Paolo Bonzini pbonz...@redhat.com Reviewed-by: Eduardo Habkost ehabk...@redhat.com Thanks, applied to qom-cpu: https://github.com/afaerber/qemu-cpu/commits/qom-cpu Andreas -- SUSE LINUX

[Qemu-devel] latest master: major slowdown (something spinning?)

2013-04-09 Thread Michael R. Hines
*Here's the commit that causes the problem:* $ git checkout d185c094b404b4ff392b77d1244c0233da7d53bd qemu-char: eliminate busy waiting on can_read returning zero *Symptoms:* When the VM boots everything crawls and the host CPU is at 100%, messages are printing extremely slowly on the VM

Re: [Qemu-devel] [PATCH v4 07/11] qapi: Convert savevm

2013-04-09 Thread Eric Blake
On 04/09/2013 11:23 AM, Markus Armbruster wrote: If we mandate that a tag always be supplied, then we cannot create qcow2 files with a snapshot that lacks a tag using just QMP; but even if we do Are you sure you can do that with the proposed patches? If I read them correctly, we make up a

Re: [Qemu-devel] [PATCH] main-loop: drop the BQL if the I/O appears to be spinning

2013-04-09 Thread Andreas Färber
Am 08.04.2013 23:55, schrieb Anthony Liguori: Applied. Thanks. I am seeing main-loop: WARNING: I/O thread spun for 1000 iterations for both check-qtest-i386 and check-qtest-x86_64 now, is that expected? PMM just recently cleaned up the noisy arm qtest target... :( Andreas -- SUSE LINUX

Re: [Qemu-devel] [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag

2013-04-09 Thread Michael R. Hines
On 04/09/2013 12:39 PM, Michael S. Tsirkin wrote: On Fri, Apr 05, 2013 at 04:54:39PM -0400, Michael R. Hines wrote: To be more specific, here's what I did: 1. apply kernel module patch - re-insert module 1. QEMU does: ibv_reg_mr(IBV_ACCESS_GIFT | IBV_ACCESS_REMOTE_READ) 2. Start the

Re: [Qemu-devel] [RFC PATCH RDMA support v5: 07/12] additional savevm.c accessors for RDMA

2013-04-09 Thread Michael R. Hines
On 04/09/2013 01:31 PM, Peter Maydell wrote: On 9 April 2013 04:04, mrhi...@linux.vnet.ibm.com wrote: From: Michael R. Hines mrhi...@us.ibm.com 1. qemu_file_ops_are() 2. qemu_file_update_position()(for f-pos) Also need to be here: rdma_read_ops rdma_write_ops My apologies. will do

Re: [Qemu-devel] [RFC PATCH RDMA support v5: 01/12] ./configure with and without --enable-rdma

2013-04-09 Thread Michael R. Hines
Thanks for all the comments.. will implement.. On 04/09/2013 01:05 PM, Paolo Bonzini wrote: Il 09/04/2013 05:04, mrhi...@linux.vnet.ibm.com ha scritto: +if test $rdma = yes ; then + cat $TMPC EOF +#include rdma/rdma_cma.h +int main(void) { return 0; } +EOF + rdma_libs=-lrdmacm

Re: [Qemu-devel] RFC: vfio API changes needed for powerpc (v3)

2013-04-09 Thread Bhushan Bharat-R65777
So now the sequence would be something like: 1)VFIO_GROUP_SET_CONTAINER // add groups to the container 2)VFIO_SET_IOMMU(VFIO_FSL_PAMU)// set iommu model 3)count = VFIO_IOMMU_GET_MSI_BANK_COUNT// returns max # of MSI banks 4)

Re: [Qemu-devel] Virtualbox svga card in KVM

2013-04-09 Thread Sriram Murthy
Hi, Personally, I think that the connection between VirtualBox and QEMU is very unidirectional if there is any... So code-wise our focus should rather be to avoid code copies/divergence within our tree and to share code with existing in-tree devices, especially if you are not paid to

Re: [Qemu-devel] [PATCH] main-loop: drop the BQL if the I/O appears to be spinning

2013-04-09 Thread Anthony Liguori
Andreas Färber afaer...@suse.de writes: Am 08.04.2013 23:55, schrieb Anthony Liguori: Applied. Thanks. I am seeing main-loop: WARNING: I/O thread spun for 1000 iterations for both check-qtest-i386 and check-qtest-x86_64 now, is that expected? PMM just recently cleaned up the noisy arm

Re: [Qemu-devel] [PATCH 02/22] target-i386: split APIC creation from initialization in x86_cpu_realizefn()

2013-04-09 Thread Andreas Färber
Am 05.04.2013 16:36, schrieb Igor Mammedov: When APIC is hotplugged during CPU hotplug, device_set_realized() calls device_reset() on it. And if QEMU runs in KVM mode, following call chain will fail: apic_reset_common() - kvm_apic_vapic_base_update() -

Re: [Qemu-devel] [PATCH] virtio-9p: Fix virtio-9p no longer building after hw-dirs branch merge

2013-04-09 Thread Anthony Liguori
Paolo Bonzini pbonz...@redhat.com writes: Il 09/04/2013 10:22, Hans de Goede ha scritto: Signed-off-by: Hans de Goede hdego...@redhat.com Cc: Paolo Bonzini pbonz...@redhat.com --- hw/9pfs/virtio-9p-device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion Ouch, /me installs

Re: [Qemu-devel] [PATCH v3] hw/i386/pc: prompt not multboot or morden kernel image

2013-04-09 Thread Jesse Larrew
On 04/09/2013 12:05 AM, li guang wrote: 在 2013-04-08一的 23:36 -0500,Jesse Larrew写道: On 04/08/2013 09:27 PM, liguang wrote: if head magic is missing or wrong unexpectedly, we'd better to prompt memssage for this. e.g. I make a mistake to boot a vmlinuz for MIPS(which I think it's for x86)

Re: [Qemu-devel] [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag

2013-04-09 Thread Michael S. Tsirkin
On Tue, Apr 09, 2013 at 01:56:00PM -0400, Michael R. Hines wrote: On 04/09/2013 12:39 PM, Michael S. Tsirkin wrote: On Fri, Apr 05, 2013 at 04:54:39PM -0400, Michael R. Hines wrote: To be more specific, here's what I did: 1. apply kernel module patch - re-insert module 1. QEMU does:

Re: [Qemu-devel] [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag

2013-04-09 Thread Michael S. Tsirkin
presumably is_dup_page reads the page, so should not break COW ... I'm not sure about the cgroups swap limit - you might have too many non COW pages so attempting to fault them all in makes you exceed the limit. You really should look at what is going on in the pagemap, to see if there's

Re: [Qemu-devel] [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag

2013-04-09 Thread Michael S. Tsirkin
On Fri, Apr 05, 2013 at 02:03:33PM -0700, Roland Dreier wrote: On Fri, Apr 5, 2013 at 1:51 PM, Michael R. Hines mrhi...@linux.vnet.ibm.com wrote: Sorry, I was wrong. ignore the comments about cgroups. That's still broken. (i.e. trying to register RDMA memory while using a cgroup swap limit

Re: [Qemu-devel] [RFC 0/8] block: Live backup prototype

2013-04-09 Thread zhangleiqiang
Hi, Stefan, Dietmar, Is there already a plan to support the differential or incremental backups in this Live backup feature? -- leiqzhang Best regards

[Qemu-devel] How to setup qemu as a server with different subdomain on a host server?

2013-04-09 Thread Allen Choong
I am trying to solve a problem, with a Linux server work as host, while qemu guest will have another server intended for subdomain. I tried to make the host to access the guest server. And I read that this can be done through bridge. But I am concerning that the bridge only works with

Re: [Qemu-devel] [PATCH 2/2] qemu-timer: move timeBeginPeriod/timeEndPeriod to os-win32

2013-04-09 Thread Stefan Weil
Am 09.04.2013 18:21, schrieb Paolo Bonzini: Il 20/02/2013 14:43, Paolo Bonzini ha scritto: These are needed for any of the Win32 alarm timer implementations. They are not tied to mmtimer exclusively. Jacob tested this patch with both mmtimer and Win32 timers. Cc: qemu-sta...@nongnu.org

Re: [Qemu-devel] [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag

2013-04-09 Thread Michael S. Tsirkin
On Fri, Apr 05, 2013 at 01:43:49PM -0700, Roland Dreier wrote: On Fri, Apr 5, 2013 at 1:17 PM, Michael R. Hines mrhi...@linux.vnet.ibm.com wrote: I also removed the IBV_*_WRITE flags on the sender-side and activated cgroups with the memory.memsw.limit_in_bytes activated and the migration

Re: [Qemu-devel] [PATCH] virtio-9p: Fix virtio-9p no longer building after hw-dirs branch merge

2013-04-09 Thread KONRAD Frédéric
On 09/04/2013 21:13, Anthony Liguori wrote: Paolo Bonzini pbonz...@redhat.com writes: Il 09/04/2013 10:22, Hans de Goede ha scritto: Signed-off-by: Hans de Goede hdego...@redhat.com Cc: Paolo Bonzini pbonz...@redhat.com --- hw/9pfs/virtio-9p-device.c | 2 +- 1 file changed, 1 insertion(+),

Re: [Qemu-devel] [PATCH 22/22] add cpu-add qmp command and implement CPU hot-add for target-i386

2013-04-09 Thread Eduardo Habkost
On Tue, Apr 09, 2013 at 10:19:11PM +0200, Igor Mammedov wrote: On Fri, 5 Apr 2013 14:10:54 -0300 Eduardo Habkost ehabk...@redhat.com wrote: On Fri, Apr 05, 2013 at 04:37:16PM +0200, Igor Mammedov wrote: [...] diff --git a/qapi-schema.json b/qapi-schema.json index db542f6..a760ed5

Re: [Qemu-devel] [PATCH] virtio-9p: Fix virtio-9p no longer building after hw-dirs branch merge

2013-04-09 Thread Anthony Liguori
KONRAD Frédéric fred.kon...@greensocs.com writes: On 09/04/2013 21:13, Anthony Liguori wrote: Paolo Bonzini pbonz...@redhat.com writes: Il 09/04/2013 10:22, Hans de Goede ha scritto: Signed-off-by: Hans de Goede hdego...@redhat.com Cc: Paolo Bonzini pbonz...@redhat.com ---

Re: [Qemu-devel] [PATCH 22/22] add cpu-add qmp command and implement CPU hot-add for target-i386

2013-04-09 Thread Igor Mammedov
On Fri, 5 Apr 2013 14:10:54 -0300 Eduardo Habkost ehabk...@redhat.com wrote: On Fri, Apr 05, 2013 at 04:37:16PM +0200, Igor Mammedov wrote: [...] diff --git a/qapi-schema.json b/qapi-schema.json index db542f6..a760ed5 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -1387,6

[Qemu-devel] [Bug 1166954] [NEW] Error compiling qemu due to missing

2013-04-09 Thread Jacek Burghardt
Public bug reported: I am attempting to compile master qemu-git it fails to compile because virtio-9p-device.c includes #include virtio-9p-device.h that is missing ** Affects: qemu Importance: Undecided Status: New -- You received this bug notification because you are a member of

[Qemu-devel] [Bug 1163034] Re: gnutls28 fails to build from source in armhf

2013-04-09 Thread Serge Hallyn
** No longer affects: gnutls28 (Ubuntu) ** Also affects: qemu Importance: Undecided Status: New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1163034 Title: gnutls28 fails to build from

Re: [Qemu-devel] [PATCH 22/22] add cpu-add qmp command and implement CPU hot-add for target-i386

2013-04-09 Thread Igor Mammedov
On Tue, 9 Apr 2013 17:46:21 -0300 Eduardo Habkost ehabk...@redhat.com wrote: On Tue, Apr 09, 2013 at 10:19:11PM +0200, Igor Mammedov wrote: On Fri, 5 Apr 2013 14:10:54 -0300 Eduardo Habkost ehabk...@redhat.com wrote: On Fri, Apr 05, 2013 at 04:37:16PM +0200, Igor Mammedov wrote:

[Qemu-devel] [Bug 1166954] Re: Error compiling qemu due to missing

2013-04-09 Thread Peter Maydell
This has already been fixed in git (commit 93b48c2) -- please try updating your tree. ** Changed in: qemu Status: New = Fix Committed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1166954

Re: [Qemu-devel] [PATCH] virtio-9p: Fix virtio-9p no longer building after hw-dirs branch merge

2013-04-09 Thread KONRAD Frédéric
On 09/04/2013 22:57, Anthony Liguori wrote: KONRAD Frédéric fred.kon...@greensocs.com writes: On 09/04/2013 21:13, Anthony Liguori wrote: Paolo Bonzini pbonz...@redhat.com writes: Il 09/04/2013 10:22, Hans de Goede ha scritto: Signed-off-by: Hans de Goede hdego...@redhat.com Cc: Paolo

Re: [Qemu-devel] [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag

2013-04-09 Thread Michael S. Tsirkin
On Fri, Apr 05, 2013 at 04:17:36PM -0400, Michael R. Hines wrote: The userland part of the patch was missing (IBV_ACCESS_GIFT). I added flag that to /usr/include in addition to this patch and did a test RDMA migrate and it seems to work without any problems. I also removed the IBV_*_WRITE

Re: [Qemu-devel] [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag

2013-04-09 Thread Michael S. Tsirkin
On Tue, Apr 09, 2013 at 11:34:09PM +0300, Michael S. Tsirkin wrote: On Fri, Apr 05, 2013 at 04:17:36PM -0400, Michael R. Hines wrote: The userland part of the patch was missing (IBV_ACCESS_GIFT). I added flag that to /usr/include in addition to this patch and did a test RDMA migrate and

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-09 Thread Alex Williamson
On Tue, 2013-04-09 at 11:18 -0600, Alex Williamson wrote: On Tue, 2013-04-09 at 08:22 -0400, de...@lavabit.com wrote: Hi! I've tried passing through my ASUS Radeon HD7750, but qemu just hogs 100% of one core and stops. Since the display didn't light up, I couldn't see how far Win 7

[Qemu-devel] [Bug 1163034] Re: gnutls28 fails to build from source in armhf

2013-04-09 Thread Peter Maydell
Actually, assuming the guest ARM glibc doesn't have the printf() bug the code is testing for, we shouldn't take the SIGSEGV anyway, so that's a red herring. The actual problem here is the setrlimit(). The conftest.c test case works by using rlimit to limit the address space. This generally

[Qemu-devel] [PATCH] i.MX: implement a more correct version of EPIT timer.

2013-04-09 Thread Jean-Christophe DUBOIS
This patch is providing a complete version of the EPIT timer. Note, however that the GPT timer in the same file is still not complete. Signed-off-by: Jean-Christophe DUBOIS j...@tribudubois.net --- hw/timer/imx_timer.c | 250 ++ 1 file changed,

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-09 Thread deniv
Here's debug output from qemu, the last lines repeat indefinitely: vfio: vfio_initfn(:01:00.0) group 1 vfio: region_add 0 - 7fff [0x7f605fe0] vfio: SKIPPING region_add fec0 - fec00fff vfio: SKIPPING region_add fed0 - fed003ff vfio: SKIPPING region_add fee0 - feef vfio:

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-09 Thread Alex Williamson
On Tue, 2013-04-09 at 18:33 -0400, de...@lavabit.com wrote: Here's debug output from qemu, the last lines repeat indefinitely: vfio: vfio_initfn(:01:00.0) group 1 vfio: region_add 0 - 7fff [0x7f605fe0] vfio: SKIPPING region_add fec0 - fec00fff vfio: SKIPPING region_add

Re: [Qemu-devel] [PATCH] i.MX: implement a more correct version of EPIT timer.

2013-04-09 Thread Peter Chubb
This patch is providing a complete version of the EPIT timer. Note, however that the GPT timer in the same file is still not complete. Thanks! Comments in=line below. @@ -411,7 +441,7 @@ static int imx_timerg_init(SysBusDevice *dev) #define CR_SWR (1 16) #define CR_IOVW (1

Re: [Qemu-devel] VFIO-VGA Issue

2013-04-09 Thread deniv
On Tue, 2013-04-09 at 18:33 -0400, de...@lavabit.com wrote: Here's debug output from qemu, the last lines repeat indefinitely: vfio: vfio_initfn(:01:00.0) group 1 vfio: region_add 0 - 7fff [0x7f605fe0] vfio: SKIPPING region_add fec0 - fec00fff vfio: SKIPPING region_add

[Qemu-devel] [PATCH v3 2/2] rbd: link and load librbd dynamically

2013-04-09 Thread Josh Durgin
This allows the rbd block driver to detect symbols in the installed version of librbd, and enable or disable features appropriately. This obviates the #ifdefs regarding librbd versions. Loading librbd dynamically also makes the rbd block driver easier to install and package, since it removes the

Re: [Qemu-devel] [PATCH][RFC v2 3/7] vl: create power chip device

2013-04-09 Thread li guang
在 2013-04-09二的 13:06 +0200,Paolo Bonzini写道: Il 09/04/2013 10:26, li guang ha scritto: qemu_system_suspend_request, qemu_register_suspend_notifier for S0-S3 qemu_system_wakeup_request, qemu_register_wakeup_notifier for S3-S0 qemu_system_powerdown_request,

Re: [Qemu-devel] [PATCH 08/22] target-i386: ioapic: replace FROM_SYSBUS() with QOM type cast

2013-04-09 Thread li guang
在 2013-04-09二的 13:36 +0200,Paolo Bonzini写道: Il 08/04/2013 13:32, Igor Mammedov ha scritto: This patch should be combined with [PATCH 07/22] 在 2013-04-05五的 16:37 +0200,Igor Mammedov写道: Signed-off-by: Igor Mammedov imamm...@redhat.com --- hw/ioapic_common.c | 2 +- 1

Re: [Qemu-devel] [PATCH] translate: optimize gen_intermediate_code_internal

2013-04-09 Thread li guang
在 2013-04-09二的 10:08 +0100,Peter Maydell写道: On 9 April 2013 09:21, li guang lig.f...@cn.fujitsu.com wrote: 在 2013-04-09二的 10:11 +0200,Paolo Bonzini写道: Il 09/04/2013 10:05, 陳韋任 (Wei-Ren Chen) ha scritto: Hi liguang, Just to be curious, how much performance improvement this patch can

Re: [Qemu-devel] [SeaBIOS] [PATCH v16] Add pvpanic device driver

2013-04-09 Thread Kevin O'Connor
On Tue, Apr 02, 2013 at 12:07:46PM +0300, Gleb Natapov wrote: On Mon, Apr 01, 2013 at 08:22:57PM -0400, Kevin O'Connor wrote: On Sun, Mar 31, 2013 at 05:34:10PM +0300, Gleb Natapov wrote: On Sat, Mar 30, 2013 at 09:20:09AM -0400, Kevin O'Connor wrote: The patch uses existing channel

Re: [Qemu-devel] [RFC PATCH RDMA support v5: 08/12] new capabilities added and check for QMP string 'rdma'

2013-04-09 Thread Michael R. Hines
Actually, this capability needs to be a part of the same patch. RDMA must have the ability to turn this off or performance will die. Similarly dynamic chunk registration on the server depends on having the ability to turn this on, or you cannot get the advantages of dynamic registration. -

Re: [Qemu-devel] [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag

2013-04-09 Thread Michael R. Hines
With respect, I'm going to offload testing this patch back to the author =) because I'm trying to address all of Paolo's other minor issues with the RDMA patch before we can merge. Since dynamic page registration (as you requested) is now fully implemented, this patch is less urgent since we now

Re: [Qemu-devel] [PATCH] fix compile error

2013-04-09 Thread Dong Xu Wang
On 2013/4/9 18:50, Dong Xu Wang wrote: Since 0d09e41a51aa0752b1ce525ce084f7cd210e461b virtio-9p-device.h has been renamed as virtio-9p.h, so there will be a compiling error. This patch will fix it. Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com --- hw/9pfs/virtio-9p-device.c | 2 +-

Re: [Qemu-devel] [PATCH] translate: optimize gen_intermediate_code_internal

2013-04-09 Thread Wei-Ren Chen
Hi liguang, OK, thanks! but, please make no mistake, I'm not saying this patch promote performance of TCG, this just optimize code writing of this function, of course code writing is not deemed to promote its performance. or, we shouldn't do any code change if they benefit little in

Re: [Qemu-devel] [PATCH] translate: optimize gen_intermediate_code_internal

2013-04-09 Thread li guang
在 2013-04-10三的 10:31 +0800,陳韋任 (Wei-Ren Chen)写道: Hi liguang, OK, thanks! but, please make no mistake, I'm not saying this patch promote performance of TCG, this just optimize code writing of this function, of course code writing is not deemed to promote its performance. or, we

[Qemu-devel] GSoC 2013, Introduce API to query IP addresses for given domain Libvirt project

2013-04-09 Thread Tabibel Sami
Hello, I am doing master degree of Cryptology and information security I have good C and Python skills, and i am interested to work on Introduce API to query IP addresses for given domain Libvirt project. I am looking for any comment about the difficulty and the content of the project, and also

Re: [Qemu-devel] [PATCH] translate: optimize gen_intermediate_code_internal

2013-04-09 Thread Wei-Ren Chen
you're right, seems the word 'optimize' is not good here. but what should I use? you know, even compiler like gcc will use -O for code optimization. translate: code cleanup in gen_intermediate_code_internal would be better, I think. :) Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer

[Qemu-devel] [PATCH] Fix failure to create q35 machine

2013-04-09 Thread Hu Tao
This is a regression introduced by c0907c9e6417c. -M q35 to reproduce the problem. Signed-off-by: Hu Tao hu...@cn.fujitsu.com --- default-configs/i386-softmmu.mak | 2 +- default-configs/x86_64-softmmu.mak | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [Qemu-devel] GSoC 2013, Introduce API to query IP addresses for given domain Libvirt project

2013-04-09 Thread Wei-Ren Chen
On Wed, Apr 10, 2013 at 04:46:45AM +0200, Tabibel Sami wrote: Hello, I am doing master degree of Cryptology and information security I have good C and Python skills, and i am interested to work on Introduce API to query IP addresses for given domain Libvirt project. I am looking for any

Re: [Qemu-devel] [PATCH] translate: optimize gen_intermediate_code_internal

2013-04-09 Thread li guang
在 2013-04-10三的 10:58 +0800,陳韋任 (Wei-Ren Chen)写道: you're right, seems the word 'optimize' is not good here. but what should I use? you know, even compiler like gcc will use -O for code optimization. translate: code cleanup in gen_intermediate_code_internal would be better, I think. :)

Re: [Qemu-devel] latest version qemu compile error

2013-04-09 Thread Zhanghaoyu (A)
I compile the QEMU source download from qemu.git (http://git.qemu.org/git/qemu.git) on 4-9-2013, errors reported as below, hw/virtio/dataplane/vring.c: In function 'vring_enable_notification': hw/virtio/dataplane/vring.c:72: warning: implicit declaration of function

[Qemu-devel] [PATCH] translate: cleanup gen_intermediate_code_internal

2013-04-09 Thread liguang
Signed-off-by: liguang lig.f...@cn.fujitsu.com --- target-arm/translate.c | 17 - target-i386/translate.c | 17 - target-mips/translate.c | 16 3 files changed, 24 insertions(+), 26 deletions(-) diff --git a/target-arm/translate.c

[Qemu-devel] [PATCH v18 0/7] Add pvpanic device to deal with guest panic event

2013-04-09 Thread Hu Tao
This series introduces a new simulated device, pvpanic, to notify qemu when guest panic event happens. Along with this series, there are two patches to add seabios ACPI driver and kernel ACPI driver for the device, respectively. Tested with: - qemu(kvm)/qemu(tcg) - qemu piix/q35 - default

[Qemu-devel] [PATCH v18 2/7] add a new qevent: QEVENT_GUEST_PANICKED

2013-04-09 Thread Hu Tao
This event will be emited when qemu detects guest panic. Signed-off-by: Wen Congyang we...@cn.fujitsu.com Signed-off-by: Hu Tao hu...@cn.fujitsu.com --- QMP/qmp-events.txt| 14 ++ include/monitor/monitor.h | 1 + monitor.c | 1 + 3 files changed, 16

[Qemu-devel] [PATCH v18 7/7] Wire up disabled wait a panicked event on s390

2013-04-09 Thread Hu Tao
From: Christian Borntraeger borntrae...@de.ibm.com On s390 the disabled wait state indicates a state of attention. For example Linux uses that state after a panic. Lets put the system into panicked state. An alternative implementation would be to state disabled-wait address instead of pause in

[Qemu-devel] [PATCH v18 3/7] introduce a new qom device to deal with panicked event

2013-04-09 Thread Hu Tao
pvpanic device is used to send guest panic event from guest to qemu. When guest panic happens, pvpanic device driver will write a event number to IO port 0x505(which is the IO port occupied by pvpanic device, by default). On receiving the event, pvpanic device will pause guest cpu(s), and send a

[Qemu-devel] [PATCH v18 5/7] pvpanic: add document of pvpanic

2013-04-09 Thread Hu Tao
Signed-off-by: Hu Tao hu...@cn.fujitsu.com --- docs/specs/pvpanic.txt | 37 + 1 file changed, 37 insertions(+) create mode 100644 docs/specs/pvpanic.txt diff --git a/docs/specs/pvpanic.txt b/docs/specs/pvpanic.txt new file mode 100644 index 000..d72d667

[Qemu-devel] [PATCH v18 4/7] pvpanic: pass configurable ioport to seabios

2013-04-09 Thread Hu Tao
This lets seabios patch the corresponding SSDT entry. Signed-off-by: Hu Tao hu...@cn.fujitsu.com --- hw/misc/pvpanic.c | 14 ++ hw/nvram/fw_cfg.c | 8 +++- include/hw/nvram/fw_cfg.h | 2 ++ 3 files changed, 23 insertions(+), 1 deletion(-) diff --git

[Qemu-devel] [PATCH v18 6/7] pvpanic: create pvpanic by default for machine 1.5

2013-04-09 Thread Hu Tao
Signed-off-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Hu Tao hu...@cn.fujitsu.com --- hw/i386/pc_piix.c| 16 ++-- hw/i386/pc_q35.c | 15 ++- hw/misc/pvpanic.c| 7 +++ include/hw/i386/pc.h | 3 +++ 4 files changed, 38 insertions(+), 3

[Qemu-devel] [PATCH v18 1/7] add a new runstate: RUN_STATE_GUEST_PANICKED

2013-04-09 Thread Hu Tao
The guest will be in this state when it is panicked. Signed-off-by: Wen Congyang we...@cn.fujitsu.com Signed-off-by: Hu Tao hu...@cn.fujitsu.com --- include/sysemu/sysemu.h | 1 + qapi-schema.json| 5 - qmp.c | 3 +-- vl.c| 13 +++-- 4

Re: [Qemu-devel] latest version qemu compile error

2013-04-09 Thread Bruce Rogers
On 4/9/2013 at 09:24 PM, Zhanghaoyu (A) haoyu.zh...@huawei.com wrote: I compile the QEMU source download from qemu.git (http://git.qemu.org/git/qemu.git) on 4-9-2013, errors reported as below, hw/virtio/dataplane/vring.c: In function 'vring_enable_notification':

Re: [Qemu-devel] [PATCHv2] rdma: add a new IB_ACCESS_GIFT flag

2013-04-09 Thread Michael S. Tsirkin
On Tue, Apr 09, 2013 at 09:26:59PM -0400, Michael R. Hines wrote: With respect, I'm going to offload testing this patch back to the author =) because I'm trying to address all of Paolo's other minor issues with the RDMA patch before we can merge. Fair enough, this likely means it won't happen

[Qemu-devel] [RFC PATCH RDMA support v6: 1/7] ./configure and Makefile

2013-04-09 Thread mrhines
From: Michael R. Hines mrhi...@us.ibm.com RDMA is enabled by default per the usual ./configure testing. Only one new file is added in the patch now (migration-rdma.c), which is conditionalized by CONFIG_RDMA. Signed-off-by: Michael R. Hines mrhi...@us.ibm.com --- Makefile.objs |1 +

<    1   2   3   4   >