Re: [Qemu-devel] [PATCH 8/8] vlan cleanup: remove usage of VLANState

2010-07-13 Thread Markus Armbruster
Miguel Di Ciurcio Filho writes: > --- > hw/qdev-properties.c | 39 -- > hw/qdev.c|2 - > hw/qdev.h|5 - > hw/xen_devconfig.c |8 +- > hw/xen_nic.c |1 - > net.c| 323 + > net.

Re: [Qemu-devel] [PATCH 2/8] vlan cleanup: update options

2010-07-13 Thread Markus Armbruster
Does -net user still do anything useful with VLAN gone? Let's take a step back and consider: what's left of -net with VLAN gone? I guess it's just -net none and -net nic,netdev=... If that's true, the documentation for the backend types user, ... needs to move to -netdev. Since we're breaking -n

Re: [Qemu-devel] [PATCH 1/8] vlan cleanup: update documentation

2010-07-13 Thread Markus Armbruster
Miguel Di Ciurcio Filho writes: > --- > qemu-doc.texi | 24 +++- > 1 files changed, 3 insertions(+), 21 deletions(-) > > diff --git a/qemu-doc.texi b/qemu-doc.texi > index e2c8e56..d5bf318 100644 > --- a/qemu-doc.texi > +++ b/qemu-doc.texi [...] > @@ -794,7 +776,7 @@ Networ

Re: [Qemu-devel] [RFC PATCH 7/7] ac97: IOMMU support

2010-07-13 Thread malc
On Wed, 14 Jul 2010, Eduard - Gabriel Munteanu wrote: > Memory accesses must go through the IOMMU layer. > > Signed-off-by: Eduard - Gabriel Munteanu > --- > hw/ac97.c | 20 +--- > 1 files changed, 17 insertions(+), 3 deletions(-) Fine with me. [..snip..] -- mailto:av1...@

Re: [Qemu-devel] [RFC PATCH 1/7] Generic IOMMU layer

2010-07-13 Thread malc
On Wed, 14 Jul 2010, Eduard - Gabriel Munteanu wrote: > This provides an API for abstracting IOMMU functions. Hardware emulation > code can use it to request address translation and access checking. In > the absence of an emulated IOMMU, no translation/checking happens and > I/O goes through as be

[Qemu-devel] [RFC PATCH 5/7] rtl8139: IOMMU support

2010-07-13 Thread Eduard - Gabriel Munteanu
Memory accesses must go through the IOMMU layer. Signed-off-by: Eduard - Gabriel Munteanu --- hw/rtl8139.c | 98 - 1 files changed, 62 insertions(+), 36 deletions(-) diff --git a/hw/rtl8139.c b/hw/rtl8139.c index 72e2242..0f78a69 100644

[Qemu-devel] [RFC PATCH 6/7] eepro100: IOMMU support

2010-07-13 Thread Eduard - Gabriel Munteanu
Memory accesses must go through the IOMMU layer. Signed-off-by: Eduard - Gabriel Munteanu --- hw/eepro100.c | 141 + 1 files changed, 101 insertions(+), 40 deletions(-) diff --git a/hw/eepro100.c b/hw/eepro100.c index 97afa2c..74e1d15 100

[Qemu-devel] [RFC PATCH 2/7] AMD IOMMU emulation

2010-07-13 Thread Eduard - Gabriel Munteanu
This introduces emulation for the AMD IOMMU, described in "AMD I/O Virtualization Technology (IOMMU) Specification". Signed-off-by: Eduard - Gabriel Munteanu --- Makefile.target |2 + configure | 11 + hw/amd_iommu.c | 621 +++ hw

[Qemu-devel] [RFC PATCH 3/7] pci: call IOMMU hooks

2010-07-13 Thread Eduard - Gabriel Munteanu
Memory accesses must go through the IOMMU layer. Signed-off-by: Eduard - Gabriel Munteanu --- hw/pci.c | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index 6871728..9c5d706 100644 --- a/hw/pci.c +++ b/hw/pci.c @@ -22,6 +22,7 @@

[Qemu-devel] [RFC PATCH 1/7] Generic IOMMU layer

2010-07-13 Thread Eduard - Gabriel Munteanu
This provides an API for abstracting IOMMU functions. Hardware emulation code can use it to request address translation and access checking. In the absence of an emulated IOMMU, no translation/checking happens and I/O goes through as before. IOMMU emulation code must provide implementation-specifi

[Qemu-devel] [RFC PATCH 4/7] ide: IOMMU support

2010-07-13 Thread Eduard - Gabriel Munteanu
Memory accesses must go through the IOMMU layer. Signed-off-by: Eduard - Gabriel Munteanu --- hw/ide/core.c | 46 +++--- 1 files changed, 31 insertions(+), 15 deletions(-) diff --git a/hw/ide/core.c b/hw/ide/core.c index 0b3b7c2..7f8f7df 100644 --- a/hw

[Qemu-devel] [RFC PATCH 7/7] ac97: IOMMU support

