Re: [Qemu-devel] [PATCH] Fix duplicate device reset

2011-07-19 Thread Stefan Weil
Am 19.07.2011 04:39, schrieb Isaku Yamahata: Thank you for addressing this. Similar patches were proposed and weren't merged unfortunately. The reason why the qdev_register_reset() in vl.c is to keep the reset order. The reset for main_system_bus shouldn't registered by qbus_create_inplace().

Re: [Qemu-devel] failed migration makes monitor stuck

2011-07-19 Thread Michael Tokarev
Ping? Anyone know this area of code? Can we just remove one monitor_resume() call from migrate_fd_put_buffer() ? 09.07.2011 15:07, Michael Tokarev wrote: After some debugging I found a programming error in error handling in migration, but I'm not sure how to fix it. When migration starts,

Re: [Qemu-devel] [PATCH 0/4] scsi fixes

2011-07-19 Thread Hannes Reinecke
On 07/12/2011 03:37 PM, Kevin Wolf wrote: Am 11.07.2011 15:02, schrieb Hannes Reinecke: Hi all, these are some fixes I found during debugging my megasas HBA emulation. This time I've sent them as a separate patchset for inclusion. All of them have been acked, so please apply. Hannes Reinecke

[Qemu-devel] buildbot failure in qemu on s390-next_i386_debian_5_0

2011-07-19 Thread qemu
The Buildbot has detected a new failure on builder s390-next_i386_debian_5_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/s390-next_i386_debian_5_0/builds/38 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: yuzuki

[Qemu-devel] buildbot failure in qemu on s390-next_x86_64_debian_5_0

2011-07-19 Thread qemu
The Buildbot has detected a new failure on builder s390-next_x86_64_debian_5_0 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/s390-next_x86_64_debian_5_0/builds/38 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build:

Re: [Qemu-devel] [Xen-devel] Upstream QEMU and Xen unstable not working

2011-07-19 Thread Ian Campbell
On Tue, 2011-07-19 at 03:53 +0100, Wei Liu wrote: On Mon, 2011-07-18 at 11:03 +0100, Ian Campbell wrote: On Mon, 2011-07-18 at 10:51 +0100, Wei Liu wrote: Bug resend. This bug was reported about one month ago. QEMU fails to start with Xen unstable. I found that it has not been fix

Re: [Qemu-devel] [PATCH] Fix duplicate device reset

2011-07-19 Thread Isaku Yamahata
On Tue, Jul 19, 2011 at 07:56:41AM +0200, Stefan Weil wrote: Am 19.07.2011 04:39, schrieb Isaku Yamahata: Thank you for addressing this. Similar patches were proposed and weren't merged unfortunately. The reason why the qdev_register_reset() in vl.c is to keep the reset order. The reset for

[Qemu-devel] [PATCH] avoid core reading with bdrv_read (qemu-io)

2011-07-19 Thread Frediano Ziglio
This patch apply to kevin coroutine-block branch and avoid code. It fix qcow: Use coroutines patch. Test case: $ ./qemu-img create -f qcow aaa.img 1G Formatting 'aaa.img', fmt=qcow size=1073741824 encryption=off $ ./qemu-io aaa.img qemu-io read 1024 1024 Segmentation fault Signed-off-by:

Re: [Qemu-devel] live snapshot wiki updated

2011-07-19 Thread Jes Sorensen
On 07/18/11 16:08, Stefan Hajnoczi wrote: On Fri, Jul 15, 2011 at 3:58 PM, Jes Sorensen jes.soren...@redhat.com wrote: I have been updating the live snapshot wiki for qemu to try and cover the commands we will want for async snapshot handling too. http://wiki.qemu.org/Features/Snapshots

Re: [Qemu-devel] [PATCH 0/4] scsi fixes

2011-07-19 Thread Kevin Wolf
Am 19.07.2011 08:31, schrieb Hannes Reinecke: On 07/12/2011 03:37 PM, Kevin Wolf wrote: Am 11.07.2011 15:02, schrieb Hannes Reinecke: Hi all, these are some fixes I found during debugging my megasas HBA emulation. This time I've sent them as a separate patchset for inclusion. All of them

Re: [Qemu-devel] [PATCH] avoid core reading with bdrv_read (qemu-io)

2011-07-19 Thread Kevin Wolf
Am 19.07.2011 09:33, schrieb Frediano Ziglio: This patch apply to kevin coroutine-block branch and avoid code. It fix qcow: Use coroutines patch. Test case: $ ./qemu-img create -f qcow aaa.img 1G Formatting 'aaa.img', fmt=qcow size=1073741824 encryption=off $ ./qemu-io aaa.img qemu-io read

[Qemu-devel] [PULL] virtio-serial: Fixes, trace points

