Re: [Qemu-devel] [PATCH] ivshmem: fix guest unable to start with ioeventfd

2011-12-02 Thread Cam Macdonell
2011/11/30 Cam Macdonell c...@cs.ualberta.ca: 2011/11/30 Zang Hongyong zanghongy...@huawei.com: Can this bug fix patch be applied yet? Sorry, for not replying yet. I'll test your patch within the next day. Have you confirmed the proper receipt of interrupts in the receiving guests? I can

Re: [Qemu-devel] [PATCH] qed: add qed-tool.py image manipulation utility

2011-12-02 Thread Kevin Wolf
Am 01.12.2011 18:00, schrieb Stefan Hajnoczi: The qed-tool.py utility can inspect and manipulate QED image files. It can be used for testing to see the state of image metadata and also to inject corruptions into the image file. It also has a scrubbing feature to copy just the metadata out of

[Qemu-devel] [PATCH] Convert source files to UTF-8 encoding

2011-12-02 Thread Stefan Weil
Most QEMU files either are pure ASCII or use UTF-8. Convert some files which still used ISO-8859-1 to UTF-8. Signed-off-by: Stefan Weil s...@weilnetz.de --- hw/ds1225y.c |2 +- hw/fdc.c |2 +- hw/jazz_led.c |2 +- hw/tc6393xb_template.h |2 +-

Re: [Qemu-devel] [PATCH 01/18] qom: add new dynamic property infrastructure based on Visitors

2011-12-02 Thread Kevin Wolf
Am 02.12.2011 02:08, schrieb Anthony Liguori: On 12/01/2011 09:52 AM, Kevin Wolf wrote: Am 30.11.2011 22:03, schrieb Anthony Liguori: qdev properties are settable only during construction and static to classes. This isn't flexible enough for QOM. This patch introduces a property interface

Re: [Qemu-devel] [PATCH] qed: add qed-tool.py image manipulation utility

2011-12-02 Thread Stefan Hajnoczi
On Fri, Dec 2, 2011 at 9:15 AM, Kevin Wolf kw...@redhat.com wrote: Am 01.12.2011 18:00, schrieb Stefan Hajnoczi: The qed-tool.py utility can inspect and manipulate QED image files.  It can be used for testing to see the state of image metadata and also to inject corruptions into the image

Re: [Qemu-devel] [PATCH] qemu-nbd.c : fix memory leak