2010-07-13 Thread Eduard - Gabriel Munteanu
Memory accesses must go through the IOMMU layer. Signed-off-by: Eduard - Gabriel Munteanu --- hw/ac97.c | 20 +--- 1 files changed, 17 insertions(+), 3 deletions(-) diff --git a/hw/ac97.c b/hw/ac97.c index 4319bc8..0e30d80 100644 --- a/hw/ac97.c +++ b/hw/ac97.c @@ -15,6 +15,7

[Qemu-devel] [RFC PATCH 0/7] AMD IOMMU emulation patchset

2010-07-13 Thread Eduard - Gabriel Munteanu
Hi everybody, This is my work on the AMD IOMMU emulation project. I've put this, along with the SeaBIOS patches (which you need to test), in my Git repos here: http://repo.or.cz/w/qemu-kvm/amd-iommu.git http://repo.or.cz/w/seabios/amd-iommu.git While it works for Linux guests (didn't try anythin

Re: [Qemu-devel] Re: Unusual physical address when using 64-bit BAR

2010-07-13 Thread Isaku Yamahata
On Tue, Jul 13, 2010 at 04:48:19PM -0600, Cam Macdonell wrote: > On Tue, Jul 13, 2010 at 2:41 PM, Isaku Yamahata > wrote: > > On Tue, Jul 13, 2010 at 02:05:51PM -0600, Cam Macdonell wrote: > >> >> > Seabios completely ignore the 64-bitness of the BAR. ?Looks like it > >> >> > also > >> >> > thin

[Qemu-devel] [PATCH] set proper migration status on ->write error (v5)

2010-07-13 Thread Marcelo Tosatti
If ->write fails, declare migration status as MIG_STATE_ERROR. Also, in buffered_file.c, ->close the object in case of an error. Fixes "migrate -d "exec:dd of=file", where dd fails to open file. Signed-off-by: Marcelo Tosatti diff --git a/buffered_file.c b/buffered_file.c index 54dc6c2..be147

Re: [Qemu-devel] Re: Unusual physical address when using 64-bit BAR