2011-07-19 Thread Amit Shah
Hi Anthony, Please pull for trace points for virtio-serial/console code and a fix for a host process closing chardev connection causing an abort(). The following changes since commit 89b9ba661bd2d6155308f895ec075d813f0e129b: Fix signal handling of SIG_IPI when io-thread is enabled (2011-07-16

[Qemu-devel] coroutines and block I/O considerations

2011-07-19 Thread Frediano Ziglio
Hi, I'm exercise myself in block I/O layer and I decided to test coroutine branch cause I find it easier to use instead of normal callback. Looking at normal code there are a lot of rows in source to save/restore state and declare callbacks and is not that easier to understand the normal flow.

Re: [Qemu-devel] [PATCH 0/4] scsi fixes

2011-07-19 Thread Hannes Reinecke
On 07/19/2011 09:39 AM, Kevin Wolf wrote: Am 19.07.2011 08:31, schrieb Hannes Reinecke: On 07/12/2011 03:37 PM, Kevin Wolf wrote: Am 11.07.2011 15:02, schrieb Hannes Reinecke: Hi all, these are some fixes I found during debugging my megasas HBA emulation. This time I've sent them as a

Re: [Qemu-devel] [PATCH] avoid core reading with bdrv_read (qemu-io)

2011-07-19 Thread Frediano Ziglio
2011/7/19 Kevin Wolf kw...@redhat.com: Am 19.07.2011 09:33, schrieb Frediano Ziglio: This patch apply to kevin coroutine-block branch and avoid code. It fix qcow: Use coroutines patch. Test case: $ ./qemu-img create -f qcow aaa.img 1G Formatting 'aaa.img', fmt=qcow size=1073741824

Re: [Qemu-devel] [Xen-devel] Upstream QEMU and Xen unstable not working

2011-07-19 Thread Wei Liu
On Tue, 2011-07-19 at 08:14 +0100, Ian Campbell wrote: On Tue, 2011-07-19 at 03:53 +0100, Wei Liu wrote: On Mon, 2011-07-18 at 11:03 +0100, Ian Campbell wrote: On Mon, 2011-07-18 at 10:51 +0100, Wei Liu wrote: Bug resend. This bug was reported about one month ago. QEMU fails to

Re: [Qemu-devel] [PATCH 0/4] scsi fixes

2011-07-19 Thread Alexander Graf
On 19.07.2011, at 10:10, Hannes Reinecke wrote: On 07/19/2011 09:39 AM, Kevin Wolf wrote: Am 19.07.2011 08:31, schrieb Hannes Reinecke: On 07/12/2011 03:37 PM, Kevin Wolf wrote: Am 11.07.2011 15:02, schrieb Hannes Reinecke: Hi all, these are some fixes I found during debugging my megasas

Re: [Qemu-devel] [PATCH] USB: add usb network redirection support

2011-07-19 Thread Hans de Goede
Hi, On 07/18/2011 04:33 PM, Gerd Hoffmann wrote: On 07/18/11 09:13, Hans de Goede wrote: This patch adds support for a usb-redir device, which takes a chardev as a communication channel to an actual usbdevice using the usbredir protocol. Compiling the usb-redir device requires usbredir-0.3 to

[Qemu-devel] [PATCH] USB: add usb network redirection support

2011-07-19 Thread Hans de Goede
This patch adds support for a usb-redir device, which takes a chardev as a communication channel to an actual usbdevice using the usbredir protocol. Compiling the usb-redir device requires usbredir-0.3 to be installed for the usbredir protocol parser, usbredir-0.3 also contains a server for

[Qemu-devel] External COW format for raw images

2011-07-19 Thread Robert Wang
As you known, raw image is very popular,but the raw image format does NOT support Copy-On-Write,a raw image file can NOT be used as a copy destination, then image streaming/Live Block Copy will NOT work. To fix this, we need to add a new block driver raw-cow to QEMU. If finished, we can use

[Qemu-devel] Using checkpatch.pl to check coding style added to wiki

2011-07-19 Thread Stefan Hajnoczi
I just updated SubmitAPatch to mention running scripts/checkpatch.pl before submitting patches: http://wiki.qemu.org/Contribute/SubmitAPatch Follow the coding style and run scripts/checkpatch.pl patchfile before submitting Checkpatch.pl makes it easy to follow the coding style and eliminates the

Re: [Qemu-devel] External COW format for raw images

2011-07-19 Thread Stefan Hajnoczi
2011/7/19 Robert Wang wdon...@linux.vnet.ibm.com: 2)      * Create a new file block/raw-cow.c. It will be much more like the mixture of block/cow.c and block/raw.c. So I will change some functions in cow.c and raw.c to none-static, then raw-cow.c can re-use them. When read operation occurs,

Re: [Qemu-devel] coroutines and block I/O considerations

2011-07-19 Thread Kevin Wolf
Am 19.07.2011 10:06, schrieb Frediano Ziglio: I'm exercise myself in block I/O layer and I decided to test coroutine branch cause I find it easier to use instead of normal callback. Looking at normal code there are a lot of rows in source to save/restore state and declare callbacks and is

[Qemu-devel] [PULL 00/21] Block patches

2011-07-19 Thread Kevin Wolf
The following changes since commit 89b9ba661bd2d6155308f895ec075d813f0e129b: Fix signal handling of SIG_IPI when io-thread is enabled (2011-07-16 19:43:00 +) are available in the git repository at: git://repo.or.cz/qemu/kevin.git for-anthony Devin Nakamura (2): qemu-io: Fix

[Qemu-devel] [PATCH 12/21] VMDK: probe for monolithicFlat images

2011-07-19 Thread Kevin Wolf
From: Fam Zheng famc...@gmail.com Probe as the same behavior as VMware does. Recognize image as monolithicFlat descriptor file when the file is text and the first effective line (not '#' leaded comment or space line) is either 'version=1' or 'version=2'. No space or upper case charactors

[Qemu-devel] [PATCH 03/21] qemu-io: Fix if scoping bug