2011-12-02 Thread Stefan Hajnoczi
On Fri, Dec 02, 2011 at 08:48:50AM +0100, Paolo Bonzini wrote: On 12/02/2011 08:42 AM, Stefan Weil wrote: -if (sharing_fds[0] == -1) +if (sharing_fds[0] == -1) { +g_free(sharing_fds); return 1; +} if (device) { int ret; Zhihui, Kernel

Re: [Qemu-devel] [PATCH] qed: add qed-tool.py image manipulation utility

2011-12-02 Thread Kevin Wolf
Am 02.12.2011 11:23, schrieb Stefan Hajnoczi: On Fri, Dec 2, 2011 at 9:15 AM, Kevin Wolf kw...@redhat.com wrote: Am 01.12.2011 18:00, schrieb Stefan Hajnoczi: The qed-tool.py utility can inspect and manipulate QED image files. It can be used for testing to see the state of image metadata and

Re: [Qemu-devel] [PATCH] Convert source files to UTF-8 encoding

2011-12-02 Thread Peter Maydell
On 2 December 2011 09:30, Stefan Weil s...@weilnetz.de wrote: Most QEMU files either are pure ASCII or use UTF-8. Convert some files which still used ISO-8859-1 to UTF-8. Looks good. It looks like with these done there are only two more files which have non-UTF-8 in them:

Re: [Qemu-devel] [PATCH 06/18] qom: add child properties (composition)

2011-12-02 Thread Kevin Wolf
Am 30.11.2011 22:03, schrieb Anthony Liguori: Child properties express a relationship of composition. Signed-off-by: Anthony Liguori aligu...@us.ibm.com Do we have a flag or something that makes sure that a child is never removed without its parent? The code assumes that child stays valid as

Re: [Qemu-devel] [PATCH 07/18] qom: add link properties

2011-12-02 Thread Kevin Wolf
Am 30.11.2011 22:03, schrieb Anthony Liguori: Links represent an ephemeral relationship between devices. They are meant to replace the qdev concept of busses by allowing more informal relationships between devices. Links are fairly limited in their usefulness without implementing QOM-style

Re: [Qemu-devel] [PATCH 02/18] qom: register legacy properties as new style properties

2011-12-02 Thread Gerd Hoffmann
Hi, +prop-info-print(dev, prop, buffer, sizeof(buffer)); +visit_type_str(v,ptr, name, errp); I think you can look at prop-info-type here and do something more clever at least for the bool + integer properties. That might get a little tough because I want legacy types to

Re: [Qemu-devel] [PATCH 14/18] rtc: add a dynamic property for retrieving the date

2011-12-02 Thread Gerd Hoffmann
Hi, https://github.com/aliguori/qidl/ In your example: struct SomeDev { DeviceState _immutable dev; Chardev _immutable *chr; uint32_t reg1; uint32_t reg2; [ ... ] }; ... instead of the vmstate structs we create

Re: [Qemu-devel] Boot from disk problem

2011-12-02 Thread Ignacio Geli
El 01/12/11 07:29, Artyom Tarasenko escribi: On Sat, Nov 26, 2011 at 9:01 AM, Blue Swirl blauwir...@gmail.com wrote: On Fri, Nov 25, 2011 at 18:24, Ignacio Geli ig...@itecnis.com wrote: El 25/11/11 13:01, Andreas Frber escribi: Hi, Am

[Qemu-devel] [Bug 899140] [NEW] Problem with Linux Kernel Traffic Control

2011-12-02 Thread Vincent Autefage
Public bug reported: Hi, The two last main versions of QEMU (0.15 and 1.0) have an important problem when running on a Linux distribution which running itself a Traffic Control (TC) instance. Indeed, when TC is configured with a Token Bucket Filter (TBF) with a particular rate, the effective

[Qemu-devel] [Bug 899143] [NEW] Raw img not recognized by Windows

2011-12-02 Thread Vincent Autefage
Public bug reported: Hi, The installation process of Windows (XP/Vista/7) doesn’t seem to recognize a raw img generated by qemu-img. The installer does not see any hard drive... The problem exists only with a raw img but not with a vmdk for instance. Thanks ** Affects: qemu Importance:

[Qemu-devel] [Bug 899140] Re: Problem with Linux Kernel Traffic Control

2011-12-02 Thread Vincent Autefage
** Description changed: Hi, - The two last main versions of QEMU (0.15 and 1.0) have an important problem when running on a Linux distribution which running itself a Traffic Control (TC) instance. + The last main versions of QEMU (0.14.1, 0.15 and 1.0) have an important problem when

Re: [Qemu-devel] [PATCH 14/18] rtc: add a dynamic property for retrieving the date

2011-12-02 Thread Anthony Liguori
On 12/02/2011 06:35 AM, Gerd Hoffmann wrote: The readme has quite a lot of detail about the syntax. The parser is pretty complete already. https://github.com/aliguori/qidl/blob/master/qc.md Ah, nice. Any plans to support lists there, so it is possible to save the state of (multiple)

[Qemu-devel] Still build failure for qemu-1.0

2011-12-02 Thread erik . rull
Hi all, there was the promise to test the build failure from rc4 with the released version and that it should work. Its still present :-( please assist me here: CClibhw64/9pfs/coxattr.o CClibhw64/9pfs/virtio-9p-handle.o /home/erik/qemu-1.0/hw/9pfs/virtio-9p-handle.c: In function

Re: [Qemu-devel] [Qemu-trivial] [PATCH] configure: Pull linux-headers/asm symlink creation out of loop

2011-12-02 Thread Stefan Hajnoczi
On Wed, Nov 30, 2011 at 11:59:04AM +, Peter Maydell wrote: Pull the creation of the linux-headers/asm symlink out of the loop so we don't pointlessly delete and recreate it once for each target. Also move the setting of the includes variable up so that it is in the same place as the other

Re: [Qemu-devel] [PATCH] qed: add qed-tool.py image manipulation utility

2011-12-02 Thread Stefan Hajnoczi
On Fri, Dec 2, 2011 at 11:13 AM, Kevin Wolf kw...@redhat.com wrote: Am 02.12.2011 11:23, schrieb Stefan Hajnoczi: On Fri, Dec 2, 2011 at 9:15 AM, Kevin Wolf kw...@redhat.com wrote: Am 01.12.2011 18:00, schrieb Stefan Hajnoczi: The qed-tool.py utility can inspect and manipulate QED image files.

Re: [Qemu-devel] [Bug 899140] Re: Problem with Linux Kernel Traffic Control

2011-12-02 Thread Stefan Hajnoczi
Hi Vincent, Please give steps to reproduce the problem including the QEMU command-lines you used and what commands need to be run inside the guest and on the host. Stefan

Re: [Qemu-devel] [PATCH 14/18] rtc: add a dynamic property for retrieving the date

2011-12-02 Thread Gerd Hoffmann
On 12/02/11 14:20, Anthony Liguori wrote: On 12/02/2011 06:35 AM, Gerd Hoffmann wrote: The readme has quite a lot of detail about the syntax. The parser is pretty complete already. https://github.com/aliguori/qidl/blob/master/qc.md Ah, nice. Any plans to support lists there, so it is

Re: [Qemu-devel] [Bug 899143] [NEW] Raw img not recognized by Windows

2011-12-02 Thread Stefan Hajnoczi
On Fri, Dec 2, 2011 at 1:00 PM, Vincent Autefage 899...@bugs.launchpad.net wrote: The installation process of Windows (XP/Vista/7) doesn’t seem to recognize a raw img generated by qemu-img. The installer does not see any hard drive... The problem exists only with a raw img but not with a

[Qemu-devel] [PATCH 02/15] qxl: Don't convert from size_t to int and back in qxl_cursor()

2011-12-02 Thread Stefan Hajnoczi
From: Markus Armbruster arm...@redhat.com Just for cleanliness; it would take a truly gigantic cursor to break. Signed-off-by: Markus Armbruster arm...@redhat.com Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- hw/qxl-render.c |2 +- 1 files changed, 1 insertions(+), 1

[Qemu-devel] [PATCH 03/15] MAINTAINERS: Delete spurious '.'

2011-12-02 Thread Stefan Hajnoczi
From: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- MAINTAINERS |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 06df70c..e22bfa1

[Qemu-devel] [PATCH 01/15] sonic: fix typo

2011-12-02 Thread Stefan Hajnoczi
From: Hervé Poussineau hpous...@reactos.org Reviewed-by: Andreas Färber afaer...@suse.de Signed-off-by: Hervé Poussineau hpous...@reactos.org Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- hw/dp8393x.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[Qemu-devel] [PULL 00/15] Trivial patches for 24 November to 2 December 2011

2011-12-02 Thread Stefan Hajnoczi
First post-1.0 trivial-patches pull request. We should get through the backlog within 2 weeks. The following changes since commit 1c8a881daaca6fe0646a425b0970fb3ad25f6732: Update version for 1.0 release (2011-12-01 14:04:21 -0600) are available in the git repository at:

[Qemu-devel] [PATCH 04/15] darwin-user: Fix format string in debug message

2011-12-02 Thread Stefan Hajnoczi
From: Stefan Weil s...@weilnetz.de This was spotted by cppcheck. Reviewed-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Stefan Weil s...@weilnetz.de Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- darwin-user/signal.c |3 +-- 1 files changed, 1 insertions(+), 2

[Qemu-devel] [PATCH 05/15] fix spelling in darwin-user sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- darwin-user/machload.c |6 +++--- darwin-user/main.c |2 +- darwin-user/syscall.c |2 +- 3 files changed, 5

[Qemu-devel] [PATCH 07/15] fix spelling in libcacard sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- libcacard/card_7816.c |4 ++-- libcacard/card_7816.h |2 +- libcacard/vcard_emul_nss.c |2 +-

[Qemu-devel] [PATCH 06/15] fix spelling in linux-user sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Cc: Riku Voipio riku.voi...@iki.fi Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- linux-user/elfload.c |2 +- linux-user/flatload.c |2 +- linux-user/main.c

[Qemu-devel] [PATCH 13/15] fix spelling in ui sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Cc: Anthony Liguori aligu...@us.ibm.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- ui/vnc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[Qemu-devel] [PATCH 14/15] fix spelling in block sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Cc: Kevin Wolf kw...@redhat.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- block/cow.c |2 +- block/qcow2.c |4 ++-- block/raw-posix.c |4 ++-- 3 files

[Qemu-devel] [PATCH 08/15] fix spelling in QMP sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Cc: Markus Armbruster arm...@redhat.com Acked-by: Luiz Capitulino lcapitul...@redhat.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- QMP/qmp-events.txt |2 +- 1 files

[Qemu-devel] [PATCH 12/15] fix spelling in tests sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- tests/cris/check_glibc_kernelversion.c |2 +- tests/cris/check_moveq.c |4 ++-- 2 files changed, 3

[Qemu-devel] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Gerd Hoffmann
Hi, $subject says all. The error message is: error: internal error cannot parse /home/kraxel/bin/qemu-default version number in 'QEMU emulator version 1.0, Copyright (c) 2003-2008 Fabrice Bellard' cheers, Gerd PS: libvirt-0.9.4-23.el6.x86_64

[Qemu-devel] [PATCH 11/15] fix spelling in tcg sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- tcg/tcg.c |2 +- tcg/tcg.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tcg/tcg.c b/tcg/tcg.c index

[Qemu-devel] [PATCH 15/15] fix spelling in main directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- arm-dis.c |6 +++--- cpu-all.h |2 +- cpu-common.h |2 +- cpus.c |2 +- exec-memory.h |2 +-

[Qemu-devel] [PATCH 10/15] fix spelling in target sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Cc: Richard Henderson r...@twiddle.net Cc: Edgar E. Iglesias edgar.igles...@gmail.com Cc: Aurelien Jarno aurel...@aurel32.net Cc: Alexander Graf ag...@suse.de Cc: Aurelien Jarno aurel...@aurel32.net Cc: Blue Swirl blauwir...@gmail.com Signed-off-by:

[Qemu-devel] [PATCH 09/15] fix spelling in scripts sub directory

2011-12-02 Thread Stefan Hajnoczi
From: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Dong Xu Wang wdon...@linux.vnet.ibm.com Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- scripts/checkpatch.pl |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/checkpatch.pl

Re: [Qemu-devel] [PATCH 10/15] fix spelling in target sub directory

2011-12-02 Thread Alexander Graf
On 02.12.2011, at 14:50, Stefan Hajnoczi wrote: From: Dong Xu Wang wdon...@linux.vnet.ibm.com Cc: Richard Henderson r...@twiddle.net Cc: Edgar E. Iglesias edgar.igles...@gmail.com Cc: Aurelien Jarno aurel...@aurel32.net Cc: Alexander Graf ag...@suse.de Cc: Aurelien Jarno

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-12-02 Thread Stuart Yoder
On Thu, Dec 1, 2011 at 3:25 PM, Alex Williamson alex.william...@redhat.com wrote: On Thu, 2011-12-01 at 14:58 -0600, Stuart Yoder wrote: One other mechanism we need as well is the ability to enable/disable a domain. For example-- suppose a device is assigned to a VM, the device is in use

[Qemu-devel] sub-page-sized mmio regions and address passed to read/write fns

2011-12-02 Thread Peter Maydell
Hi; I was working on a refactoring of the ARM 11MPCore/A9MP private peripherals and encountered something odd. Rather than having a single large mmio region, I tried splitting into several regions, like this: memory_region_init(s-container, a9mp-priv-container, 0x2000);

Re: [Qemu-devel] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Anthony Liguori
On 12/02/2011 08:21 AM, Gerd Hoffmann wrote: Hi, $subject says all. The error message is: error: internal error cannot parse /home/kraxel/bin/qemu-default version number in 'QEMU emulator version 1.0, Copyright (c) 2003-2008 Fabrice Bellard' Parsing help output for the version number is

[Qemu-devel] [PATCH 3/3] sysbus: remove sysbus_init_mmio_cb2

2011-12-02 Thread Benoît Canet
This function is not longer in use so remove it. Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/sysbus.c | 16 hw/sysbus.h |5 - 2 files changed, 0 insertions(+), 21 deletions(-) diff --git a/hw/sysbus.c b/hw/sysbus.c index b315a8c..81a57bd 100644 ---

[Qemu-devel] [PATCH 1/3] sh_pci: remove sysbus_init_mmio_cb2 usage

2011-12-02 Thread Benoît Canet
The isa region is not exposed as a sysbus region because the iobr register contains its address and use it to remap dynamically the region. (Peter Maydell's idea) Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/r2d.c| 14 -- hw/sh_pci.c | 29

[Qemu-devel] [PATCH 0/3] remove sysbus_init_mmio_cb2

2011-12-02 Thread Benoît Canet
Remove the last two users of this function then remove the function's code from sysbus. Tested with Renesas r2d image and buildroot for the ppc board. Benoît Canet (3): sh_pci: remove sysbus_init_mmio_cb2 usage ppce500_pci: remove sysbus_init_mmio_cb2 usage sysbus: remove

Re: [Qemu-devel] [PATCH 06/18] qom: add child properties (composition)

2011-12-02 Thread Anthony Liguori
On 12/02/2011 05:54 AM, Kevin Wolf wrote: Am 30.11.2011 22:03, schrieb Anthony Liguori: Child properties express a relationship of composition. Signed-off-by: Anthony Liguorialigu...@us.ibm.com Do we have a flag or something that makes sure that a child is never removed without its parent?

Re: [Qemu-devel] [PATCH 07/18] qom: add link properties

2011-12-02 Thread Anthony Liguori
On 12/02/2011 06:15 AM, Kevin Wolf wrote: Am 30.11.2011 22:03, schrieb Anthony Liguori: Links represent an ephemeral relationship between devices. They are meant to replace the qdev concept of busses by allowing more informal relationships between devices. Links are fairly limited in their

Re: [Qemu-devel] [Bug 899140] Re: Problem with Linux Kernel Traffic Control

2011-12-02 Thread Vincent Autefage
Hi, So, the host command lines are : *$ qemu -name A -sdl -m 512 -enable-kvm -localtime -k fr -hda debian1.img -net nic,macaddr=a0:00:00:00:00:01 -net socket,mcast=230.0.0.1:7000* The second is *$ qemu -name B -sdl -m 512 -enable-kvm -localtime -k fr -hda debian2.img -net

Re: [Qemu-devel] [Bug 899143] [NEW] Raw img not recognized by Windows

2011-12-02 Thread Vincent Autefage
Hi,* $ qemu-img create -f raw root.img 100GB $ mkntfs -F root.img $ qemu -name W -sdl -m 2048 -enable-kvm -localtime -k fr -hda root.img -cdrom windows7.iso -boot d -net nic,macaddr=a0:00:00:00:00:01 -net user,vlan=0 * Vincent Autefage Le 02/12/2011 14:35, Stefan Hajnoczi a écrit : On Fri,

Re: [Qemu-devel] [PATCH 14/18] rtc: add a dynamic property for retrieving the date

2011-12-02 Thread Anthony Liguori
On 12/02/2011 07:34 AM, Gerd Hoffmann wrote: On 12/02/11 14:20, Anthony Liguori wrote: On 12/02/2011 06:35 AM, Gerd Hoffmann wrote: The readme has quite a lot of detail about the syntax. The parser is pretty complete already. https://github.com/aliguori/qidl/blob/master/qc.md Ah, nice.

Re: [Qemu-devel] [PATCH 2/3] ppce500_pci: remove sysbus_init_mmio_cb2 usage

2011-12-02 Thread Peter Maydell
On 2 December 2011 14:51, Benoît Canet benoit.ca...@gmail.com wrote: @@ -320,10 +321,15 @@ static void mpc8544ds_init(ram_addr_t ram_size,     sysbus_create_simple(mpc8544-guts, MPC8544_UTIL_BASE, NULL);     /* PCI */ -    dev = sysbus_create_varargs(e500-pcihost, MPC8544_PCI_REGS_BASE, -    

Re: [Qemu-devel] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Jiri Denemark
On Fri, Dec 02, 2011 at 08:50:11 -0600, Anthony Liguori wrote: On 12/02/2011 08:21 AM, Gerd Hoffmann wrote: Hi, $subject says all. The error message is: error: internal error cannot parse /home/kraxel/bin/qemu-default version number in 'QEMU emulator version 1.0, Copyright (c)

Re: [Qemu-devel] [PATCH RFC for-1.0] Update copyright info

2011-12-02 Thread Andreas Färber
Gerd just reminded me that we did ship 1.0 with a 2008 copyright notice. Am 04.11.2011 18:56, schrieb Andreas Färber: Judging by -version output, one could get the impression that QEMU was last modified in 2008. Therefore extend the copyright statement to cover other contributors so that it

Re: [Qemu-devel] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Anthony Liguori
On 12/02/2011 09:08 AM, Jiri Denemark wrote: On Fri, Dec 02, 2011 at 08:50:11 -0600, Anthony Liguori wrote: On 12/02/2011 08:21 AM, Gerd Hoffmann wrote: Hi, $subject says all. The error message is: error: internal error cannot parse /home/kraxel/bin/qemu-default version number in 'QEMU

Re: [Qemu-devel] [PATCH 2/3] ppce500_pci: remove sysbus_init_mmio_cb2 usage

2011-12-02 Thread Benoît Canet
Is this change actually necessary? If we only have one MMIO region to map then sysbus_create_varargs() suffices. Ack, How much did you test this patch, by the way? I've been running into some odd behaviour with sub-page-sized memory regions which I'm wondering if you hit here... I

[Qemu-devel] [PATCH 2/3] ppce500_pci: remove sysbus_init_mmio_cb2 usage

2011-12-02 Thread Benoît Canet
Expose only one container MemoryRegion to sysbus. (Peter Maydell's idea) Signed-off-by: Benoît Canet benoit.ca...@gmail.com --- hw/ppce500_mpc8544ds.c | 14 ++ hw/ppce500_pci.c | 27 ++- 2 files changed, 16 insertions(+), 25 deletions(-) diff --git

Re: [Qemu-devel] [PATCH RFC for-1.0] Update copyright info

2011-12-02 Thread Natalia Portillo
My suggestion is to put (c) 2003-2011 Fabrice and contributors until we have a foundation and then put (c) 2003-201x qemu foundation. Fabrice by the european copyright laws still have copyright and ipr in any code he generated whatever we have changed as per the multiple contributors section

[Qemu-devel] [Bug 883136] Re: qemu on ARM hosts aborts on startup because makecontext() always fails

2011-12-02 Thread Natalia Portillo
** 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/883136 Title: qemu on ARM hosts aborts on startup because makecontext() always fails

[Qemu-devel] [PATCH v4 1/3] Update ioctl order in nbd_init() to detect EBUSY

2011-12-02 Thread Chunyan Liu
Update ioctl(s) in nbd_init() to detect device busy early. Current nbd_init() issues NBD_CLEAR_SOCKET before NBD_SET_SOCKET, if issuing qemu-nbd -c /dev/nbd0 disk.img twice, the second time won't detect EBUSY in nbd_init(), but in nbd_client will report EBUSY and do clear socket (the 1st time

[Qemu-devel] [PATCH v4 2/3] Extract code to nbd_setup function to be used for many purposes

2011-12-02 Thread Chunyan Liu
According to Stefan's suggestion, will loop over /dev/nbd%d to do qemu-nbd -f disk.img, if fails, try next device. To make qemu-nbd -c and qemu-nbd -f share codes as more as possible, extract the shared codes to a function nbd_setup(). Current qemu-nbd functions work well still. Signed-off-by:

[Qemu-devel] [PATCH v4 3/3] Add -f option to qemu-nbd

2011-12-02 Thread Chunyan Liu
Add -f option to qemu-nbd so that it can find a free nbd device and connect disk.img to that device. Changes to v3: a. According to Stefan's suggestion, loop over /dev/nbd%d to do qemu-nbd -f disk.img, if fails, try next device. b. syntax qemu-nbd -f disk.img only Signed-off-by: Chunyan Liu

Re: [Qemu-devel] [PATCH V3 2/2] Add -f option to qemu-nbd

2011-12-02 Thread Chunyan Liu
2011/11/29 Stefan Hajnoczi stefa...@gmail.com On Fri, Nov 25, 2011 at 10:19 AM, Chunyan Liu cy...@suse.com wrote: 2011/11/24 Stefan Hajnoczi stefa...@gmail.com On Thu, Nov 24, 2011 at 3:38 AM, Chunyan Liu cy...@suse.com wrote: 2011/11/23 Stefan Hajnoczi stefa...@gmail.com

Re: [Qemu-devel] [PATCH 2/3] ppce500_pci: remove sysbus_init_mmio_cb2 usage

2011-12-02 Thread Benoît Canet
How much did you test this patch, by the way? I've been running into some odd behaviour with sub-page-sized memory regions which I'm wondering if you hit here... An e1000 attached as a pci card works fine. (ping and wget www.google.com)

Re: [Qemu-devel] [PATCH 2/2] ppc_prep: convert ioport to memory API

2011-12-02 Thread Andreas Färber
Benoît, Just spotted this. Am 01.12.2011 17:57, schrieb Benoît Canet: Signed-off-by: Benoît Canet benoit.ca...@gmail.com You should've cc'ed me here as maintainer. As indicated to you, I have pending patches for PReP (e.g., moving io800 and dropping speaker in favor of qdev), which this

Re: [Qemu-devel] [PATCH v2 0/8] [RFC] vmstate: Add copyrights for all cpus

2011-12-02 Thread Andreas Färber
Am 27.11.2011 14:30, schrieb Juan Quintela: Andreas Färber afaer...@suse.de wrote: Hi Juan, Am 23.11.2011 16:44, schrieb Juan Quintela: [ Resnd this time also ading fabrice address, sorry ] v2: - split patches by file, make easier to add acked-by notices. - cc'd fabrice - everybody

Re: [Qemu-devel] [PATCH v4 2/3] Extract code to nbd_setup function to be used for many purposes

2011-12-02 Thread Paolo Bonzini
On 12/02/2011 04:27 PM, Chunyan Liu wrote: @@ -42,6 +42,18 @@ static int verbose; static char *device; static char *srcpath; static char *sockpath; +static int is_sockpath_option; +static int sigterm_fd[2]; +static off_t dev_offset; +static uint32_t nbdflags; +static bool disconnect;

Re: [Qemu-devel] [PATCH 1.0] disable automatic loading of sgabios when -nographic

2011-12-02 Thread Paolo Bonzini
On 11/08/2011 06:23 PM, Anthony Liguori wrote: On 11/03/2011 10:00 AM, Paolo Bonzini wrote: sgabios hasn't gotten a lot of coverage since it was not shipped. For 1.0, let's disable the automatic loading of the option ROM in -nographic mode. We can put it back for 1.1. Signed-off-by: Paolo

Re: [Qemu-devel] [PATCH 1.0] disable automatic loading of sgabios when -nographic

2011-12-02 Thread Anthony Liguori
On 12/02/2011 10:33 AM, Paolo Bonzini wrote: On 11/08/2011 06:23 PM, Anthony Liguori wrote: On 11/03/2011 10:00 AM, Paolo Bonzini wrote: sgabios hasn't gotten a lot of coverage since it was not shipped. For 1.0, let's disable the automatic loading of the option ROM in -nographic mode. We can

Re: [Qemu-devel] [PATCH 2/2] ppc_prep: convert ioport to memory API

2011-12-02 Thread Benoît Canet
The patch itself looks okay on brief look, except that io_fake and prep-fake should better be io_fakeio and prep-fakeio respectively (still ugly as hell, but the real Super I/O we prepared for 40P turned out incompatible somehow). I'll make the required changes and test them with buildroot

Re: [Qemu-devel] [PATCH RFC for-1.0] Update copyright info

2011-12-02 Thread Andreas Färber
Thanks for your comment. Copyright (c) 2003-2011 Fabrice Bellard and contributors Copyright (c) 2003-2008 Fabrice Bellard, Copyright (c) 200x-2011 s.o. Am 02.12.2011 16:25, schrieb Natalia Portillo: Fabrice by the european copyright laws still have copyright and ipr in any code he generated

Re: [Qemu-devel] [PATCH v4 7/8] block: core copy-on-read logic

2011-12-02 Thread Marcelo Tosatti
On Wed, Nov 23, 2011 at 11:47:57AM +, Stefan Hajnoczi wrote: Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- block.c | 72 ++ trace-events |1 + 2 files changed, 73 insertions(+), 0 deletions(-) diff

Re: [Qemu-devel] [ICON] Quinn the Qemu emu gazes ahead thoughtfully, considering what the future holds

2011-12-02 Thread Andreas Färber
Am 30.11.2011 15:41, schrieb Alex Bradbury: Qemu The correct spelling for any logo is QEMU. Cf. http://wiki.qemu.org/License Regards, Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test

2011-12-02 Thread Kevin Wolf
Am 01.12.2011 19:43, schrieb Anthony Liguori: --- Makefile |4 + rtc-test.c | 201 2 files changed, 205 insertions(+), 0 deletions(-) create mode 100644 rtc-test.c diff --git a/Makefile b/Makefile index

[Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl

2011-12-02 Thread Serge Hallyn
** Changed in: libvirt (Ubuntu) Status: Triaged = Fix Released ** Changed in: libvirt (Ubuntu) Status: Fix Released = Invalid -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/723871

Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test

2011-12-02 Thread Anthony Liguori
On 12/02/2011 11:25 AM, Kevin Wolf wrote: Am 01.12.2011 19:43, schrieb Anthony Liguori: --- Makefile |4 + rtc-test.c | 201 2 files changed, 205 insertions(+), 0 deletions(-) create mode 100644 rtc-test.c diff --git

Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test

2011-12-02 Thread Kevin Wolf
Am 02.12.2011 18:26, schrieb Anthony Liguori: On 12/02/2011 11:25 AM, Kevin Wolf wrote: Am 01.12.2011 19:43, schrieb Anthony Liguori: --- Makefile |4 + rtc-test.c | 201 2 files changed, 205 insertions(+), 0

[Qemu-devel] [Bug 897771] Re: qemu 1.0-rc4 no longer able to boot NetBSD-current/i386

2011-12-02 Thread Andreas Gustafsson
Please try to find what is the last major release of qemu that did boot this correctly. I assume this is unecessary because Stefan Weil already identified the excact commit where the problem appeared. -- You received this bug notification because you are a member of qemu- devel-ml, which is

Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test

2011-12-02 Thread Luiz Capitulino
On Fri, 02 Dec 2011 18:45:27 +0100 Kevin Wolf kw...@redhat.com wrote: Am 02.12.2011 18:26, schrieb Anthony Liguori: On 12/02/2011 11:25 AM, Kevin Wolf wrote: Am 01.12.2011 19:43, schrieb Anthony Liguori: --- Makefile |4 + rtc-test.c | 201

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-12-02 Thread Scott Wood
On 12/02/2011 12:11 PM, Bhushan Bharat-R65777 wrote: How do we determine whether guest is ready or not? There can be multiple device get ready at different time. The guest makes a hypercall with a device handle -- at least that's how we do it in Topaz. Further if guest have given the device

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-12-02 Thread Bhushan Bharat-R65777
-Original Message- From: kvm-ow...@vger.kernel.org [mailto:kvm-ow...@vger.kernel.org] On Behalf Of Stuart Yoder Sent: Friday, December 02, 2011 8:11 PM To: Alex Williamson Cc: Alexey Kardashevskiy; aafab...@cisco.com; k...@vger.kernel.org; p...@au1.ibm.com; qemu-devel@nongnu.org;

Re: [Qemu-devel] [RFC v2 6/6] Add C version of rtc-test

2011-12-02 Thread Anthony Liguori
On 12/02/2011 11:45 AM, Kevin Wolf wrote: Am 02.12.2011 18:26, schrieb Anthony Liguori: On 12/02/2011 11:25 AM, Kevin Wolf wrote: So that's how you read/write memory. Likewise, for IRQs, you can poll the status of a given IRQ. I thought about doing some sort of signal magic around but when

Re: [Qemu-devel] [PATCH 01/18] qom: add new dynamic property infrastructure based on Visitors

2011-12-02 Thread Anthony Liguori
On 12/01/2011 09:52 AM, Kevin Wolf wrote: Am 30.11.2011 22:03, schrieb Anthony Liguori: + +void qdev_property_add(DeviceState *dev, const char *name, const char *type, + DevicePropertyEtter *get, DevicePropertyEtter *set, + DevicePropertyRelease

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-12-02 Thread Scott Wood
On 12/02/2011 08:40 AM, Stuart Yoder wrote: On Thu, Dec 1, 2011 at 3:25 PM, Alex Williamson alex.william...@redhat.com wrote: On Thu, 2011-12-01 at 14:58 -0600, Stuart Yoder wrote: One other mechanism we need as well is the ability to enable/disable a domain. For example-- suppose a device

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-12-02 Thread Scott Wood
On 12/02/2011 12:45 PM, Bhushan Bharat-R65777 wrote: Scott, I am not sure if there is any real use case where device needed to assigned beyond 2 level (host + immediate guest) in nested virtualization. Userspace drivers in the guest is a more likely scenario than nested virtualization, at

Re: [Qemu-devel] [libvirt] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Dave Allan
On Fri, Dec 02, 2011 at 03:21:54PM +0100, Gerd Hoffmann wrote: Hi, $subject says all. The error message is: Thanks for the heads up. Dave error: internal error cannot parse /home/kraxel/bin/qemu-default version number in 'QEMU emulator version 1.0, Copyright (c) 2003-2008 Fabrice

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-12-02 Thread Bhushan Bharat-R65777
-Original Message- From: Wood Scott-B07421 Sent: Friday, December 02, 2011 11:57 PM To: Bhushan Bharat-R65777 Cc: Stuart Yoder; Alex Williamson; Alexey Kardashevskiy; aafab...@cisco.com; k...@vger.kernel.org; p...@au1.ibm.com; qemu- de...@nongnu.org; joerg.roe...@amd.com;

Re: [Qemu-devel] [RFC PATCH] vfio: VFIO Driver core framework

2011-12-02 Thread Bhushan Bharat-R65777
-Original Message- From: Wood Scott-B07421 Sent: Friday, December 02, 2011 11:57 PM To: Bhushan Bharat-R65777 Cc: Stuart Yoder; Alex Williamson; Alexey Kardashevskiy; aafab...@cisco.com; k...@vger.kernel.org; p...@au1.ibm.com; qemu- de...@nongnu.org; joerg.roe...@amd.com;

[Qemu-devel] [PATCH V3] Guest stop notification

2011-12-02 Thread Eric B Munson
Often when a guest is stopped from the qemu console, it will report spurious soft lockup warnings on resume. There are kernel patches being discussed that will give the host the ability to tell the guest that it is being stopped and should ignore the soft lockup warning that generates.

Re: [Qemu-devel] [libvirt] libvirt doesn't work with qemu 1.0

2011-12-02 Thread Eric Blake
On 12/02/2011 08:15 AM, Anthony Liguori wrote: Which of course only works with new enough QEMU that is known to support QMP (which BTW we detect by checking the version number). Or you could just try the -qmp option and if QEMU exits, it doesn't support it. That's going to be a lot more

[Qemu-devel] [PATCH 1/2] linux-user/cpu-uname.c: Convert to UTF-8

2011-12-02 Thread Peter Maydell
Convert comment from ISO-8859-1 encoding to UTF-8 to match the rest of QEMU's source code. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- linux-user/cpu-uname.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-user/cpu-uname.c b/linux-user/cpu-uname.c

[Qemu-devel] [PATCH 2/2] linux-user/arm/nwfpe/fpopcode.h: Fix non-UTF-8 characters

2011-12-02 Thread Peter Maydell
Fix some stray non-UTF-8 characters used in some ASCII art tables by converting them to plain ASCII '|' instead. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- linux-user/arm/nwfpe/fpopcode.h | 34 +- 1 files changed, 17 insertions(+), 17 deletions(-)

[Qemu-devel] [PATCH 0/2] linux-user: Fix non-UTF-8 characters

2011-12-02 Thread Peter Maydell
These two patches fix some non-UTF-8 characters in linux-user/ source files. Other than the five files Stefan Weil recently sent a patch to fix, these are the only remaining non-UTF-8 characters in the source tree. Since I don't entirely trust the email path for sending patches to files where the

[Qemu-devel] [PATCH] Adapt libvirt's Qemu version parser for Qemu 1.0

2011-12-02 Thread Stefan Berger
Qemu 1.0 does not show a micro version like 0.15.50 did. Adapt the Qemu version parser to handle this. --- src/qemu/qemu_capabilities.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) Index: libvirt-tpm/src/qemu/qemu_capabilities.c

Re: [Qemu-devel] [PATCH V3] Guest stop notification

2011-12-02 Thread Jan Kiszka
On 2011-12-02 20:19, Eric B Munson wrote: Often when a guest is stopped from the qemu console, it will report spurious soft lockup warnings on resume. There are kernel patches being discussed that will give the host the ability to tell the guest that it is being stopped and should ignore the

[Qemu-devel] [PATCH v2 01/18] qom: add a reference count to qdev objects

2011-12-02 Thread Anthony Liguori
To ensure that a device isn't removed from the graph until all of its links are broken. Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- hw/qdev.c | 16 hw/qdev.h | 26 ++ 2 files changed, 42 insertions(+), 0 deletions(-) diff --git a/hw/qdev.c

[Qemu-devel] [PATCH v2 02/18] qom: add new dynamic property infrastructure based on Visitors (v2)

2011-12-02 Thread Anthony Liguori
qdev properties are settable only during construction and static to classes. This isn't flexible enough for QOM. This patch introduces a property interface for qdev that provides dynamic properties that are tied to objects, instead of classes. These properties are Visitor based instead of string

[Qemu-devel] [PATCH v2 03/18] qom: register legacy properties as new style properties (v2)

2011-12-02 Thread Anthony Liguori
Expose all legacy properties through the new QOM property mechanism. The qdev property types are exposed through the 'legacy' namespace. They are always visited as strings since they do their own string parsing. Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- v1 - v2 - add bus

[Qemu-devel] [PATCH v2 05/18] qdev: provide an interface to return canonical path from root (v2)

2011-12-02 Thread Anthony Liguori
The canonical path is the path in the composition tree from the root to the device. This is effectively the name of the device. This is an incredibly unefficient implementation that will be optimized in a future patch. Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- v1 - v2 - change

  1   2   >