2010-07-13 Thread Cam Macdonell
On Tue, Jul 13, 2010 at 2:41 PM, Isaku Yamahata wrote: > On Tue, Jul 13, 2010 at 02:05:51PM -0600, Cam Macdonell wrote: >> >> > Seabios completely ignore the 64-bitness of the BAR. ?Looks like it also >> >> > thinks the second half of the BAR is an I/O region instead of memory >> >> > (hence >> >

[Qemu-devel] Re: [PATCH] set proper migration status on ->write error (v4)

2010-07-13 Thread Luiz Capitulino
On Tue, 13 Jul 2010 14:30:22 -0300 Marcelo Tosatti wrote: > > If ->write fails, declare migration status as MIG_STATE_ERROR. > > Also, in buffered_file.c, ->close the object in case of an > error. > > Fixes "migrate -d "exec:dd of=file", where dd fails to open file. > > Signed-off-by: Marcelo

Re: [Qemu-devel] Re: Unusual physical address when using 64-bit BAR

2010-07-13 Thread Isaku Yamahata
On Tue, Jul 13, 2010 at 02:05:51PM -0600, Cam Macdonell wrote: > >> > Seabios completely ignore the 64-bitness of the BAR. ?Looks like it also > >> > thinks the second half of the BAR is an I/O region instead of memory > >> > (hence > >> > the c200, that's part of the pci portio region. > > > > I'

Re: [Qemu-devel] cg14

2010-07-13 Thread Artyom Tarasenko
2010/7/13 Bob Breuer : > Another preview of the cg14 framebuffer. > > Activate by selecting SS-20 machine and setting width > 1024, i.e. "-M SS-20 > -g 1152x900". > Note that NetBSD assumes 1152x900, while OBP also supports 1024x768, > 1280x1024, and 1600x1280. > > New since last time: > - All vi

[Qemu-devel] Re: [PATCH 0/8] vlan cleanup

2010-07-13 Thread Jan Kiszka
Anthony Liguori wrote: > On 07/13/2010 02:08 PM, Jan Kiszka wrote: >> Anthony Liguori wrote: >> >>> On 07/13/2010 07:48 AM, Jan Kiszka wrote: >>> Miguel Di Ciurcio Filho wrote: > On Tue, Jul 13, 2010 at 3:16 AM, Jan Kiszka > wrote: > > >>

Re: [Qemu-devel] Re: Unusual physical address when using 64-bit BAR

2010-07-13 Thread Cam Macdonell
On Tue, Jun 29, 2010 at 9:29 PM, Isaku Yamahata wrote: > On Tue, Jun 29, 2010 at 11:48:13AM -0600, Cam Macdonell wrote: >> On Tue, Jun 29, 2010 at 12:50 AM, Avi Kivity wrote: >> > On 06/28/2010 11:38 PM, Cam Macdonell wrote: >> >> >> >>> >> > Is this really the address the guest programmed, o

Re: [Qemu-devel] Re: [PATCH] ceph/rbd block driver for qemu-kvm (v3)

2010-07-13 Thread Yehuda Sadeh Weinraub
On Tue, Jul 13, 2010 at 12:23 PM, Christian Brunner wrote: > On Tue, Jul 13, 2010 at 11:27:03AM -0700, Yehuda Sadeh Weinraub wrote: >> > >> > There is another problem with very large i/o requests. I suspect that >> > this can be triggered only >> > with qemu-io and not in kvm, but I'll try to get

Re: [Qemu-devel] Re: [PATCH] ceph/rbd block driver for qemu-kvm (v3)

2010-07-13 Thread Christian Brunner
On Tue, Jul 13, 2010 at 11:27:03AM -0700, Yehuda Sadeh Weinraub wrote: > > > > There is another problem with very large i/o requests. I suspect that > > this can be triggered only > > with qemu-io and not in kvm, but I'll try to get a proper solution it > > anyway. > > > > Have you made any progr

[Qemu-devel] Re: [PATCH 0/8] vlan cleanup

2010-07-13 Thread Anthony Liguori
On 07/13/2010 02:08 PM, Jan Kiszka wrote: Anthony Liguori wrote: On 07/13/2010 07:48 AM, Jan Kiszka wrote: Miguel Di Ciurcio Filho wrote: On Tue, Jul 13, 2010 at 3:16 AM, Jan Kiszka wrote: Miguel Di Ciurcio Filho wrote: This series removes the vla

[Qemu-devel] Re: [PATCH 0/8] vlan cleanup

2010-07-13 Thread Jan Kiszka
Anthony Liguori wrote: > On 07/13/2010 07:48 AM, Jan Kiszka wrote: >> Miguel Di Ciurcio Filho wrote: >> >>> On Tue, Jul 13, 2010 at 3:16 AM, Jan Kiszka wrote: >>> Miguel Di Ciurcio Filho wrote: > This series removes the vlan stuff without mercy. I've tried to > mak

[Qemu-devel] Re: [PATCH 0/8] vlan cleanup

2010-07-13 Thread Anthony Liguori
On 07/13/2010 07:48 AM, Jan Kiszka wrote: Miguel Di Ciurcio Filho wrote: On Tue, Jul 13, 2010 at 3:16 AM, Jan Kiszka wrote: Miguel Di Ciurcio Filho wrote: This series removes the vlan stuff without mercy. I've tried to make the steps as small as possible, but the last one is

Re: [Qemu-devel] [PULL] pci, virtio fixes

2010-07-13 Thread Anthony Liguori
On 07/11/2010 03:55 PM, Michael S. Tsirkin wrote: A couple of pci fixes in vmware are untested, but look very minor to me and no one objected yet - let's merge and handle the fallout if any. The following changes since commit 1ddda5cd364d2f82201830ca69675e17c60ded8e: AppleSMC device emulatio

Re: [Qemu-devel] [PULL] pci, virtio fixes

2010-07-13 Thread Anthony Liguori
On 07/11/2010 03:55 PM, Michael S. Tsirkin wrote: A couple of pci fixes in vmware are untested, but look very minor to me and no one objected yet - let's merge and handle the fallout if any. The following changes since commit 1ddda5cd364d2f82201830ca69675e17c60ded8e: Pulled. Thanks. Rega

Re: [Qemu-devel] Re: [PATCH] ceph/rbd block driver for qemu-kvm (v3)

2010-07-13 Thread Yehuda Sadeh Weinraub
On Sat, Jun 19, 2010 at 8:48 AM, Christian Brunner wrote: >> >> Are you going to send a final version which includes Simone's patch or >> should I apply them as two patches and just accept that rbd is broken >> after the first one? Or were there any other problems that need to be >> solved first?

[Qemu-devel] Automatic generation of code-generator components

2010-07-13 Thread Eliot Moss
Dear QEMU developers -- I have had some email conversation with a few active developers, and with their encouragement, want to open it up for the whole list to comment. For several years my research group at UMass has been developing generic code-generator generator (CGG) technology. Historic CG

Re: [Qemu-devel] Re: KVM Call agenda for July 13th

2010-07-13 Thread Avi Kivity
On 07/13/2010 08:19 PM, Brian Jackson wrote: Yes. But in this context I'm interested in stable releases. We have bugs reported, fixed, and the fix applied, yet the fixes are unreachable to users. Especially so since qemu-kvm 0.12-stable hasn't been merged with qemu basically since 0.12

Re: [Qemu-devel] [PATCH v2 00/18] [PATCH v2 00/18] VNC Updates for 0.13

2010-07-13 Thread Rick Vernam
On Wednesday 07 July 2010 13:57:48 Corentin Chary wrote: > This set contains all my patchs related to tight and threaded vnc server. > > Since v1: > * Add a fix for jpeg and png with non-24bpp displays > * Better default values for vnc options in ./configure > * Fixed Tight PNG to use its own enco

Re: [Qemu-devel] Re: [OpenBIOS] [commit] r791 - in trunk/openbios-devel: fs/grubfs include/fs packages

2010-07-13 Thread Aurelien Jarno
On Tue, Jul 13, 2010 at 05:45:14PM +0100, Mark Cave-Ayland wrote: > Aurelien Jarno wrote: > >> Unfortunately this commit has broken PowerPC boot using the Quik >> bootloader. CD-ROM boot is not affected. This can easily be reproduced >> using the image from: >> >> http://people.debian.org/~aurel32/

[Qemu-devel] [STABLE] Call for patches

2010-07-13 Thread Aurelien Jarno
Hi all, A few people requested a new stable release. The current stable branch already contains quite a few patches, that have been cherry-picked at the same time they have been committed to HEAD, but some important patches are probably missing. If you would like to see some more patches, please

[Qemu-devel] [PATCH] set proper migration status on ->write error (v4)

2010-07-13 Thread Marcelo Tosatti
If ->write fails, declare migration status as MIG_STATE_ERROR. Also, in buffered_file.c, ->close the object in case of an error. Fixes "migrate -d "exec:dd of=file", where dd fails to open file. Signed-off-by: Marcelo Tosatti diff --git a/buffered_file.c b/buffered_file.c index 54dc6c2..be147

Re: [Qemu-devel] Re: KVM Call agenda for July 13th

2010-07-13 Thread Brian Jackson
On Tuesday, July 13, 2010 12:01:22 pm Avi Kivity wrote: > On 07/13/2010 07:57 PM, Anthony Liguori wrote: > >> I'd like to see more frequent stable releases, at least if the stable > >> branch contains fixes to user-reported bugs (or of course security or > >> data integrity fixes). > > > > Would y

Re: [Qemu-devel] Re: KVM Call agenda for July 13th

2010-07-13 Thread Avi Kivity
On 07/13/2010 07:57 PM, Anthony Liguori wrote: I'd like to see more frequent stable releases, at least if the stable branch contains fixes to user-reported bugs (or of course security or data integrity fixes). Would you like to see more frequent stable releases or more frequent master releas

Re: [Qemu-devel] Re: KVM Call agenda for July 13th

2010-07-13 Thread Anthony Liguori
On 07/13/2010 02:40 AM, Avi Kivity wrote: On 07/13/2010 09:57 AM, Aurelien Jarno wrote: Avi Kivity a écrit : On 07/12/2010 05:57 PM, Juan Quintela wrote: Please send in any agenda items you are interested in covering. 0.12.n+1 I won't be at the KVM call, but I can work on that in the next

Re: [Qemu-devel] [PULL 0/5] Block patches

2010-07-13 Thread Kevin Wolf
Am 13.07.2010 18:43, schrieb Brian Jackson: > On Tuesday, July 13, 2010 10:54:21 am Kevin Wolf wrote: >> These are some more fixes that should go into 0.13. > > > Any of these 0.12-stable material? I'll try to have a closer look tomorrow. Probably not these, but I think there are some more patch

Re: [Qemu-devel] Re: [OpenBIOS] [commit] r791 - in trunk/openbios-devel: fs/grubfs include/fs packages

2010-07-13 Thread Mark Cave-Ayland
Aurelien Jarno wrote: Unfortunately this commit has broken PowerPC boot using the Quik bootloader. CD-ROM boot is not affected. This can easily be reproduced using the image from: http://people.debian.org/~aurel32/qemu/powerpc/debian_lenny_powerpc_small.qcow2 I have tried with the latest avail

Re: [Qemu-devel] [PULL 0/5] Block patches

2010-07-13 Thread Brian Jackson
On Tuesday, July 13, 2010 10:54:21 am Kevin Wolf wrote: > These are some more fixes that should go into 0.13. Any of these 0.12-stable material? > > The following changes since commit > f077caa99c21847152e706e77b378cb0ec2f: > > Merge remote branch 'mst/for_anthony' into staging (2010-07

Re: [Qemu-devel] cg14

2010-07-13 Thread Bob Breuer
Another preview of the cg14 framebuffer. Activate by selecting SS-20 machine and setting width > 1024, i.e. "-M SS-20 -g 1152x900". Note that NetBSD assumes 1152x900, while OBP also supports 1024x768, 1280x1024, and 1600x1280. New since last time: - All video memory accesses implemented X u

Re: [Qemu-devel] [PATCH v2] QMP: Introduce the documentation for query-qdm

2010-07-13 Thread Markus Armbruster
Luiz Capitulino writes: > On Tue, 13 Jul 2010 13:49:46 +0200 > Markus Armbruster wrote: > >> [cc: kraxel] >> >> I didn't get around to review v1. Sorry. >> >> Miguel Di Ciurcio Filho writes: >> >> > Changelog from v1 >> > - >> > - renamed "props" to "properties" >> > - updat

[Qemu-devel] Re: [Bug 544527] Re: usbfs is bugged with >2.6.32.9 and <=2.6.33 (breaks VMWare, Qemu, sane scanners, ...)

2010-07-13 Thread MarkusRechberger
On Tue, Jul 13, 2010 at 5:14 PM, David Kühling <544...@bugs.launchpad.net> wrote: > This bugfix is incomplete.  Isochronous transfers are still broken, when > running 32-bit software on a 64-bit kernel.  Function > processcompl_compat() in devio.c needs a similar fix to the fix that was > applied t

[Qemu-devel] [PATCH 5/5] ide scsi virtio-blk: Reject empty drives unless media is removable

2010-07-13 Thread Kevin Wolf
From: Markus Armbruster Disks without media make no sense. For SCSI, a Linux guest kernel complains during boot. I didn't try other combinations. scsi-generic doesn't need the additional check, because it already requires bdrv_is_sg(), which fails without media. Signed-off-by: Markus Armbrust

[Qemu-devel] Sparc32: reserve addresses for unimplemented devices on SS-20

2010-07-13 Thread Bob Breuer
Use empty_slot to reserve addresses for several unimplemented devices so they won't fault. - BPP (parallel port), DBRI (audio), SX (pixel processor), and vsimms (framebuffer) OBP for SS-20 either assumes these devices exist or probes without expecting faults. Signed-off-by: Bob Breuer --- hw

[Qemu-devel] [PATCH 4/5] virtio-blk: Fix virtio-blk-s390 to require drive

2010-07-13 Thread Kevin Wolf
From: Markus Armbruster Move the check from virtio_blk_init_pci(), where it protects only virtio-blk-pci, to virtio_blk_init(). Without that, virtio-blk-s390 initializes without a drive. I figure that can lead to null pointer dereferences. Signed-off-by: Markus Armbruster Signed-off-by: Kevin

[Qemu-devel] [PATCH 2/5] Block migration fail, ignore error from bdrv_getlength

2010-07-13 Thread Kevin Wolf
From: Shahar Havivi When there is no block driver associate with BlockDriverState bdrv_getlength returns -ENOMEDIUM that cause block migration to fail Signed-off-by: Shahar Havivi Signed-off-by: Kevin Wolf --- block-migration.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[Qemu-devel] [PATCH 3/5] virtio-pci: Check for virtio_blk_init() failure

2010-07-13 Thread Kevin Wolf
From: Markus Armbruster It can't actually fail now, but the next commit will change that. s390_virtio_blk_init() already checks for failure, but virtio_blk_init_pci() doesn't. Fix that. Signed-off-by: Markus Armbruster Signed-off-by: Kevin Wolf --- hw/virtio-pci.c |3 +++ 1 files change

[Qemu-devel] [PATCH 1/5] qemu-img: Fix copy+paste bug in documentation

2010-07-13 Thread Kevin Wolf
From: Stefan Weil Replace rebase by resize in documentation of resize command. Cc: Stefan Hajnoczi Cc: Kevin Wolf Signed-off-by: Stefan Weil Signed-off-by: Kevin Wolf --- qemu-img-cmds.hx |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/qemu-img-cmds.hx b/qemu-img-

[Qemu-devel] [PULL 0/5] Block patches

2010-07-13 Thread Kevin Wolf
These are some more fixes that should go into 0.13. The following changes since commit f077caa99c21847152e706e77b378cb0ec2f: Merge remote branch 'mst/for_anthony' into staging (2010-07-13 08:56:27 -0500) are available in the git repository at: git://repo.or.cz/qemu/kevin.git for-anthony

[Qemu-devel] [Bug 544527] Re: usbfs is bugged with >2.6.32.9 and <=2.6.33 (breaks VMWare, Qemu, sane scanners, ...)

2010-07-13 Thread David Kühling
This bugfix is incomplete. Isochronous transfers are still broken, when running 32-bit software on a 64-bit kernel. Function processcompl_compat() in devio.c needs a similar fix to the fix that was applied to processcompl(). Looking at processcompl_compat() I see: if (as->userbuffer &&

Re: [Qemu-devel] Re: KVM Call agenda for July 13th

2010-07-13 Thread Avi Kivity
On 07/13/2010 05:08 PM, Luiz Capitulino wrote: I'd like to see more frequent stable releases, at least if the stable branch contains fixes to user-reported bugs (or of course security or data integrity fixes). I remember someone has stepped in to take that work, but I don't exactly remem

Re: [Qemu-devel] Re: KVM Call agenda for July 13th

2010-07-13 Thread Luiz Capitulino
On Tue, 13 Jul 2010 10:40:40 +0300 Avi Kivity wrote: > On 07/13/2010 09:57 AM, Aurelien Jarno wrote: > > Avi Kivity a écrit : > > > >> On 07/12/2010 05:57 PM, Juan Quintela wrote: > >> > >>> Please send in any agenda items you are interested in covering. > >>> > >>> > >>> > >> 0

[Qemu-devel] Re: [Tracing][PATCH] Allow bulk enabling of trace events at compile time.

2010-07-13 Thread Stefan Hajnoczi
On Tue, Jul 13, 2010 at 05:04:16PM +0530, Prerna Saxena wrote: > [PATCH] For 'simple' trace backend, allow bulk enabling/disabling of trace > events at compile time. > Trace events that are preceded by 'disable' keyword are compiled in, but > turned off by default. These can individually be tur

[Qemu-devel] Re: KVM Call agenda for July 13th

2010-07-13 Thread Anthony Liguori
On 07/12/2010 11:38 PM, Avi Kivity wrote: On 07/13/2010 01:08 AM, Anthony Liguori wrote: On 07/12/2010 05:07 PM, Anthony Liguori wrote: On 07/12/2010 04:57 PM, Chris Wright wrote: * Juan Quintela (quint...@redhat.com) wrote: Please send in any agenda items you are interested in covering. 0.1

Re: [Qemu-devel] [PATCH v2] QMP: Introduce the documentation for query-qdm

2010-07-13 Thread Luiz Capitulino
On Tue, 13 Jul 2010 10:30:24 -0300 Miguel Di Ciurcio Filho wrote: [...] > On Tue, Jul 13, 2010 at 8:49 AM, Markus Armbruster wrote: > >> +- "properties": a list where each element is an json-object that > >> describes a > >> +  property of the device. Each json-object contains the following: >

Re: [Qemu-devel] [PATCH v2] QMP: Introduce the documentation for query-qdm

2010-07-13 Thread Luiz Capitulino
On Tue, 13 Jul 2010 13:49:46 +0200 Markus Armbruster wrote: > [cc: kraxel] > > I didn't get around to review v1. Sorry. > > Miguel Di Ciurcio Filho writes: > > > Changelog from v1 > > - > > - renamed "props" to "properties" > > - updated the examples > > - reworded the explan

Re: [Qemu-devel] QMP argument parser does not verify json type

2010-07-13 Thread Miguel Di Ciurcio Filho
On Tue, Jul 13, 2010 at 10:03 AM, Markus Armbruster wrote: >> >> And then this should result in an error: >> {"execute": "device_add", "arguments": {"driver": "virtio-net-pci", >> "id": "nic1", "netdev": "ndev1", "vectors": "10"}} > > Yes. > > This is where command line (QemuOpts), human monitor (

Re: [Qemu-devel] [PATCH v2] QMP: Introduce the documentation for query-qdm

2010-07-13 Thread Miguel Di Ciurcio Filho
On Tue, Jul 13, 2010 at 8:49 AM, Markus Armbruster wrote: >> +- "bus": the name of the bus type for the device (json-string) >> +    - Possible values: PCI, SCSI, I2C, ISA, SSI, USB, virtio-serial-bus, >> System > > Missing: IDE (hw/ide/qdev.c) and s390-virtio (hw/s390-virtio-bus.c). Ack. > >>

Re: [Qemu-devel] [PATCH 2/2] [virtio-9p] Implement TLERROR/RLERROR.

2010-07-13 Thread Arun R Bharadwaj
* Aneesh Kumar K.V [2010-07-13 18:41:18]: > On Tuesday 13 July 2010 04:26 PM, Arun R Bharadwaj wrote: > >* Arun R Bharadwaj [2010-07-13 16:24:41]: > > > >This patch implements TLERROR/RLERROR in the qemu 9P server. > > > >Signed-off-by: Arun R Bharadwaj > >--- > > hw/virtio-9p.c | 19

Re: [Qemu-devel] [PATCH 2/2] [virtio-9p] Implement TLERROR/RLERROR.

2010-07-13 Thread Aneesh Kumar K.V
On Tuesday 13 July 2010 04:26 PM, Arun R Bharadwaj wrote: * Arun R Bharadwaj [2010-07-13 16:24:41]: This patch implements TLERROR/RLERROR in the qemu 9P server. Signed-off-by: Arun R Bharadwaj --- hw/virtio-9p.c | 19 +-- hw/virtio-9p.h |2 ++ 2 files changed, 15 inse

Re: [Qemu-devel] QMP argument parser does not verify json type

2010-07-13 Thread Markus Armbruster
Miguel Di Ciurcio Filho writes: > Hi there, > > I've run QEMU like this: > > $ qemu -qmp tcp:localhost:3000,server,nowait -netdev > type=tap,id=ndev1,vhost=on > > Then I run these commands over QMP: > > works: > {"execute": "device_add", "arguments": {"driver": "virtio-net-pci", > "csum": "off",

Re: [Qemu-devel] [PATCH v2] QMP: Introduce the documentation for query-qdm

2010-07-13 Thread Markus Armbruster
[cc: kraxel] I didn't get around to review v1. Sorry. Miguel Di Ciurcio Filho writes: > Changelog from v1 > - > - renamed "props" to "properties" > - updated the examples > - reworded the explanations of "name" and "description" > - split "type" into a json-object, adding "qmp"

[Qemu-devel] Re: [PATCH 0/8] vlan cleanup

2010-07-13 Thread Jan Kiszka
Miguel Di Ciurcio Filho wrote: > On Tue, Jul 13, 2010 at 3:16 AM, Jan Kiszka wrote: >> Miguel Di Ciurcio Filho wrote: >>> This series removes the vlan stuff without mercy. I've tried to make the >>> steps >>> as small as possible, but the last one is huge. I did some basic tests and >>> networkin

[Qemu-devel] Re: [PATCH 2/2] [virtio-9p] Implement TLERROR/RLERROR.

2010-07-13 Thread Arun R Bharadwaj
* Arun R Bharadwaj [2010-07-13 16:26:30]: > * Arun R Bharadwaj [2010-07-13 16:24:41]: > > This patch implements TLERROR/RLERROR in the qemu 9P server. > Here is the link to client implementation of the same http://sourceforge.net/mailarchive/message.php?msg_name=20100713110049.GC11854%40linux

[Qemu-devel] Re: [PATCH 0/8] vlan cleanup

2010-07-13 Thread Miguel Di Ciurcio Filho
On Tue, Jul 13, 2010 at 3:16 AM, Jan Kiszka wrote: > Miguel Di Ciurcio Filho wrote: >> This series removes the vlan stuff without mercy. I've tried to make the >> steps >> as small as possible, but the last one is huge. I did some basic tests and >> networking is still working, so reviews are wel

[Qemu-devel] [PATCH] scsi: Dequeue requests before invoking completion callback

2010-07-13 Thread Jan Kiszka
The request completion callback of the LSI controller may start the next request that can use the same tag as the completed one. As the latter is still enqueued at that point, scsi_send_command will complain about the tag reuse and cancel the completed request. That will cause a double free later o

[Qemu-devel] [Tracing][PATCH] Allow bulk enabling of trace events at compile time.

2010-07-13 Thread Prerna Saxena
[PATCH] For 'simple' trace backend, allow bulk enabling/disabling of trace events at compile time. Trace events that are preceded by 'disable' keyword are compiled in, but turned off by default. These can individually be turned on using the monitor. All other trace events are enabled by defaul

Re: [Qemu-devel] Re: [PATCH RFC] e1000: fix access 4 bytes beyond buffer end

2010-07-13 Thread Gleb Natapov
On Tue, Jul 13, 2010 at 02:11:10PM +0300, Michael S. Tsirkin wrote: > On Tue, Jul 13, 2010 at 09:35:49AM +0300, Gleb Natapov wrote: > > On Mon, Jul 12, 2010 at 06:00:20PM -0500, Anthony Liguori wrote: > > > On 07/12/2010 05:42 PM, Michael S. Tsirkin wrote: > > > >On Mon, Jul 12, 2010 at 04:07:21PM

Re: [Qemu-devel] Re: [PATCH RFC] e1000: fix access 4 bytes beyond buffer end

2010-07-13 Thread Michael S. Tsirkin
On Tue, Jul 13, 2010 at 09:35:49AM +0300, Gleb Natapov wrote: > On Mon, Jul 12, 2010 at 06:00:20PM -0500, Anthony Liguori wrote: > > On 07/12/2010 05:42 PM, Michael S. Tsirkin wrote: > > >On Mon, Jul 12, 2010 at 04:07:21PM -0500, Anthony Liguori wrote: > > >>On 07/12/2010 12:48 PM, Michael S. Tsirk

[Qemu-devel] [PATCH 2/2] [virtio-9p] Implement TLERROR/RLERROR.

2010-07-13 Thread Arun R Bharadwaj
* Arun R Bharadwaj [2010-07-13 16:24:41]: This patch implements TLERROR/RLERROR in the qemu 9P server. Signed-off-by: Arun R Bharadwaj --- hw/virtio-9p.c | 19 +-- hw/virtio-9p.h |2 ++ 2 files changed, 15 insertions(+), 6 deletions(-) Index: qemu/hw/virtio-9p.h

[Qemu-devel] [PATCH 1/2] [virtio-9p] Cleanup legacy 'dotu' variable.

2010-07-13 Thread Arun R Bharadwaj
Hi, This patch cleans up the legacy 'dotu' variable which is always set to 1 by default, since qemu doesnt support legacy 9p clients. Signed-off-by: Arun R Bharadwaj --- hw/virtio-9p-debug.c | 26 +++ hw/virtio-9p-debug.h |1 hw/virtio-9p.c | 119 +++---

[Qemu-devel] fix for stable: audio/alsa: Handle SND_PCM_STATE_SETUP in alsa_poll_handler

2010-07-13 Thread Bjørn Mork
Any reason why this isn't in stable-0.12? I got bitten by it on Debian, using their qemu-kvm package from "squeeze". Bjørn commit d9812b033a17c82f9e933757c1c3ef364e3ba62d Author: malc Date: Sun Feb 28 18:34:21 2010 +0300 audio/alsa: Handle SND_PCM_STATE_SETUP in alsa_poll_handler

[Qemu-devel] Re: [SeaBIOS] [PATCH 2/7] seabios: shadow: make device finding more generic.

2010-07-13 Thread Isaku Yamahata
On Mon, Jul 12, 2010 at 08:59:14PM -0400, Kevin O'Connor wrote: > On Mon, Jul 12, 2010 at 08:47:47PM +0900, Isaku Yamahata wrote: > > pam register offset is north bridge specific. > > So determine the offset based on found north bridge. > > Is it really just the offset that is north bridge specifi

Re: [Qemu-devel] Re: BTRFS: Unbelievably slow with kvm/qemu

2010-07-13 Thread Kevin Wolf
Am 12.07.2010 15:43, schrieb Josef Bacik: > On Mon, Jul 12, 2010 at 03:34:44PM +0200, Giangiacomo Mariotti wrote: >> On Mon, Jul 12, 2010 at 9:09 AM, Michael Tokarev wrote: >>> >>> This looks quite similar to a problem with ext4 and O_SYNC which I >>> reported earlier but no one cared to answer (o

Re: [Qemu-devel] how to add one pcie device to qemu

2010-07-13 Thread Isaku Yamahata
Hi Lisa. If your target device isn't pcie port switch device, pci_bridge_xxx() aren't what you want. Just create pci device with PCIDeviceInfo::is_express = 1. Then its configuration space size is 4K. The rest part is same as conventional pci. Helper functions in pcie.c can be used, but not manda

Re: [Qemu-devel] Re: [OpenBIOS] [commit] r791 - in trunk/openbios-devel: fs/grubfs include/fs packages

2010-07-13 Thread Mark Cave-Ayland
Aurelien Jarno wrote: Unfortunately this commit has broken PowerPC boot using the Quik bootloader. CD-ROM boot is not affected. This can easily be reproduced using the image from: http://people.debian.org/~aurel32/qemu/powerpc/debian_lenny_powerpc_small.qcow2 I have tried with the latest avail

[Qemu-devel] [PATCH 1/2][Tracing] Specify trace file name

2010-07-13 Thread Stefan Hajnoczi
From: Prerna Saxena Allow users to specify a file for trace-outputs at configuration. Also, allow trace files to be annotated by so each qemu instance has unique traces. The trace file name can be passed as a config option: --trace-file=/path/to/file (Default : /tmp/trace ) At runtime, the pid

[Qemu-devel] [PATCH 2/2][Tracing] Add trace-file command to open/close/flush trace file

2010-07-13 Thread Stefan Hajnoczi
This patch adds the trace-file command: trace-file [on|off|flush] Open, close, or flush the trace file. If no argument is given, the status of the trace file is displayed. The trace file is turned on by default but is only written out when the trace buffer becomes full. The flush operati

[Qemu-devel] [Bug 604872] Re: qemu-system-arm segfaults emulating versatile machine after running debootstrap --second-stage inside vm

2010-07-13 Thread Oliver Grawert
** Tags added: armel -- qemu-system-arm segfaults emulating versatile machine after running debootstrap --second-stage inside vm https://bugs.launchpad.net/bugs/604872 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: New

Re: [Qemu-devel] Re: KVM Call agenda for July 13th

2010-07-13 Thread Avi Kivity
On 07/13/2010 09:57 AM, Aurelien Jarno wrote: Avi Kivity a écrit : On 07/12/2010 05:57 PM, Juan Quintela wrote: Please send in any agenda items you are interested in covering. 0.12.n+1 I won't be at the KVM call, but I can work on that in the next days. Basically t

[Qemu-devel] Re: [OpenBIOS] [commit] r791 - in trunk/openbios-devel: fs/grubfs include/fs packages

2010-07-13 Thread Aurelien Jarno
On Tue, Jun 08, 2010 at 10:59:09PM +0200, repository service wrote: > Author: mcayland > Date: Tue Jun 8 22:59:08 2010 > New Revision: 791 > URL: http://tracker.coreboot.org/trac/openbios/changeset/791 > > Log: > As documented on the mailing lists, change the interposition order of the > disk pa

[Qemu-devel] Hantera obetalda fakturor

2010-07-13 Thread DokuMera Nyhetsbrev
Om du har problem med att läsa detta e-postmeddelande, klicka här (http://www.anp.se/newsletter/787687/444059437941455D4B7142445C43) för en webb-version. Vårt nyhetsbrev skickas automatiskt till våra kunder och intressenter. Vill du inte ha detta nyhetsbrev framöver, klicka här för att avprenu

Re: [Qemu-devel] how to add one pcie device to qemu

2010-07-13 Thread Lisa Lei
Thanks, Yamahata sam, then, could you give me so some advice about how to add one pcie device to it? I studied the source code, but still have no idea, I'm thinking that add one pcie device through pci_bridge_qdev_register() and device_init(), just like downstream and upstream, is it available? tha