2011-07-19 Thread Kevin Wolf
From: Devin Nakamura devin...@gmail.com Fix a bug caused by lack of braces in if statement Lack of braces means that if(count 0x1ff) is never reached Signed-off-by: Devin Nakamura devin...@gmail.com Signed-off-by: Kevin Wolf kw...@redhat.com --- qemu-io.c |3 ++- 1 files changed, 2

[Qemu-devel] [PATCH 01/21] sheepdog: add full data preallocation support

2011-07-19 Thread Kevin Wolf
From: MORITA Kazutaka morita.kazut...@lab.ntt.co.jp This introduces qemu-img create option for sheepdog which allows the data to be fully preallocated (note that sheepdog always preallocates metadata). The option is disabled by default and you need to enable it like the following: qemu-img

[Qemu-devel] [PATCH 10/21] VMDK: introduce VmdkExtent

2011-07-19 Thread Kevin Wolf
From: Fam Zheng famc...@gmail.com Introduced VmdkExtent array into BDRVVmdkState, enable holding multiple image extents for multiple file image support. Signed-off-by: Fam Zheng famc...@gmail.com Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Signed-off-by: Kevin Wolf kw...@redhat.com

[Qemu-devel] [PATCH 08/21] qemu-options.hx: Document missing -drive options

2011-07-19 Thread Kevin Wolf
From: Luiz Capitulino lcapitul...@redhat.com They are 'werror', 'rerror' and 'readonly'. Signed-off-by: Luiz Capitulino lcapitul...@redhat.com Signed-off-by: Kevin Wolf kw...@redhat.com --- qemu-options.hx |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git

[Qemu-devel] [PATCH 04/21] iov: Update parameter usage in iov_(to|from)_buf()

2011-07-19 Thread Kevin Wolf
From: Hannes Reinecke h...@suse.de iov_to_buf() has an 'offset' parameter, iov_from_buf() hasn't. This patch adds the missing parameter to iov_from_buf(). It also renames the 'offset' parameter to 'iov_off' to emphasize it's the offset into the iovec and not the buffer. Signed-off-by: Hannes

[Qemu-devel] [PATCH 11/21] VMDK: bugfix, align offset to cluster in get_whole_cluster

2011-07-19 Thread Kevin Wolf
From: Fam Zheng famc...@gmail.com In get_whole_cluster, the offset is not aligned to cluster when reading from backing_hd. When the first write to child is not at the cluster boundary, wrong address data from parent is copied to child. Signed-off-by: Fam Zheng famc...@gmail.com Reviewed-by:

[Qemu-devel] [PATCH 09/21] qemu-config: Document -drive options

2011-07-19 Thread Kevin Wolf
From: Luiz Capitulino lcapitul...@gmail.com Signed-off-by: Luiz Capitulino lcapitul...@gmail.com Signed-off-by: Kevin Wolf kw...@redhat.com --- qemu-config.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/qemu-config.c b/qemu-config.c index c63741c..93d20c6 100644

[Qemu-devel] [PATCH 06/21] scsi-disk: Fixup debugging statement

2011-07-19 Thread Kevin Wolf
From: Hannes Reinecke h...@suse.de A debugging statement wasn't converted to the new interface. Signed-off-by: Hannes Reinecke h...@suse.de Acked-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Kevin Wolf kw...@redhat.com --- hw/scsi-disk.c |2 +- 1 files changed, 1 insertions(+), 1

Re: [Qemu-devel] [Xen-devel] Re: Upstream QEMU and Xen unstable not working

2011-07-19 Thread Ian Campbell
On Mon, 2011-07-18 at 17:17 +0100, Stefano Stabellini wrote: On Mon, 18 Jul 2011, Wei Liu wrote: Stefano and Anthony, you once said that you were going to setup a public QEMU repository for Xen, how is it going now? We are getting there, but there are still too many xen patches floating

[Qemu-devel] [PATCH 13/21] VMDK: separate vmdk_open by format version

2011-07-19 Thread Kevin Wolf
From: Fam Zheng famc...@gmail.com Separate vmdk_open by subformats to: * vmdk_open_vmdk3 * vmdk_open_vmdk4 Signed-off-by: Fam Zheng famc...@gmail.com Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Signed-off-by: Kevin Wolf kw...@redhat.com --- block/vmdk.c | 178

[Qemu-devel] [PATCH 15/21] VMDK: flush multiple extents

2011-07-19 Thread Kevin Wolf
From: Fam Zheng famc...@gmail.com Flush all the file that referenced by the image. Signed-off-by: Fam Zheng famc...@gmail.com Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Signed-off-by: Kevin Wolf kw...@redhat.com --- block/vmdk.c | 12 +++- 1 files changed, 11

[Qemu-devel] [PATCH 05/21] scsi: Add 'hba_private' to SCSIRequest

2011-07-19 Thread Kevin Wolf
From: Hannes Reinecke h...@suse.de 'tag' is just an abstraction to identify the command from the driver. So we should make that explicit by replacing 'tag' with a driver-defined pointer 'hba_private'. This saves the lookup for driver handling several commands in parallel. 'tag' is still being

[Qemu-devel] [PATCH 16/21] VMDK: move 'static' cid_update flag to bs field

2011-07-19 Thread Kevin Wolf
From: Fam Zheng famc...@gmail.com Cid_update is the flag for updating CID on first write after opening the image. This should be per image open rather than per program life cycle, so change it from static var of vmdk_write to a field in BDRVVmdkState. Signed-off-by: Fam Zheng famc...@gmail.com

