[Qemu-devel] [Bug 821078] Re: virtio-serial-bus: Unexpected port id

2011-08-12 Thread Rick Vernam
This continues to occur with qemu-kvm 0.15 on only one of my WXP VMs. The fact that one of them works fine led me to believe it was a windows issue (or spice), but the fact that both work fine with straight qemu indicates that there is something with qemu-kvm involved in the problem. -- You recei

[Qemu-devel] [Bug 818673] Re: virtio: trying to map MMIO memory

2011-08-12 Thread Rick Vernam
Continues with Qemu 0.15.0 and Qemu-KVM 0.15.0 -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/818673 Title: virtio: trying to map MMIO memory Status in QEMU: New Bug description: Qemu host is

Re: [Qemu-devel] Fix refcounting in hugetlbfs quota handling

2011-08-12 Thread David Gibson
On Fri, Aug 12, 2011 at 12:15:21PM -0700, Hugh Dickins wrote: > On Fri, 12 Aug 2011, Minchan Kim wrote: > > On Fri, Aug 12, 2011 at 9:48 AM, Linus Torvalds > > wrote: > > > On Wed, Aug 10, 2011 at 11:40 PM, David Gibson > > > wrote: > > >> > > >> This patch, therefore, stores a pointer to the ino

Re: [Qemu-devel] [net-next RFC PATCH 0/7] multiqueue support for tun/tap

2011-08-12 Thread Sridhar Samudrala
On Fri, 2011-08-12 at 09:54 +0800, Jason Wang wrote: > As multi-queue nics were commonly used for high-end servers, > current single queue based tap can not satisfy the > requirement of scaling guest network performance as the > numbers of vcpus increase. So the following series > implements multip

[Qemu-devel] KVM Forum 2011