[Qemu-devel] [PATCH 18/21] VMDK: open/read/write for monolithicFlat image

2011-07-19 Thread Kevin Wolf
From: Fam Zheng famc...@gmail.com Parse vmdk decriptor file and open mono flat image. Read/write the flat extent. Signed-off-by: Fam Zheng famc...@gmail.com Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Signed-off-by: Kevin Wolf kw...@redhat.com --- block/vmdk.c | 171

[Qemu-devel] [PATCH] qcow2: Use Qcow2Cache in writeback mode during loadvm/savevm

2011-07-19 Thread Kevin Wolf
In snapshotting there is no guest involved, so we can safely use a writeback mode and do the flushes in the right place (i.e. at the very end). This improves the time that creating/restoring an internal snapshot takes with an image in writethrough mode. Signed-off-by: Kevin Wolf kw...@redhat.com

[Qemu-devel] [PATCH 14/21] VMDK: add field BDRVVmdkState.desc_offset

2011-07-19 Thread Kevin Wolf
From: Fam Zheng famc...@gmail.com There are several occurrence of magic number 0x200 as the descriptor offset within mono sparse image file. This is not the case for images with separate descriptor file. So a field is added to BDRVVmdkState to hold the correct value. Signed-off-by: Fam Zheng

[Qemu-devel] [PATCH 07/21] scsi-disk: Mask out serial number EVPD

2011-07-19 Thread Kevin Wolf
From: Hannes Reinecke h...@suse.de If the serial number is not set we should mask it out in the list of supported VPD pages and mark it as not supported. Signed-off-by: Hannes Reinecke h...@suse.de Acked-by: Paolo Bonzini pbonz...@redhat.com Signed-off-by: Kevin Wolf kw...@redhat.com ---

[Qemu-devel] [PATCH 20/21] VMDK: fix coding style

2011-07-19 Thread Kevin Wolf
From: Fam Zheng famc...@gmail.com Conform coding style in vmdk.c to pass scripts/checkpatch.pl checks. Signed-off-by: Fam Zheng famc...@gmail.com Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com Signed-off-by: Kevin Wolf kw...@redhat.com --- block/vmdk.c | 76

Re: [Qemu-devel] [Xen-devel] Re: Upstream QEMU and Xen unstable not working

2011-07-19 Thread Stefano Stabellini
On Tue, 19 Jul 2011, Ian Campbell wrote: On Mon, 2011-07-18 at 17:17 +0100, Stefano Stabellini wrote: On Mon, 18 Jul 2011, Wei Liu wrote: Stefano and Anthony, you once said that you were going to setup a public QEMU repository for Xen, how is it going now? We are getting there, but

[Qemu-devel] [PATCH 21/21] block: add bdrv_get_allocated_file_size() operation

2011-07-19 Thread Kevin Wolf
From: Fam Zheng famc...@gmail.com qemu-img.c wants to count allocated file size of image. Previously it counts a single bs-file by 'stat' or Window API. As VMDK introduces multiple file support, the operation becomes format specific with platform specific meanwhile. The functions are moved to

[Qemu-devel] [PATCH 17/21] VMDK: change get_cluster_offset return type

2011-07-19 Thread Kevin Wolf
From: Fam Zheng famc...@gmail.com The return type of get_cluster_offset was an offset that use 0 to denote 'not allocated', this will be no longer true for flat extents, as we see flat extent file as a single huge cluster whose offset is 0 and length is the whole file length. So now we use int

[Qemu-devel] [PATCH 19/21] VMDK: create different subformats

2011-07-19 Thread Kevin Wolf
From: Fam Zheng famc...@gmail.com Add create option 'format', with enums: monolithicSparse monolithicFlat twoGbMaxExtentSparse twoGbMaxExtentFlat Each creates a subformat image file. The default is monolithicSparse. Signed-off-by: Fam Zheng famc...@gmail.com Reviewed-by: Stefan

Re: [Qemu-devel] [Xen-devel] Upstream QEMU and Xen unstable not working

2011-07-19 Thread Stefano Stabellini
On Tue, 19 Jul 2011, Wei Liu wrote: Good, this is it. But this patch is not yet pulled in the tree. I pushed few commits that I had in my local tree, they should be in xen-next now.

Re: [Qemu-devel] External COW format for raw images

2011-07-19 Thread Kevin Wolf
Am 19.07.2011 11:25, schrieb Robert Wang: As you known, raw image is very popular,but the raw image format does NOT support Copy-On-Write,a raw image file can NOT be used as a copy destination, then image streaming/Live Block Copy will NOT work. To fix this, we need to add a new block driver

Re: [Qemu-devel] [PATCH 3/3] qemu-x86: Set tsc_khz in kvm when supported

2011-07-19 Thread Marcelo Tosatti
On Thu, Jul 07, 2011 at 04:13:13PM +0200, Joerg Roedel wrote: Make use of the KVM_TSC_CONTROL feature if available. Signed-off-by: Joerg Roedel joerg.roe...@amd.com --- target-i386/kvm.c | 18 +- 1 files changed, 17 insertions(+), 1 deletions(-) diff --git

Re: [Qemu-devel] coroutines and block I/O considerations

2011-07-19 Thread Stefan Hajnoczi
On Tue, Jul 19, 2011 at 11:10 AM, Kevin Wolf kw...@redhat.com wrote: Am 19.07.2011 10:06, schrieb Frediano Ziglio: 2- memory considerations on coroutines. Beside coroutines allow more readable code I wonder if somebody considered memory. For every coroutines a different stack has to be

Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu

2011-07-19 Thread Marcelo Tosatti
On Thu, Jul 07, 2011 at 04:13:12PM +0200, Joerg Roedel wrote: To let the user configure the desired tsc frequency for the guest if running in KVM. Signed-off-by: Joerg Roedel joerg.roe...@amd.com --- target-i386/cpu.h |1 + target-i386/cpuid.c | 13 + 2 files changed,

Re: [Qemu-devel] [Xen-devel] Upstream QEMU and Xen unstable not working

2011-07-19 Thread Wei Liu
On Tue, 2011-07-19 at 12:09 +0100, Stefano Stabellini wrote: On Tue, 19 Jul 2011, Wei Liu wrote: Good, this is it. But this patch is not yet pulled in the tree. I pushed few commits that I had in my local tree, they should be in xen-next now. The commit

Re: [Qemu-devel] [PATCH 0/2] netdev fixes

2011-07-19 Thread Michael S. Tsirkin
On Thu, Jun 16, 2011 at 06:45:35PM +0200, Markus Armbruster wrote: Markus Armbruster (2): Fix automatically assigned network names for netdev Fix netdev name lookup in -device, device_add, netdev_del net.c | 19 +++ 1 files changed, 15 insertions(+), 4 deletions(-)

[Qemu-devel] [PATCH] do not call monitor_resume() from migrate_fd_put_buffer() error path

2011-07-19 Thread Michael Tokarev
If we do, it results in double monitor_resume() (second being called from migrate_fd_cleanup() anyway) and monitor suspend count becoming negative. Cc'ing people from `git blame' list for the lines in question: the change fixes the problem but I'm not sure what the original intention of this code

Re: [Qemu-devel] [Xen-devel] Upstream QEMU and Xen unstable not working

2011-07-19 Thread Stefano Stabellini
On Tue, 19 Jul 2011, Wei Liu wrote: On Tue, 2011-07-19 at 12:09 +0100, Stefano Stabellini wrote: On Tue, 19 Jul 2011, Wei Liu wrote: Good, this is it. But this patch is not yet pulled in the tree. I pushed few commits that I had in my local tree, they should be in xen-next

[Qemu-devel] [PATCHv2] target-arm: support for ARM1176JZF-s cores

2011-07-19 Thread Jamie Iles
Add support for v6K ARM1176JZF-S. This core includes the VA-PA translation capability and security extensions. v2: Model the version with the VFP Cc: Peter Maydell peter.mayd...@linaro.org Cc: Paul Brook p...@codesourcery.com Cc: Aurelien Jarno aurel...@aurel32.net Signed-off-by: Jamie Iles

Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu

2011-07-19 Thread Avi Kivity
On 07/19/2011 02:46 PM, Marcelo Tosatti wrote: On Thu, Jul 07, 2011 at 04:13:12PM +0200, Joerg Roedel wrote: To let the user configure the desired tsc frequency for the guest if running in KVM. Signed-off-by: Joerg Roedeljoerg.roe...@amd.com --- target-i386/cpu.h |1 +

Re: [Qemu-devel] [PATCH 05/21] scsi: Add 'hba_private' to SCSIRequest

2011-07-19 Thread Anthony Liguori
On 07/19/2011 05:15 AM, Kevin Wolf wrote: From: Hannes Reineckeh...@suse.de 'tag' is just an abstraction to identify the command from the driver. So we should make that explicit by replacing 'tag' with a driver-defined pointer 'hba_private'. This saves the lookup for driver handling several

Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu

2011-07-19 Thread Marcelo Tosatti
On Tue, Jul 19, 2011 at 03:20:37PM +0300, Avi Kivity wrote: On 07/19/2011 02:46 PM, Marcelo Tosatti wrote: On Thu, Jul 07, 2011 at 04:13:12PM +0200, Joerg Roedel wrote: To let the user configure the desired tsc frequency for the guest if running in KVM. Signed-off-by: Joerg

[Qemu-devel] [PATCH] Add missing documentation for qemu-img -p

2011-07-19 Thread Jes . Sorensen
From: Jes Sorensen jes.soren...@redhat.com Signed-off-by: Jes Sorensen jes.soren...@redhat.com --- qemu-img-cmds.hx |4 ++-- qemu-img.texi|6 -- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/qemu-img-cmds.hx b/qemu-img-cmds.hx index 2b70618..1299e83 100644 ---

Re: [Qemu-devel] [PATCH 05/21] scsi: Add 'hba_private' to SCSIRequest

2011-07-19 Thread Kevin Wolf
Am 19.07.2011 14:43, schrieb Anthony Liguori: On 07/19/2011 05:15 AM, Kevin Wolf wrote: From: Hannes Reineckeh...@suse.de 'tag' is just an abstraction to identify the command from the driver. So we should make that explicit by replacing 'tag' with a driver-defined pointer 'hba_private'.

Re: [Qemu-devel] [PULL] v2: pending linux-user patches

2011-07-19 Thread Anthony Liguori
On 07/18/2011 02:37 AM, Riku Voipio wrote: The following changes since commit 89b9ba661bd2d6155308f895ec075d813f0e129b: Fix signal handling of SIG_IPI when io-thread is enabled (2011-07-16 19:43:00 +) Pulled. Thanks. Regards, Anthony Liguori are available in the git repository