2011-08-12 Thread KVM Forum 2011 PC
For those who are travelling to the KVM Forum, looking forward to seeing you in Vancouver. And for those who can't make it, we'll be posting the presentations online as well as recording the presentations and making the videos available online (subject to presenter's approval). Here is the schedu

Re: [Qemu-devel] [net-next RFC PATCH 4/7] tuntap: multiqueue support

2011-08-12 Thread Paul E. McKenney
On Fri, Aug 12, 2011 at 09:55:20AM +0800, Jason Wang wrote: > With the abstraction that each socket were a backend of a > queue for userspace, this patch adds multiqueue support for > tap device by allowing multiple sockets to be attached to a > tap device. Then we could parallize the transmission

Re: [Qemu-devel] Fix refcounting in hugetlbfs quota handling

2011-08-12 Thread Christoph Hellwig
On Thu, Aug 11, 2011 at 04:40:59PM +1000, David Gibson wrote: > Linus, please apply > > hugetlbfs tracks the current usage of hugepages per hugetlbfs > mountpoint. To correctly track this when hugepages are released, it > must find the right hugetlbfs super_block from the struct page > available

[Qemu-devel] Memory API documentation typo?

2011-08-12 Thread Michael Walle
Hi Avi, docs/memory.txt, states the following: - .impl.valid specifies that the *implementation* only supports unaligned accesses; unaligned accesses will be emulated by two aligned accesses. i guess that should read ".. implementation only supports _aligned_ accesses.." -- Michael

Re: [Qemu-devel] [RFC] Planning for 1.0 (and freezing the master branch)

2011-08-12 Thread Blue Swirl
On Thu, Aug 11, 2011 at 9:54 PM, Gerd Hoffmann wrote: >  Hi, > >>> In general the idea is OK. Especially soft freeze could solve problems >>> like those qemu-ga inclusion had. >>> >>> Two weeks for soft freeze would be close to OK but I think a month of >>> hard freeze is too long. With the previo

[Qemu-devel] Qemu improvements doubt

2011-08-12 Thread Rodrigo Ferreira de Souza
Hi everyone Just to know.. Is qemu 0.15 faster then qemu 0.12 to emulate a virtual machine? or the last improvements was just with the virtualizer part of qemu ? Since now Thanks, Rodrigo Ferreira de Souza python -c "print ''.join([chr(154 - ord(c)) for c in 'H+6(13+zT5((51(9z65zG+% 9zmz(+645(\

Re: [Qemu-devel] [PATCH V2] xen-mapcache: Fix rlimit set size.

2011-08-12 Thread Stefano Stabellini
On Thu, 4 Aug 2011, Anthony PERARD wrote: > Previously, the address space soft limit was set mcache_max_size. So, > before the mcache_max_size was reached by the mapcache, QEMU was killed > for overuse of the virtual address space. > > This patch fix that by setting the soft limit the maximum than

[Qemu-devel] Booting Linux with U-Boot on QEMU for MIPS malta platform

2011-08-12 Thread Abbas Raza
Hello, I want to boot linux with u-boot on Qemu for MIPS malta platform. But as far as i know, u-boot has no support for MIPS malta platform and it has support for only qemu-mips platform. But u-boot compiled for qemu-mips platform will not boot linux compiled for malta platform. So what are o

[Qemu-devel] Calling a function every N instructions or simulated cpu cycles

2011-08-12 Thread Adnan Khaleel
I'm using Qemu along with a network simulator and I need to perform a synchronization every N cycles. What is the best way to do this in Qemu so that I can call a function periodically say every N instructions or simulated cpu cycles? Currently I have a routine in main_loop() in vl.c but it see

Re: [Qemu-devel] [PATCH] hw/scsi-bus.c: Fix use of uninitialised variable

2011-08-12 Thread Blue Swirl
On Fri, Aug 12, 2011 at 4:49 PM, Peter Maydell wrote: > Don't use req before it has been initialised in scsi_req_new(). > This fixes a compile failure due to gcc complaining about this. It fixes a crash if the warning is ignored: Configuration device id QEMU version 1 machine id 32 Program recei

Re: [Qemu-devel] Fix refcounting in hugetlbfs quota handling

2011-08-12 Thread Hugh Dickins
On Fri, 12 Aug 2011, Minchan Kim wrote: > On Fri, Aug 12, 2011 at 9:48 AM, Linus Torvalds > wrote: > > On Wed, Aug 10, 2011 at 11:40 PM, David Gibson > > wrote: > >> > >> This patch, therefore, stores a pointer to the inode instead of the > >> address_space in the page private data for hugepages.

[Qemu-devel] [Bug 656285] Re: arm-semi mishandling SYS_HEAPINFO

2011-08-12 Thread Peter Maydell
QEMU 0.15.0 has been released with a fix for this bug. ** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/656285 Title: arm-semi mishan

[Qemu-devel] [Bug 662461] Re: -name error message should have trailing newline

2011-08-12 Thread Peter Maydell
QEMU 0.15.0 has been released with a fix for this bug. ** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/662461 Title: -name error mes

[Qemu-devel] [Bug 731344] Re: When accessing to disk with qemu-system-arm Error occours

2011-08-12 Thread Peter Maydell
QEMU 0.15.0 has been released with a fix for this bug. ** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/731344 Title: When accessing

[Qemu-devel] [Bug 670776] Re: Build errors on TEGRA2(ubuntu), testandset()

2011-08-12 Thread Peter Maydell
QEMU 0.15.0 has been released with a fix for this bug. ** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/670776 Title: Build errors on

Re: [Qemu-devel] [PATCH 10/16] scsi: move request parsing to common code

2011-08-12 Thread Paolo Bonzini
On 08/12/2011 06:55 PM, Peter Maydell wrote: Does it still make sense to set req->cmd to cmd (and to look at cmd at all) in the case where scsi_req_parse() failed and might not have actually initialised all of cmd? For instance the tracing code (added to scsi_req_new() after this patch) looks at

Re: [Qemu-devel] [PATCH 10/16] scsi: move request parsing to common code

2011-08-12 Thread Paolo Bonzini
On 08/12/2011 06:12 PM, Peter Maydell wrote: This patch makes current master fail to compile with optimisation on: gcc complains: hw/scsi-bus.c: In function ‘scsi_req_new’: hw/scsi-bus.c:375: error: ‘req’ may be used uninitialized in this function because in the 'else' clause we look at req->cm

Re: [Qemu-devel] [PATCH 10/16] scsi: move request parsing to common code

2011-08-12 Thread Peter Maydell
On 3 August 2011 09:49, Paolo Bonzini wrote: > @@ -157,8 +172,22 @@ SCSIRequest *scsi_req_new(SCSIDevice *d, uint32_t tag, > uint32_t lun, >                           uint8_t *buf, void *hba_private) >  { >     SCSIRequest *req; > -    req = d->info->alloc_req(d, tag, lun, hba_private); > -    me

[Qemu-devel] [PATCH] hw/scsi-bus.c: Fix use of uninitialised variable

2011-08-12 Thread Peter Maydell
Don't use req before it has been initialised in scsi_req_new(). This fixes a compile failure due to gcc complaining about this. Signed-off-by: Peter Maydell --- hw/scsi-bus.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c index f2af6cd..55

[Qemu-devel] [PATCH v3 6/8] VMDK: creating streamOptimized subformat

2011-08-12 Thread Fam Zheng
Creating streamOptimized subformat. Added subformat option 'streamOptimized', to create a image with compression enabled and each cluster with a GrainMarker. Signed-off-by: Fam Zheng --- block/vmdk.c | 18 -- 1 files changed, 12 insertions(+), 6 deletions(-) diff --git a/block

Re: [Qemu-devel] [PATCH 10/16] scsi: move request parsing to common code

2011-08-12 Thread Peter Maydell
On 3 August 2011 09:49, Paolo Bonzini wrote: > @@ -157,8 +172,22 @@ SCSIRequest *scsi_req_new(SCSIDevice *d, uint32_t tag, > uint32_t lun, >                           uint8_t *buf, void *hba_private) >  { >     SCSIRequest *req; > -    req = d->info->alloc_req(d, tag, lun, hba_private); > -    me

[Qemu-devel] [PATCH v3 4/8] VMDK: Opening compressed extent.

2011-08-12 Thread Fam Zheng
Added flags field for compressed/streamOptimized extents, open and save image configuration. Signed-off-by: Fam Zheng --- block/vmdk.c | 16 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/block/vmdk.c b/block/vmdk.c index 466d0c2..cc8b888 100644 --- a/block/vm

[Qemu-devel] [PATCH v3 1/8] VMDK: enable twoGbMaxExtentFlat

2011-08-12 Thread Fam Zheng
Enable the createType 'twoGbMaxExtentFlat'. The supporting code is already in. Signed-off-by: Fam Zheng --- block/vmdk.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/block/vmdk.c b/block/vmdk.c index 37478d2..e22a893 100644 --- a/block/vmdk.c +++ b/block/vmdk.c @@

[Qemu-devel] [PATCH v3 2/8] VMDK: add twoGbMaxExtentSparse support

2011-08-12 Thread Fam Zheng
Add twoGbMaxExtentSparse support. Introduce vmdk_free_last_extent. Signed-off-by: Fam Zheng --- block/vmdk.c | 133 -- 1 files changed, 83 insertions(+), 50 deletions(-) diff --git a/block/vmdk.c b/block/vmdk.c index e22a893..ab15840 1006

[Qemu-devel] [PATCH RFC] sparc32: add dbri audio device

2011-08-12 Thread Bob Breuer
Here's a first look at adding the dbri audio device for sparc32. For now, this is only usable with the SS-20 OBP rom, but I'm looking at adding the slot probing to OpenBIOS to make it work there. It also needs to be adapted to the new memory api. If a bus for sbus was created, it should become po

[Qemu-devel] [PATCH v3 7/8] VMDK: bugfix, open Haiku vmdk image

2011-08-12 Thread Fam Zheng
Haiku provides a specially formed vmdk image, which let qemu abort. It a combination of sparse header and flat data (i.e. with not l1/l2 table at all). The fix is turn to descriptor when sparse header is zero in field 'capacity'. Signed-off-by: Fam Zheng --- block/vmdk.c | 15 +++

[Qemu-devel] [PATCH v3 3/8] VMDK: separate vmdk_read_extent/vmdk_write_extent

2011-08-12 Thread Fam Zheng
Factor out read/write extent code, since there will be more things to take care of once reading/writing compressed clusters is introduced. Signed-off-by: Fam Zheng --- block/vmdk.c | 54 +- 1 files changed, 45 insertions(+), 9 deletions(-) d

Re: [Qemu-devel] [PATCH 00/16] SCSI sense and target request overhaul

2011-08-12 Thread Paolo Bonzini
On 08/12/2011 03:49 PM, Anthony Liguori wrote: Applied all. Thanks. It fuzzed a bit, it seems pretty trivial to me but wouldn't hurt to double check. I tested SCSI quite a bit afterwards too. Thanks. Sorry Markus, you'll have a bit of conflict resolution to do. I can help if you want.

Re: [Qemu-devel] [PATCH v3 3/4] savevm: define new unambiguous migration format

2011-08-12 Thread Paolo Bonzini
On 08/12/2011 05:16 PM, Anthony Liguori wrote: Because of the change we made for 0.15, this is no longer strictly needed. It only matters if we add a subsection to a structure, right? Yes. We can also check the current migration format in the "needed" function for such subsections, if necess

[Qemu-devel] [PATCH v3 8/8] VMDK: bugfix, opening vSphere 4 exported image

2011-08-12 Thread Fam Zheng
The vSphere 4 exported image is streamOptimized extent, which is not quite correctly handled. Ignore rdgOffset when RGD flag bit not set. Signed-off-by: Fam Zheng --- block/vmdk.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/block/vmdk.c b/block/vmdk.c index a

[Qemu-devel] [PATCH v3 5/8] VMDK: read/write compressed extent

2011-08-12 Thread Fam Zheng
Add support for reading/writing compressed extent. Signed-off-by: Fam Zheng --- block/vmdk.c | 113 +++-- 1 files changed, 101 insertions(+), 12 deletions(-) diff --git a/block/vmdk.c b/block/vmdk.c index cc8b888..c153d3d 100644 --- a/block/v

[Qemu-devel] [PATCH] Add a TPM Passthrough backend driver implementation

2011-08-12 Thread Andreas Niederl
This patch is based of off version 7 of Stefan Berger's patch series "Qemu Trusted Platform Module (TPM) integration" and adds a new backend driver for it. This patch adds a passthrough backend driver for passing commands sent to the emulated TPM device directly to a TPM device opened on the hos

[Qemu-devel] [PATCH v3 0/8] Add various VMDK subformats support

2011-08-12 Thread Fam Zheng
Changes: 02/06: Free extents on fail in vmdk_open. Added: 07/08: VMDK: bugfix, open Haiku vmdk image 08/08: VMDK: bugfix, opening vSphere 4 exported image Fam Zheng (8): VMDK: enable twoGbMaxExtentFlat VMDK: add twoGbMaxExtentSparse support VMDK: separate vmdk_read_extent/vm

Re: [Qemu-devel] [PATCH v3 3/4] savevm: define new unambiguous migration format

2011-08-12 Thread Anthony Liguori
On 08/12/2011 10:11 AM, Anthony Liguori wrote: On 08/12/2011 04:59 AM, Paolo Bonzini wrote: With the current migration format, VMS_STRUCTs with subsections are ambiguous. The protocol cannot tell whether a 0x5 byte after the VMS_STRUCT is a subsection or part of the parent data stream. In the pa

Re: [Qemu-devel] [PATCH V7 12/13] Support for taking measurements when kernel etc. are passed to Qemu

2011-08-12 Thread Andreas Niederl
Hi, the SHA1_HashBuf function you are using originates from a non-public internal API which gets packaged on Fedora but is not available at least on Debian (Squeeze) and Gentoo. Could you please use HASH_HashBuf(HASH_AlgSHA1,...) which is available on more platforms? The attached patch would do th

Re: [Qemu-devel] [PATCH v3 3/4] savevm: define new unambiguous migration format

2011-08-12 Thread Anthony Liguori
On 08/12/2011 04:59 AM, Paolo Bonzini wrote: With the current migration format, VMS_STRUCTs with subsections are ambiguous. The protocol cannot tell whether a 0x5 byte after the VMS_STRUCT is a subsection or part of the parent data stream. In the past QEMU assumed it was always a part of a subse

Re: [Qemu-devel] [PATCH 2/2] guest agent: remove uneeded dependencies

2011-08-12 Thread Michael Roth
On 08/12/2011 09:07 AM, Anthony Liguori wrote: On 08/11/2011 03:38 PM, Michael Roth wrote: This patch tries to cull any uneeded library dependencies from the guest agent to improve portability across various distros. We do so by being as explicit as possible about in-tree dependencies rather tha

Re: [Qemu-devel] [PULL] seabios update

2011-08-12 Thread Michael S. Tsirkin
On Fri, Aug 12, 2011 at 08:03:55AM -0500, Anthony Liguori wrote: > On 08/10/2011 11:38 AM, Gerd Hoffmann wrote: > > Hi, > > > >This pull brings the latest seabios bits to master, featuring AHCI > >support with all bells and whistles. So you can finally boot from your > >AHCI disk, and bootorder

Re: [Qemu-devel] [PATCH V7 13/13] Add a TPM backend null driver implementation

2011-08-12 Thread Andreas Niederl
Hi, the null driver backend generates a warning for me on gcc-4.4.5: cc1: warnings being treated as errors /home/aniederl/work/actvsm/qemu/hw/tpm_null.c: In function ‘tpm_null_main_loop’: /home/aniederl/work/actvsm/qemu/hw/tpm_null.c:107: error: ‘in’ may be used uninitialized in this function mak

Re: [Qemu-devel] [SeaBIOS] [PATCH V6 1/9] Add an implementation of a TPM TIS driver

2011-08-12 Thread Andreas Niederl
Hi, compiling SeaBios with your patch produces the following error for me with gcc-4.4.5: src/tpm_drivers.c: In function ‘tis_init’: src/tpm_drivers.c:43: error: ‘tpm_drivers’ undeclared (first use in this function) The attached patch should fix this. Regards, Andreas commit 065be9bee0a0f13cdc

Re: [Qemu-devel] [net-next RFC PATCH 4/7] tuntap: multiqueue support

2011-08-12 Thread Eric Dumazet
Le vendredi 12 août 2011 à 09:55 +0800, Jason Wang a écrit : >+ rxq = skb_get_rxhash(skb); >+ if (rxq) { >+ tfile = rcu_dereference(tun->tfiles[rxq % numqueues]); >+ if (tfile) >+ goto out; >+ } You can avoid an expensive divide

Re: [Qemu-devel] [PATCH 2/2] guest agent: remove uneeded dependencies

2011-08-12 Thread Anthony Liguori
On 08/11/2011 03:38 PM, Michael Roth wrote: This patch tries to cull any uneeded library dependencies from the guest agent to improve portability across various distros. We do so by being as explicit as possible about in-tree dependencies rather than relying on existing *-obj-y targets, and by ma

Re: [Qemu-devel] [PATCH 1/5] qemu-char: make qemu_chr_event public

2011-08-12 Thread Anthony Liguori
On 08/11/2011 07:25 AM, Hans de Goede wrote: Make qemu_chr_event public so that it can be used by chardev code which lives outside of qemu-char.c Normally, qemu_chr_generic_open() would be used to do this. Of course, there is no generic_close(). Are you sure you don't need the BH indirectio

Re: [Qemu-devel] [PATCH 3/5] usb-redir: Call qemu_chr_guest_open/close

2011-08-12 Thread Anthony Liguori
On 08/11/2011 07:25 AM, Hans de Goede wrote: To let the chardev now we're ready start receiving data. This is necessary with the spicevmc chardev to get it registered with the spice-server. Signed-off-by: Hans de Goede --- usb-redir.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(

Re: [Qemu-devel] [PATCH 00/16] SCSI sense and target request overhaul

2011-08-12 Thread Anthony Liguori
On 08/03/2011 03:49 AM, Paolo Bonzini wrote: This is a pretty important step in the modernization and improvement of the SCSI backends, and a prerequisite for pretty much everything that is on the table: migration, addressing, improved CD-ROM support, hotplug. Applied all. Thanks. It fuzzed a

Re: [Qemu-devel] [PATCH 2/3] memory: add API for creating ROM/device regions

2011-08-12 Thread Anthony Liguori
On 08/08/2011 11:58 AM, Avi Kivity wrote: ROM/device regions act as mapped RAM for reads, can I/O memory for writes. This allow emulation of flash devices. Signed-off-by: Avi Kivity --- memory.c | 46 -- memory.h | 34 ++

Re: [Qemu-devel] [PATCH 0/3] Memory API updates

2011-08-12 Thread Anthony Liguori
On 08/08/2011 11:58 AM, Avi Kivity wrote: The following patches fix a resource leak, add a ROM/device API (for flash devices which act like memory when read, and as an mmio device when written), and correct typos in the documentation. Applied all. Thanks. Regards, Anthony Liguori Avi Kivi

Re: [Qemu-devel] [PATCH] configure: Disable guest_agent for mingw32

2011-08-12 Thread Anthony Liguori
On 08/06/2011 03:47 PM, Stefan Weil wrote: guest_agent is not supported for mingw32, so the default value should be 'no', not 'yes'. This removes the dependencies to glib-2.0 and python which makes native and cross builds for w32 much easier (no need to get and install these extra packages). It

Re: [Qemu-devel] [PATCH 1/2] pc: make vgabios exit port more useful

2011-08-12 Thread Anthony Liguori
On 08/08/2011 02:31 PM, Anthony Liguori wrote: We've always listened on port 501 for vgabios panic messages. In the entire time I've worked on QEMU, I've never actually seen a vgabios panic message :-) If we change the semantics of this port a little bit, it makes it possible to use it for more

Re: [Qemu-devel] [PATCH STABLE] build: Move QEMU_INCLUDES before QEMU_CFLAGS

2011-08-12 Thread Anthony Liguori
On 08/10/2011 05:04 AM, Jiri Denemark wrote: This patch fixes build when any of the include paths from QEMU_CFLAGS contains a header file with similar name to a header file in qemu sources. I hit it with error.h included by qapi/qapi-types-core.h. GCC decided to use /usr/include/alsa/error.h inst

Re: [Qemu-devel] [PATCH STABLE] qapi: fix build issue due to missing newline in generated header

2011-08-12 Thread Anthony Liguori
On 08/10/2011 01:10 PM, Michael Roth wrote: Fixes a build issue on RHEL5, and potentially other distros, where gcc will generate an error due to us not writing a trailing "\n" when generating *qmp-commands.h Signed-off-by: Michael Roth Applied to master. Thanks. Regards, Anthony Liguori -

Re: [Qemu-devel] [PATCH 0/3] better I/O accounting

2011-08-12 Thread Christoph Hellwig
On Fri, Aug 12, 2011 at 06:50:57AM +0100, Stefan Hajnoczi wrote: > I do see the drawbacks of leaving accounting in block.c on every > request. For example, we'll fetch the timestamp for internal requests > as well as external requests from hardware emulation. Due to memory > mapping and bounce bu

Re: [Qemu-devel] [PATCH] PPC: Fix for the gdb single step problem on an rfi instruction

2011-08-12 Thread Elie Richa
Hello, I've had this problem recently and your patch does fix the issue, thanks! Regards, Elie On 08/10/2011 01:41 PM, Sebastian Bauer wrote: When using gdb to single step a ppc interrupt routine, the execution flow passes the rfi instruction without actually returning from the interrupt. The

Re: [Qemu-devel] [PATCH] posix-aio-compat: fix latency issues

2011-08-12 Thread Anthony Liguori
On 08/08/2011 06:37 AM, Avi Kivity wrote: In certain circumstances, posix-aio-compat can incur a lot of latency: - threads are created by vcpu threads, so if vcpu affinity is set, aio threads inherit vcpu affinity. This can cause many aio threads to compete for one cpu. - we can crea

Re: [Qemu-devel] [PATCH 17/24] arm11mpcore: use sysbus_init_mmio_cb2

2011-08-12 Thread Peter Maydell
On 8 August 2011 18:07, Avi Kivity wrote: > This tells the sysbus code it need not use IO_MEM_UNASSIGNED. > > Signed-off-by: Avi Kivity > --- >  hw/arm11mpcore.c |    7 ++- >  1 files changed, 6 insertions(+), 1 deletions(-) > > diff --git a/hw/arm11mpcore.c b/hw/arm11mpcore.c > index b47707f

Re: [Qemu-devel] [PULL] [PATCHSET 1] VirtFS coroutine changes

2011-08-12 Thread Anthony Liguori
On 08/11/2011 11:15 AM, Aneesh Kumar K.V wrote: On Mon, 8 Aug 2011 22:33:48 +0530, "Aneesh Kumar K.V" wrote: Full patchset is available at git://repo.or.cz/qemu/v9fs.git for-upstream-1 -aneesh Pulled. Thanks. Regards, Anthony Liguori Here is the updated pull request. I folded few pa

Re: [Qemu-devel] [PULL] spice patch queue

2011-08-12 Thread Anthony Liguori
On 08/11/2011 02:13 AM, Gerd Hoffmann wrote: Hi, Here comes the spice patch queue with two little fixes queued up and and extension of the "info spice" monitor command which reports the spice version too now. Pulled. Thanks. Regards, Anthony Liguori please pull, Gerd The following

Re: [Qemu-devel] [PULL] usb patch queue

2011-08-12 Thread Anthony Liguori
On 08/11/2011 02:03 AM, Gerd Hoffmann wrote: Hi, More usb and hid bits. Fixes a usb tablet regression with windows xp. milkymist goes use the new, splitted hid code directly instead of (ab-)using the usb-kbd device, which in turn allows to kill the usb_hid_datain_cb callback as no users are

Re: [Qemu-devel] [PULL] seabios update

2011-08-12 Thread Anthony Liguori
On 08/10/2011 11:38 AM, Gerd Hoffmann wrote: Hi, This pull brings the latest seabios bits to master, featuring AHCI support with all bells and whistles. So you can finally boot from your AHCI disk, and bootorder works too! The pci device handling got a major update too. Most visible is the

[Qemu-devel] [PULL 0/3] Trivial patches for August 4 to 12 2011

2011-08-12 Thread Stefan Hajnoczi
The following changes since commit 8cc7c3952d4d0a681d8d4c3ac89a206a5bfd7f00: etrax-ser: printf -> qemu_log. (2011-08-11 12:02:30 +0200) are available in the git repository at: ssh://repo.or.cz/srv/git/qemu/stefanha.git trivial-patches Paolo Bonzini (1): fix QLIST usage for RAM list Pe

[Qemu-devel] [PATCH 3/3] fix QLIST usage for RAM list

2011-08-12 Thread Stefan Hajnoczi
From: Paolo Bonzini Spotted while reviewing the migration thread patches. Signed-off-by: Paolo Bonzini Signed-off-by: Stefan Hajnoczi --- cpu-all.h |2 +- exec.c|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu-all.h b/cpu-all.h index fa0205c..f5c82cd 10064

[Qemu-devel] [PATCH] sheepdog: use coroutines

2011-08-12 Thread MORITA Kazutaka
This makes the sheepdog block driver support bdrv_co_readv/writev instead of bdrv_aio_readv/writev. With this patch, Sheepdog network I/O becomes fully asynchronous. The block driver yields back when send/recv returns EAGAIN, and is resumed when the sheepdog network connection is ready for the op

[Qemu-devel] [PATCH 2/3] hw/qdev: Don't crash if qdev_create(NULL, ...) fails

2011-08-12 Thread Stefan Hajnoczi
From: Peter Maydell If an attempt to create a qdev device on the default sysbus (by passing NULL as the bus to qdev_create) fails, print a useful error message rather than crashing trying to dereference a NULL pointer. Signed-off-by: Peter Maydell Reviewed-by: Markus Armbruster Signed-off-by:

[Qemu-devel] [PATCH 1/3] scsi-bus: use DO_UPCAST

2011-08-12 Thread Stefan Hajnoczi
From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu Reviewed-by: Markus Armbruster Signed-off-by: Stefan Hajnoczi --- hw/scsi-bus.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/scsi-bus.c b/hw/scsi-bus.c index 0b0344c..d1ef559 100644 --- a/hw/scsi-bus.c +++ b/hw/scsi-

Re: [Qemu-devel] [Qemu-trivial] [PATCH] fix QLIST usage for RAM list

2011-08-12 Thread Stefan Hajnoczi
On Fri, Aug 12, 2011 at 01:18:14PM +0200, Paolo Bonzini wrote: > Spotted while reviewing the migration thread patches. > > Signed-off-by: Paolo Bonzini > --- > cpu-all.h |2 +- > exec.c|2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Thanks, applied to the trivial patches t

[Qemu-devel] [PATCH] fix QLIST usage for RAM list

2011-08-12 Thread Paolo Bonzini
Spotted while reviewing the migration thread patches. Signed-off-by: Paolo Bonzini --- cpu-all.h |2 +- exec.c|2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpu-all.h b/cpu-all.h index fa0205c..f5c82cd 100644 --- a/cpu-all.h +++ b/cpu-all.h @@ -488,7 +488,7 @@

Re: [Qemu-devel] [PATCH][RFC] post copy chardevice (was Re: [RFC] postcopy livemigration proposal)

2011-08-12 Thread Isaku Yamahata
Sample user land program for testing the post copy chardevice. === /* * sample user land for post copy vmem * * Copyright (c) 2011, * National Institute of Advanced Industrial Science and Technology * * https://sites.goo

[Qemu-devel] [PATCH][RFC] post copy chardevice (was Re: [RFC] postcopy livemigration proposal)

2011-08-12 Thread Isaku Yamahata
Here is the what I have right now for post copy chardevice. The sample user land will follow. It would give you more concrete idea and help further discussion, I hope. This is just for discussion, so it's incomplete. I'm open to other ideas and quite happy to throw away this patch and go for bette

Re: [Qemu-devel] signed division overflow workaround

2011-08-12 Thread Max Filippov
>> Hello. >> >>> +            case 13: /*QUOSi*/ >>> +                tcg_gen_div_i32(cpu_R[RRR_R], cpu_R[RRR_S], cpu_R[RRR_T]); >>> +                break; >> >> I'm currently developing test suite for xtensa port and found that >> with this implementation of QUOS (signed 32-bit division) guest th

Re: [Qemu-devel] signed division overflow workaround

2011-08-12 Thread Peter Maydell
On 12 August 2011 10:44, Max Filippov wrote: > Hello. > >> +            case 13: /*QUOSi*/ >> +                tcg_gen_div_i32(cpu_R[RRR_R], cpu_R[RRR_S], cpu_R[RRR_T]); >> +                break; > > I'm currently developing test suite for xtensa port and found that > with this implementation of

Re: [Qemu-devel] [PATCH v3] Add support for fd: protocol

2011-08-12 Thread Kevin Wolf
Am 11.08.2011 18:28, schrieb Corey Bryant: > > > On 07/26/2011 08:51 AM, Corey Bryant wrote: > > > +static int raw_open_fd(BlockDriverState *bs, const char *filename, > int flags) > > +{ > > +BDRVRawState *s = bs->opaque; > > +const char *fd_str; > > +int fd; > > + > > +/

[Qemu-devel] [PATCH v3 4/4] Partially revert "savevm: fix corruption in vmstate_subsection_load()."

2011-08-12 Thread Paolo Bonzini
This reverts the additional check in commit eb60260d (but not the assertions). The new format does not require the check, and with the old format it traded one kind of bogus failure for a different kind of silent failure. Signed-off-by: Paolo Bonzini --- savevm.c |4 1 files changed, 0

[Qemu-devel] [PATCH v3 3/4] savevm: define new unambiguous migration format

2011-08-12 Thread Paolo Bonzini
With the current migration format, VMS_STRUCTs with subsections are ambiguous. The protocol cannot tell whether a 0x5 byte after the VMS_STRUCT is a subsection or part of the parent data stream. In the past QEMU assumed it was always a part of a subsection; after commit eb60260 (savevm: fix corrup

[Qemu-devel] [PATCH v3 1/4] add support for machine models to specify their migration format

2011-08-12 Thread Paolo Bonzini
We need to provide a new migration format, and not break migration in old machine models. So add a migration_format field to QEMUMachine. This adds a dependency on ram_addr_t to savevm.c (through hw/boards.h), whose type definition depends on the word size. So move savevm.o to libhw. Signed-off

[Qemu-devel] [PATCH v3 2/4] add pc-0.14/pc-0.15 machine

2011-08-12 Thread Paolo Bonzini
The new pc-1.0 machine will have a different migration format, so define the compatibility one right now. Alias it to pc-0.14, since they are the same. Signed-off-by: Paolo Bonzini --- hw/pc_piix.c | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/hw/pc_piix.c

[Qemu-devel] [PATCH v3 0/4] Fix subsection ambiguity in the migration format

2011-08-12 Thread Paolo Bonzini
With the current migration format, VMS_STRUCTs with subsections are ambiguous. The protocol cannot tell whether a 0x5 byte after the VMS_STRUCT is a subsection or part of the parent data stream. In the past QEMU assumed it was always a part of a subsection; after commit eb60260 (savevm: fix corrup

[Qemu-devel] signed division overflow workaround

2011-08-12 Thread Max Filippov
Hello. > +            case 13: /*QUOSi*/ > +                tcg_gen_div_i32(cpu_R[RRR_R], cpu_R[RRR_S], cpu_R[RRR_T]); > +                break; I'm currently developing test suite for xtensa port and found that with this implementation of QUOS (signed 32-bit division) guest that divide 0x800

Re: [Qemu-devel] [PATCH v5 2/4] block: add the block queue support

2011-08-12 Thread Zhi Yong Wu
On Fri, Aug 12, 2011 at 4:42 PM, Stefan Hajnoczi wrote: > On Fri, Aug 12, 2011 at 9:10 AM, Zhi Yong Wu wrote: >> On Tue, Aug 9, 2011 at 8:49 PM, Stefan Hajnoczi wrote: >>> On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu >>> wrote: +/* The APIs for block request queue on qemu block layer.

Re: [Qemu-devel] [net-next RFC PATCH 7/7] virtio-net changes

2011-08-12 Thread Sasha Levin
On Fri, 2011-08-12 at 09:55 +0800, Jason Wang wrote: > From: Krishna Kumar > > Implement mq virtio-net driver. > > Though struct virtio_net_config changes, it works with the old > qemu since the last element is not accessed unless qemu sets > VIRTIO_NET_F_MULTIQUEUE. > > Signed-off-by: Krishna

[Qemu-devel] Affordable Link Building & SEO Services

2011-08-12 Thread Shivam
Hi, Greetings of the Day! We have launched our SEO packages on discounted prices. Avail the benefit of our discounted packages to boost up your business. We are a fast growing company based in India with primary focus on Website Designing, Web Development (ASP.Net, Java, Perl and PHP de

Re: [Qemu-devel] [PATCH v5 2/4] block: add the block queue support

2011-08-12 Thread Stefan Hajnoczi
On Fri, Aug 12, 2011 at 9:10 AM, Zhi Yong Wu wrote: > On Tue, Aug 9, 2011 at 8:49 PM, Stefan Hajnoczi wrote: >> On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wrote: >>> +/* The APIs for block request queue on qemu block layer. >>> + */ >>> + >>> +static void qemu_block_queue_cancel(BlockDriverAIOC

Re: [Qemu-devel] [PATCH v5 2/4] block: add the block queue support

2011-08-12 Thread Zhi Yong Wu
On Tue, Aug 9, 2011 at 8:49 PM, Stefan Hajnoczi wrote: > On Tue, Aug 9, 2011 at 5:17 AM, Zhi Yong Wu wrote: >> +/* The APIs for block request queue on qemu block layer. >> + */ >> + >> +static void qemu_block_queue_cancel(BlockDriverAIOCB *acb) >> +{ >> +    qemu_aio_release(acb); >> +} >> + >> +

Re: [Qemu-devel] [PATCH] qcow: initialize coroutine mutex

2011-08-12 Thread Kevin Wolf
Am 11.08.2011 23:27, schrieb Scott Wood: > commit 52b8eb60132b27ad53476490e9d7579003390cfa added a mutex, > but never initialized it. This caused a segfault. > > Reported-by: Alexander Graf > Signed-off-by: Scott Wood Thanks, applied to the block branch. Kevin

Re: [Qemu-devel] [PULL] spice patch queue

2011-08-12 Thread Gerd Hoffmann
On 08/12/11 09:00, Michael Tokarev wrote: 11.08.2011 11:13, Gerd Hoffmann wrote: Hi, Here comes the spice patch queue with two little fixes queued up and and extension of the "info spice" monitor command which reports the spice version too now. Should the two fixes go to stable? No, it f

Re: [Qemu-devel] [PULL] usb patch queue

2011-08-12 Thread Gerd Hoffmann
On 08/12/11 09:02, Michael Tokarev wrote: 11.08.2011 11:03, Gerd Hoffmann wrote: Hi, More usb and hid bits. Fixes a usb tablet regression with windows xp. milkymist goes use the new, splitted hid code directly instead of (ab-)using the usb-kbd device, which in turn allows to kill the usb_hi

Re: [Qemu-devel] [PULL] usb patch queue

2011-08-12 Thread Michael Tokarev
11.08.2011 11:03, Gerd Hoffmann wrote: > Hi, > > More usb and hid bits. Fixes a usb tablet regression with windows xp. > milkymist goes use the new, splitted hid code directly instead of > (ab-)using the usb-kbd device, which in turn allows to kill the > usb_hid_datain_cb callback as no users a

Re: [Qemu-devel] [PULL] spice patch queue

2011-08-12 Thread Michael Tokarev
11.08.2011 11:13, Gerd Hoffmann wrote: > Hi, > > Here comes the spice patch queue with two little fixes queued up and and > extension of the "info spice" monitor command which reports the spice > version too now. Should the two fixes go to stable? /mjt