Re: [Qemu-devel] [PULL] virtio-serial: Fixes, trace points

2011-07-19 Thread Anthony Liguori
On 07/19/2011 03:00 AM, Amit Shah wrote: Hi Anthony, Please pull for trace points for virtio-serial/console code and a fix for a host process closing chardev connection causing an abort(). The following changes since commit 89b9ba661bd2d6155308f895ec075d813f0e129b: Fix signal handling of

Re: [Qemu-devel] [RFC v4 00/58] Memory API

2011-07-19 Thread Anthony Liguori
On 07/17/2011 06:13 AM, Avi Kivity wrote: New in this version: MemoryRegionOps gained .old_mmio and .old_portio members, which allow reusing old-style callbacks with the new API. All uses were converted, except for eepro100.c, which uses the same MemoryRegionOps for both portio and

Re: [Qemu-devel] [PULL] pci, virtio, vhost, xen

2011-07-19 Thread Anthony Liguori
On 07/17/2011 11:29 AM, Michael S. Tsirkin wrote: The following changes since commit 89b9ba661bd2d6155308f895ec075d813f0e129b: Fix signal handling of SIG_IPI when io-thread is enabled (2011-07-16 19:43:00 +) are available in the git repository at:

Re: [Qemu-devel] [PATCH 05/21] scsi: Add 'hba_private' to SCSIRequest

2011-07-19 Thread Benjamin Herrenschmidt
On Tue, 2011-07-19 at 15:06 +0200, Kevin Wolf wrote: Am 19.07.2011 14:43, schrieb Anthony Liguori: On 07/19/2011 05:15 AM, Kevin Wolf wrote: From: Hannes Reineckeh...@suse.de 'tag' is just an abstraction to identify the command from the driver. So we should make that explicit by

Re: [Qemu-devel] coroutines and block I/O considerations

2011-07-19 Thread Anthony Liguori
On 07/19/2011 05:10 AM, Kevin Wolf wrote: Am 19.07.2011 10:06, schrieb Frediano Ziglio: They are still all running in the same thread. 2- memory considerations on coroutines. Beside coroutines allow more readable code I wonder if somebody considered memory. For every coroutines a different

Re: [Qemu-devel] [PATCH 05/21] scsi: Add 'hba_private' to SCSIRequest

2011-07-19 Thread Hannes Reinecke
On 07/19/2011 03:06 PM, Kevin Wolf wrote: Am 19.07.2011 14:43, schrieb Anthony Liguori: On 07/19/2011 05:15 AM, Kevin Wolf wrote: From: Hannes Reineckeh...@suse.de 'tag' is just an abstraction to identify the command from the driver. So we should make that explicit by replacing 'tag' with a

Re: [Qemu-devel] live snapshot wiki updated

2011-07-19 Thread Stefan Hajnoczi
On Tue, Jul 19, 2011 at 8:24 AM, Jes Sorensen jes.soren...@redhat.com wrote: On 07/18/11 16:08, Stefan Hajnoczi wrote: On Fri, Jul 15, 2011 at 3:58 PM, Jes Sorensen jes.soren...@redhat.com wrote: I have been updating the live snapshot wiki for qemu to try and cover the commands we will want

Re: [Qemu-devel] [PATCH 05/21] scsi: Add 'hba_private' to SCSIRequest

2011-07-19 Thread Benjamin Herrenschmidt
On Tue, 2011-07-19 at 07:43 -0500, Anthony Liguori wrote: This breaks the build: make[1]: Nothing to be done for `all'. CCppc64-softmmu/spapr_vscsi.o /home/anthony/git/qemu/hw/spapr_vscsi.c: In function ‘vscsi_command_complete’: /home/anthony/git/qemu/hw/spapr_vscsi.c:535:34:

Re: [Qemu-devel] live snapshot wiki updated

2011-07-19 Thread Jes Sorensen
On 07/19/11 15:23, Stefan Hajnoczi wrote: On Tue, Jul 19, 2011 at 8:24 AM, Jes Sorensen jes.soren...@redhat.com wrote: On 07/18/11 16:08, Stefan Hajnoczi wrote: On Fri, Jul 15, 2011 at 3:58 PM, Jes Sorensen jes.soren...@redhat.com wrote: I have been updating the live snapshot wiki for qemu

Re: [Qemu-devel] External COW format for raw images

2011-07-19 Thread Anthony Liguori
On 07/19/2011 04:25 AM, Robert Wang wrote: As you known, raw image is very popular,but the raw image format does NOT support Copy-On-Write,a raw image file can NOT be used as a copy destination, then image streaming/Live Block Copy will NOT work. To fix this, we need to add a new block

Re: [Qemu-devel] [RFC v4 00/58] Memory API

2011-07-19 Thread Avi Kivity
On 07/19/2011 04:09 PM, Anthony Liguori wrote: On 07/17/2011 06:13 AM, Avi Kivity wrote: New in this version: MemoryRegionOps gained .old_mmio and .old_portio members, which allow reusing old-style callbacks with the new API. All uses were converted, except for eepro100.c, which

Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu

2011-07-19 Thread Joerg Roedel
On Tue, Jul 19, 2011 at 03:20:37PM +0300, Avi Kivity wrote: On 07/19/2011 02:46 PM, Marcelo Tosatti wrote: On Thu, Jul 07, 2011 at 04:13:12PM +0200, Joerg Roedel wrote: To let the user configure the desired tsc frequency for the guest if running in KVM. Signed-off-by: Joerg

Re: [Qemu-devel] [PATCH 05/21] scsi: Add 'hba_private' to SCSIRequest

2011-07-19 Thread Kevin Wolf
Am 19.07.2011 15:26, schrieb Hannes Reinecke: On 07/19/2011 03:06 PM, Kevin Wolf wrote: Am 19.07.2011 14:43, schrieb Anthony Liguori: On 07/19/2011 05:15 AM, Kevin Wolf wrote: From: Hannes Reineckeh...@suse.de 'tag' is just an abstraction to identify the command from the driver. So we

Re: [Qemu-devel] [PATCH V3] e1000: Handle IO Port.

2011-07-19 Thread Juan Quintela
Anthony PERARD anthony.per...@citrix.com wrote: This patch introduces the two IOPorts on e1000, IOADDR and IODATA. The IOADDR is used to specify which register we want to access when we read or write on IODATA. This patch fixes some weird behavior that I see when I use e1000 with QEMU/Xen,

Re: [Qemu-devel] live snapshot wiki updated

2011-07-19 Thread Eric Blake
On 07/19/2011 07:27 AM, Jes Sorensen wrote: On 07/19/11 15:23, Stefan Hajnoczi wrote: On Tue, Jul 19, 2011 at 8:24 AM, Jes Sorensenjes.soren...@redhat.com wrote: On 07/18/11 16:08, Stefan Hajnoczi wrote: On Fri, Jul 15, 2011 at 3:58 PM, Jes Sorensenjes.soren...@redhat.com wrote: I have

Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu

2011-07-19 Thread Avi Kivity
On 07/19/2011 04:30 PM, Joerg Roedel wrote: (although we've been talking about starting a naked qemu and pushing all of the configuration from the source). Hmm, I planned to do the VMSTATE thing in a follow-on patch-set. The plan is to read the VCPU tsc_freq at guest start time on

Re: [Qemu-devel] live snapshot wiki updated

2011-07-19 Thread Jes Sorensen
On 07/19/11 15:58, Eric Blake wrote: On 07/19/2011 07:27 AM, Jes Sorensen wrote: Eric, what happens if libvirt in an selinux environment tells QEMU to launch using an image file that is backed by backing file(s)? Before starting qemu, libvirt first parses all the image files, to see if any

Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu

2011-07-19 Thread Avi Kivity
On 07/19/2011 04:54 PM, Avi Kivity wrote: On 07/19/2011 04:30 PM, Joerg Roedel wrote: (although we've been talking about starting a naked qemu and pushing all of the configuration from the source). Hmm, I planned to do the VMSTATE thing in a follow-on patch-set. The plan is to read the

Re: [Qemu-devel] [RFC v4 00/58] Memory API

2011-07-19 Thread Avi Kivity
On 07/19/2011 04:56 PM, Michael S. Tsirkin wrote: On Sun, Jul 17, 2011 at 02:13:27PM +0300, Avi Kivity wrote: New in this version: MemoryRegionOps gained .old_mmio and .old_portio members, which allow reusing old-style callbacks with the new API. All uses were converted, except

Re: [Qemu-devel] [RFC v4 00/58] Memory API

2011-07-19 Thread Michael S. Tsirkin
On Sun, Jul 17, 2011 at 02:13:27PM +0300, Avi Kivity wrote: New in this version: MemoryRegionOps gained .old_mmio and .old_portio members, which allow reusing old-style callbacks with the new API. All uses were converted, except for eepro100.c, which uses the same MemoryRegionOps for

Re: [Qemu-devel] live snapshot wiki updated

2011-07-19 Thread Jes Sorensen
On 07/19/11 16:24, Eric Blake wrote: [adding the libvir-list] On 07/19/2011 08:09 AM, Jes Sorensen wrote: Urgh, libvirt parsing image files is really unfortunate, it really doesn't give me warm fuzzy feelings :( libvirt really should not know about internals of image formats. But even if

[Qemu-devel] Updated 0.15 release schedule

2011-07-19 Thread Anthony Liguori
Here's my proposal for an updated 0.15 schedule. Please not that stable-0.15 will fork off this Friday. | 2011-02-01 | Begin of 0.15 development phase |- | 2011-05-16 | Soft feature freeze. Major features should have initial code committed by this date. |- | 2011-06-15; Now 2011-07-22 |

Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu

2011-07-19 Thread Joerg Roedel
On Tue, Jul 19, 2011 at 04:55:53PM +0300, Avi Kivity wrote: On 07/19/2011 04:54 PM, Avi Kivity wrote: On 07/19/2011 04:30 PM, Joerg Roedel wrote: Hmm, I planned to do the VMSTATE thing in a follow-on patch-set. The plan is to read the VCPU tsc_freq at guest start time on !tsc-scale hosts and

Re: [Qemu-devel] live snapshot wiki updated

2011-07-19 Thread Eric Blake
[adding the libvir-list] On 07/19/2011 08:09 AM, Jes Sorensen wrote: On 07/19/11 15:58, Eric Blake wrote: On 07/19/2011 07:27 AM, Jes Sorensen wrote: Eric, what happens if libvirt in an selinux environment tells QEMU to launch using an image file that is backed by backing file(s)? Before

Re: [Qemu-devel] External COW format for raw images

2011-07-19 Thread Frediano Ziglio
2011/7/19 Robert Wang wdon...@linux.vnet.ibm.com: As you known, raw image is very popular,but the raw image format does NOT support Copy-On-Write,a raw image file can NOT be used as a copy destination, then image streaming/Live Block Copy will NOT work. To fix this, we need to add a new block

Re: [Qemu-devel] [RFC v4 00/58] Memory API

2011-07-19 Thread Anthony Liguori
On 07/19/2011 08:27 AM, Avi Kivity wrote: On 07/19/2011 04:09 PM, Anthony Liguori wrote: On 07/17/2011 06:13 AM, Avi Kivity wrote: New in this version: MemoryRegionOps gained .old_mmio and .old_portio members, which allow reusing old-style callbacks with the new API. All uses were converted,

Re: [Qemu-devel] live snapshot wiki updated

2011-07-19 Thread Stefan Hajnoczi
On Tue, Jul 19, 2011 at 3:30 PM, Jes Sorensen jes.soren...@redhat.com wrote: On 07/19/11 16:24, Eric Blake wrote: [adding the libvir-list] On 07/19/2011 08:09 AM, Jes Sorensen wrote: Urgh, libvirt parsing image files is really unfortunate, it really doesn't give me warm fuzzy feelings :(

[Qemu-devel] [RFC] QEMU Object Model

2011-07-19 Thread Anthony Liguori
Hi, I've started an effort to introduce a consistent object model to QEMU. Today, every subsystem implements an ad-hoc object model. These object models all have the same basic properties but do things in arbitrarily different ways: 1) Factory interface for object creation - Objects

Re: [Qemu-devel] [PULL 00/12] Xen patch queue 2011-07-05

2011-07-19 Thread Anthony Liguori
On 07/05/2011 11:51 AM, Alexander Graf wrote: Hi Anthony, This is my current patch queue for Xen stuff that accumulated over the past few weeks. Please pull. Pulled. Thanks. Regards, Anthony Liguori Alex The following changes since commit 9312805d33e8b106bae356d13a8071fb37d75554:

Re: [Qemu-devel] [PATCH 2/3] qemu-x86: Add tsc_freq option to -cpu

2011-07-19 Thread Avi Kivity
On 07/19/2011 05:14 PM, Joerg Roedel wrote: On Tue, Jul 19, 2011 at 04:55:53PM +0300, Avi Kivity wrote: On 07/19/2011 04:54 PM, Avi Kivity wrote: On 07/19/2011 04:30 PM, Joerg Roedel wrote: Hmm, I planned to do the VMSTATE thing in a follow-on patch-set. The plan is to read the VCPU

Re: [Qemu-devel] [PULL] pci, vhost

2011-07-19 Thread Anthony Liguori
On 07/04/2011 12:01 PM, Michael S. Tsirkin wrote: The following changes since commit 1dfdcaa83f9ce34aded8bc0669e81753d94f1b7d: user: Fix -d debug logging for usermode emulation (2011-06-28 20:57:09 +0200) are available in the git repository at:

Re: [Qemu-devel] [PATCH 0/3][uq/master] Basic TSC-Scaling support v2

2011-07-19 Thread Marcelo Tosatti
On Thu, Jul 07, 2011 at 04:13:10PM +0200, Joerg Roedel wrote: Hi Avi, Marcelo, here is v2 of the patches to support setting the guests tsc-frequency from the qemu command line. This version addresses the comment from Avi on the first version. To reflect that units can be given to the

Re: [Qemu-devel] [PULL] virtio-serial: trace events, trivial fix

2011-07-19 Thread Anthony Liguori
On 07/07/2011 08:13 AM, Amit Shah wrote: Hello, This series adds some trace events to virtio-serial-bus.c and virtio-console.c. There's also one trivial patch to remove a trailing \n from an error_report() string. Note: some mirrors may not yet have received the update. Pulled. Thanks.

Re: [Qemu-devel] live snapshot wiki updated

2011-07-19 Thread Anthony Liguori
On 07/19/2011 09:30 AM, Jes Sorensen wrote: On 07/19/11 16:24, Eric Blake wrote: [adding the libvir-list] On 07/19/2011 08:09 AM, Jes Sorensen wrote: Urgh, libvirt parsing image files is really unfortunate, it really doesn't give me warm fuzzy feelings :( libvirt really should not know about

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

2011-07-19 Thread Anthony Liguori
On 07/08/2011 04:50 AM, Gerd Hoffmann wrote: Hi, Here is the current usb patch queue. Most noteworthy is the usb companion controller support added. There are also a bunch of bug fixes, some from Hans which he found while doing the companion controller work and some have been found in

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

2011-07-19 Thread Anthony Liguori
On 07/04/2011 10:14 AM, Gerd Hoffmann wrote: Hi, Here is the spice patch queue with a bunch of small fixes and improvements collected over time. No major changes. please pull, Gerd Pulled. Thanks. Regards, Anthony Liguori Alon Levy (5): qxl: set mm_time in vga update qxl:

Re: [Qemu-devel] [RFC v4 00/58] Memory API

2011-07-19 Thread Avi Kivity
On 07/19/2011 05:50 PM, Anthony Liguori wrote: There's bits I don't like about the interface Which bits are these? Nothing I haven't already commented on. I think there's too much in the generic level. I don't think coalesced I/O belongs here. It's a concept that doesn't fit. I

  1   2   >