Re: [Qemu-devel] [RFC 11/20] target-i386: convert 'check' and 'enforce' features into properties

2012-08-15 Thread Eduardo Habkost
On Tue, Aug 14, 2012 at 11:18:47PM +0200, Igor Mammedov wrote: On Fri, 10 Aug 2012 12:09:04 -0300 Eduardo Habkost ehabk...@redhat.com wrote: On Fri, Aug 10, 2012 at 01:22:27PM +0200, Igor Mammedov wrote: Signed-off-by: Igor Mammedov imamm...@redhat.com --- target-i386/cpu.c | 68

Re: [Qemu-devel] [PATCH v8] kvm: notify host when the guest is panicked

2012-08-15 Thread Yan Vugenfirer
On Aug 14, 2012, at 10:35 PM, Anthony Liguori wrote: Marcelo Tosatti mtosa...@redhat.com writes: On Tue, Aug 14, 2012 at 01:53:01PM -0500, Anthony Liguori wrote: Marcelo Tosatti mtosa...@redhat.com writes: On Tue, Aug 14, 2012 at 05:55:54PM +0300, Yan Vugenfirer wrote: On Aug 14,

Re: [Qemu-devel] [PATCH v8] kvm: notify host when the guest is panicked

2012-08-15 Thread Yan Vugenfirer
On Aug 15, 2012, at 12:56 PM, Gleb Natapov wrote: On Tue, Aug 14, 2012 at 02:35:34PM -0500, Anthony Liguori wrote: Do you consider allowing support for Windows as overengineering? I don't think there is a way to hook BSOD on Windows so attempting to engineer something that works with

Re: [Qemu-devel] [PATCH v2 0/2] Fix two bugs related to ram_size

2012-08-15 Thread Michael Tokarev
On 15.08.2012 13:31, Markus Armbruster wrote: There are more, but let's start with these two. Yes, there are more of the same theme. In particular, why transparent huge pages support has never been applied? IIRC it went to nowhere after a question about memory sizing and alignment popped up --

Re: [Qemu-devel] [PATCH v2 0/2] Fix two bugs related to ram_size

2012-08-15 Thread Avi Kivity
On 08/15/2012 02:44 PM, Michael Tokarev wrote: On 15.08.2012 13:31, Markus Armbruster wrote: There are more, but let's start with these two. Yes, there are more of the same theme. In particular, why transparent huge pages support has never been applied? IIRC it went to nowhere after a

Re: [Qemu-devel] [PATCH v2 0/2] Fix two bugs related to ram_size

2012-08-15 Thread Michael Tokarev
On 15.08.2012 15:46, Avi Kivity wrote: On 08/15/2012 02:44 PM, Michael Tokarev wrote: Yes, there are more of the same theme. In particular, why transparent huge pages support has never been applied? IIRC it went to nowhere after a question about memory sizing and alignment popped up -- see

[Qemu-devel] [PATCH] ehci: fix Interrupt Threshold Control implementation

2012-08-15 Thread Gerd Hoffmann
First, not all interrupts are subject to Interrupt Threshold Control, some of them must be delivered without delay. Second, Interrupt Threshold Control state must be part of vmstate, otherwise we might loose IRQs on migration. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- hw/usb/hcd-ehci.c

[Qemu-devel] [PATCH] qemu-iotests: Fix 030 after switch to GenericError

2012-08-15 Thread Kevin Wolf
Signed-off-by: Kevin Wolf kw...@redhat.com --- tests/qemu-iotests/030 |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/qemu-iotests/030 b/tests/qemu-iotests/030 index cc671dd..f71ab8d 100755 --- a/tests/qemu-iotests/030 +++ b/tests/qemu-iotests/030 @@ -225,8

Re: [Qemu-devel] [RFC 11/20] target-i386: convert 'check' and 'enforce' features into properties

2012-08-15 Thread Igor Mammedov
On Wed, 15 Aug 2012 08:39:54 -0300 Eduardo Habkost ehabk...@redhat.com wrote: On Tue, Aug 14, 2012 at 11:18:47PM +0200, Igor Mammedov wrote: On Fri, 10 Aug 2012 12:09:04 -0300 Eduardo Habkost ehabk...@redhat.com wrote: On Fri, Aug 10, 2012 at 01:22:27PM +0200, Igor Mammedov wrote:

Re: [Qemu-devel] [RFC 11/20] target-i386: convert 'check' and 'enforce' features into properties

2012-08-15 Thread Eduardo Habkost
On Wed, Aug 15, 2012 at 02:11:43PM +0200, Igor Mammedov wrote: On Wed, 15 Aug 2012 08:39:54 -0300 Eduardo Habkost ehabk...@redhat.com wrote: On Tue, Aug 14, 2012 at 11:18:47PM +0200, Igor Mammedov wrote: On Fri, 10 Aug 2012 12:09:04 -0300 Eduardo Habkost ehabk...@redhat.com wrote:

Re: [Qemu-devel] [RFC 20/20] target-i386: move default init of cpuid_kvm_features bitmap into CPU initializer from cpudef

2012-08-15 Thread Igor Mammedov
On Fri, 10 Aug 2012 12:24:48 -0300 Eduardo Habkost ehabk...@redhat.com wrote: On Fri, Aug 10, 2012 at 01:22:36PM +0200, Igor Mammedov wrote: Moving it inside CPU initializer from cpudef will help to split cpu_x86_find_by_name() into default init and user settable properties. PS: Is

Re: [Qemu-devel] [PATCH 20/23] ppc: Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Alexander Graf ag...@suse.de writes: On 09.08.2012, at 16:54, Markus Armbruster arm...@redhat.com wrote: Andreas Färber andreas.faer...@web.de writes: Am 09.08.2012 15:31, schrieb Markus Armbruster: Cc: Alexander Graf ag...@suse.de Cc: Andreas Färber andreas.faer...@web.de Cc:

Re: [Qemu-devel] [RFC 20/20] target-i386: move default init of cpuid_kvm_features bitmap into CPU initializer from cpudef

2012-08-15 Thread Eduardo Habkost
On Wed, Aug 15, 2012 at 02:23:46PM +0200, Igor Mammedov wrote: On Fri, 10 Aug 2012 12:24:48 -0300 Eduardo Habkost ehabk...@redhat.com wrote: On Fri, Aug 10, 2012 at 01:22:36PM +0200, Igor Mammedov wrote: Moving it inside CPU initializer from cpudef will help to split

Re: [Qemu-devel] [RFC 18/20] target-i386: use properties to set/unset user specified features on CPU

2012-08-15 Thread Eduardo Habkost
Another issue: On Fri, Aug 10, 2012 at 01:22:34PM +0200, Igor Mammedov wrote: Signed-off-by: Igor Mammedov imamm...@redhat.com --- target-i386/cpu.c | 167 +++--- 1 file changed, 20 insertions(+), 147 deletions(-) diff --git

Re: [Qemu-devel] [PATCH] block-migration: deprecate block migration for the 1.2 release

2012-08-15 Thread Stefan Hajnoczi
On Wed, Aug 15, 2012 at 10:12:42AM +0200, Ruben Kerkhof wrote: On Tue, Aug 14, 2012 at 4:42 PM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: On Tue, Aug 14, 2012 at 08:32:31AM -0500, Anthony Liguori wrote: To be replaced with live block copy. Signed-off-by: Anthony Liguori

[Qemu-devel] qemu and transparent huge pages

2012-08-15 Thread Michael Tokarev
Quite some time ago there was a thread on qemu-devel, started by Andrea, about modifying qemu to better use transparent huge pages: http://lists.gnu.org/archive/html/qemu-devel/2010-03/msg01250.html That thread hasn't reached any conclusion, but some time after that Avi implemented a similar

Re: [Qemu-devel] [PATCH 20/23] ppc: Suppress unused default drives

2012-08-15 Thread Andreas Färber
Am 15.08.2012 14:30, schrieb Markus Armbruster: Alexander Graf ag...@suse.de writes: On 09.08.2012, at 16:54, Markus Armbruster arm...@redhat.com wrote: Andreas Färber andreas.faer...@web.de writes: Am 09.08.2012 15:31, schrieb Markus Armbruster: diff --git a/hw/ppc_oldworld.c

Re: [Qemu-devel] [RFC 18/20] target-i386: use properties to set/unset user specified features on CPU

2012-08-15 Thread Igor Mammedov
On Wed, 15 Aug 2012 09:37:22 -0300 Eduardo Habkost ehabk...@redhat.com wrote: Another issue: On Fri, Aug 10, 2012 at 01:22:34PM +0200, Igor Mammedov wrote: Signed-off-by: Igor Mammedov imamm...@redhat.com --- target-i386/cpu.c | 167

[Qemu-devel] qemu and transparent huge pages

2012-08-15 Thread Michael Tokarev
[Reposting with the right email address of Andrea] Quite some time ago there was a thread on qemu-devel, started by Andrea, about modifying qemu to better use transparent huge pages: http://lists.gnu.org/archive/html/qemu-devel/2010-03/msg01250.html That thread hasn't reached any conclusion,

Re: [Qemu-devel] [PATCH 23/23] xtensa: Suppress unused default drives

2012-08-15 Thread Max Filippov
On Thu, Aug 9, 2012 at 5:31 PM, Markus Armbruster arm...@redhat.com wrote: Cc: Max Filippov jcmvb...@gmail.com Suppress default floppy, CD-ROM and SD card drives for machines lx60, lx200, sim. Signed-off-by: Markus Armbruster arm...@redhat.com Acked-by: Max Filippov jcmvb...@gmail.com

Re: [Qemu-devel] qemu and transparent huge pages

2012-08-15 Thread Avi Kivity
On 08/15/2012 03:45 PM, Michael Tokarev wrote: But apparently, THP does not work still, even with 2Mb alignment: when running a guest, AnonHugePages in /proc/meminfo stays at 0 - either in kvm mode or in tcg mode. Any idea why? What else is needed for THP to work? It does for me:

Re: [Qemu-devel] [PATCH] qemu-iotests: Fix 030 after switch to GenericError

2012-08-15 Thread Stefan Hajnoczi
On Wed, Aug 15, 2012 at 1:11 PM, Kevin Wolf kw...@redhat.com wrote: Signed-off-by: Kevin Wolf kw...@redhat.com --- tests/qemu-iotests/030 |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com

Re: [Qemu-devel] [PATCH] ehci: fix Interrupt Threshold Control implementation

2012-08-15 Thread Hans de Goede
Hi, On 08/15/2012 02:00 PM, Gerd Hoffmann wrote: First, not all interrupts are subject to Interrupt Threshold Control, some of them must be delivered without delay. Second, Interrupt Threshold Control state must be part of vmstate, otherwise we might loose IRQs on migration. Looks good

Re: [Qemu-devel] [PATCH] block: Flush parent to OS with cache=unsafe

2012-08-15 Thread Stefan Hajnoczi
On Wed, Aug 15, 2012 at 11:57 AM, Kevin Wolf kw...@redhat.com wrote: Commit 29cdb251 already added a comment that no unnecessary flushes to disk will occur, this patch makes the code even get to the point of the comment. This is mostly theoretical because in practice we only stack one format

Re: [Qemu-devel] TRIM, UNMAP and QCOW2 release of block information - Thin provisioning

2012-08-15 Thread Kevin Wolf
Am 13.08.2012 10:31, schrieb Stefan Hajnoczi: On Sun, Aug 12, 2012 at 8:00 PM, Gerhard Wiesinger li...@wiesinger.com wrote: As far as I saw QEMU/KVM supports the trim command on IDE/SATA devices and the UNMAP command on SCSI devices/disks (thanks Paolo Bonzini). Will the qcow2 format (or

Re: [Qemu-devel] [RFC V3 0/9] Quorum disk image corruption resiliency

2012-08-15 Thread Stefan Hajnoczi
On Tue, Aug 14, 2012 at 3:14 PM, Benoît Canet benoit.ca...@gmail.com wrote: This patchset create a block driver implementing a quorum using m qemu disk images. Writes are mirrored on the m files. For the reading part the m files are read at the same time and a vote is done to determine if a

Re: [Qemu-devel] [PATCH] let qemu-img info genereate json output

2012-08-15 Thread Eric Blake
On 08/15/2012 02:49 AM, Benoît Canet wrote: I think an --format=json option would be a bit more extensible and better matches what most tools are doing these days. The qemu-img info subcommand already use the -f short option. What alternative could be use instead of --format=json ? You are

Re: [Qemu-devel] [PATCH v2] Makefile: Avoid explicit list of directories in clean target

2012-08-15 Thread Eric Blake
On 08/15/2012 05:29 AM, Peter Maydell wrote: Avoid having an explicit list of directories in the 'clean' target by using 'find' to remove all .o and .d files instead. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- Changes v1-v2: use portable 'find -exec' rather than unsafe 'find

Re: [Qemu-devel] [PATCH v2] Makefile: Avoid explicit list of directories in clean target

2012-08-15 Thread Stefan Hajnoczi
On Wed, Aug 15, 2012 at 12:29:24PM +0100, Peter Maydell wrote: Avoid having an explicit list of directories in the 'clean' target by using 'find' to remove all .o and .d files instead. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- Changes v1-v2: use portable 'find -exec' rather

Re: [Qemu-devel] [Qemu-trivial] [PATCH] ehci: fix assertion typo

2012-08-15 Thread Stefan Hajnoczi
On Tue, Aug 14, 2012 at 04:13:02PM +0200, Alejandro Martinez Ruiz wrote: Signed-off-by: Alejandro Martinez Ruiz a...@securiforest.com --- hw/usb/hcd-ehci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Looks good but would be good to hear from Gerd just to be sure. Thanks, applied

Re: [Qemu-devel] [PATCH] device_tree: load_device_tree(): Allow NULL sizep

2012-08-15 Thread Stefan Hajnoczi
On Sat, Aug 11, 2012 at 01:33:42PM +0100, Stefan Hajnoczi wrote: On Sat, Aug 11, 2012 at 12:11 AM, Peter Crosthwaite peter.crosthwa...@petalogix.com wrote: On Fri, Aug 10, 2012 at 11:42 PM, Stefan Hajnoczi stefa...@gmail.com wrote: On Fri, Aug 10, 2012 at 01:54:26PM +1000, Peter A. G.

Re: [Qemu-devel] [PATCH] cputlb.c: Fix out of date comment

2012-08-15 Thread Stefan Hajnoczi
On Fri, Aug 10, 2012 at 05:14:05PM +0100, Peter Maydell wrote: The comment about the return address from get_page_addr_code() was well out of date as phys_ram_base has not existed for some time. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- cputlb.c |4 +++- 1 file

Re: [Qemu-devel] [Qemu-trivial] [PATCH] Fix QEMU

2012-08-15 Thread Stefan Hajnoczi
On Fri, Aug 10, 2012 at 09:48:07PM +0200, Stefan Weil wrote: One more... Signed-off-by: Stefan Weil s...@weilnetz.de --- scripts/simpletrace.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Updated the commit description to be more specific :). Thanks, applied to the trivial

Re: [Qemu-devel] [PATCH v3 0/4] VFIO-based PCI device assignment for QEMU 1.2

2012-08-15 Thread Avi Kivity
On 08/14/2012 11:32 PM, Alex Williamson wrote: v3: - Incorporate feedback from Anthony, Avi, and Jan (Thank you!) I've also added a new tag to my github tree, so those who have already reviewed can check the delta by comparing: git://github.com/awilliam/qemu-vfio.git

Re: [Qemu-devel] [Qemu-trivial] [PATCH] vnc: Improve comment

2012-08-15 Thread Stefan Hajnoczi
On Fri, Aug 10, 2012 at 09:51:33PM +0200, Stefan Weil wrote: It's still not good, but hopefully better than before. Signed-off-by: Stefan Weil s...@weilnetz.de --- ui/vnc-enc-zywrle.h |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/vnc-enc-zywrle.h

Re: [Qemu-devel] [Qemu-trivial] [PATCH] docs: Fix spelling (propery - property)

2012-08-15 Thread Stefan Hajnoczi
On Fri, Aug 10, 2012 at 09:53:02PM +0200, Stefan Weil wrote: Signed-off-by: Stefan Weil s...@weilnetz.de --- docs/bootindex.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Thanks, applied to the trivial patches tree: https://github.com/stefanha/qemu/commits/trivial-patches

Re: [Qemu-devel] [PATCH] Spelling fix in comment (peripherans - peripherals)

2012-08-15 Thread Stefan Hajnoczi
On Fri, Aug 10, 2012 at 09:56:46PM +0200, Stefan Weil wrote: Signed-off-by: Stefan Weil s...@weilnetz.de --- hw/versatilepb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Thanks, applied to the trivial patches tree: https://github.com/stefanha/qemu/commits/trivial-patches Stefan

Re: [Qemu-devel] [PATCH] block-migration: deprecate block migration for the 1.2 release

2012-08-15 Thread Ruben Kerkhof
On Tue, Aug 14, 2012 at 4:42 PM, Stefan Hajnoczi stefa...@linux.vnet.ibm.com wrote: On Tue, Aug 14, 2012 at 08:32:31AM -0500, Anthony Liguori wrote: To be replaced with live block copy. Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- migration.c |9 + 1 files changed, 9

[Qemu-devel] [Bug 1036987] Re: compilation error due to bug in savevm.c

2012-08-15 Thread agraf
Patch is available at http://patchwork.ozlabs.org/patch/177217/ ** Changed in: qemu Status: New = Fix Committed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1036987 Title: compilation

Re: [Qemu-devel] [PATCH 00/23] Suppress unused default drives

2012-08-15 Thread Markus Armbruster
Paul Brook p...@codesourcery.com writes: *can* use it for something entirely else, if=sd notwithstanding: (qemu) device_add lsi (qemu) device_add scsi-cd,drive=sd0 If/when we get a PCI SD card controller model, would all the PCI using machines need to be added to take the 'no

[Qemu-devel] [PATCH 01/10] qemu-char: Add MSG_CMSG_CLOEXEC flag to recvmsg

2012-08-15 Thread Kevin Wolf
From: Corey Bryant cor...@linux.vnet.ibm.com Set the close-on-exec flag for the file descriptor received via SCM_RIGHTS. Signed-off-by: Corey Bryant cor...@linux.vnet.ibm.com Signed-off-by: Kevin Wolf kw...@redhat.com --- qemu-char.c | 12 ++-- 1 files changed, 10 insertions(+), 2

[Qemu-devel] [PATCH 04/10] block: Convert open calls to qemu_open

2012-08-15 Thread Kevin Wolf
From: Corey Bryant cor...@linux.vnet.ibm.com This patch converts all block layer open calls to qemu_open. Note that this adds the O_CLOEXEC flag to the changed open paths when the O_CLOEXEC macro is defined. Signed-off-by: Corey Bryant cor...@linux.vnet.ibm.com Signed-off-by: Kevin Wolf

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

2012-08-15 Thread Kevin Wolf
The following changes since commit 03834e22abafbc8dc4052d46a5ccd6dd135a54a3: Merge remote-tracking branch 'origin/master' into staging (2012-08-14 15:19:50 -0500) are available in the git repository at: http://repo.or.cz/r/qemu/kevin.git for-anthony Corey Bryant (7): qemu-char: Add

[Qemu-devel] [PATCH 08/10] iscsi: Fix NULL dereferences / races between task completion and abort

2012-08-15 Thread Kevin Wolf
From: Stefan Priebe s.pri...@profihost.ag Signed-off-by: Stefan Priebe s.pri...@profihost.ag Acked-by: Ronnie Sahlberg ronniesahlb...@gmail.com Signed-off-by: Kevin Wolf kw...@redhat.com --- block/iscsi.c | 55 +++ 1 files changed, 23

[Qemu-devel] [PATCH 02/10] qapi: Introduce add-fd, remove-fd, query-fdsets

2012-08-15 Thread Kevin Wolf
From: Corey Bryant cor...@linux.vnet.ibm.com This patch adds support that enables passing of file descriptors to the QEMU monitor where they will be stored in specified file descriptor sets. A file descriptor set can be used by a client like libvirt to store file descriptors for the same file.

[Qemu-devel] [PATCH 05/10] block: Convert close calls to qemu_close

2012-08-15 Thread Kevin Wolf
From: Corey Bryant cor...@linux.vnet.ibm.com This patch converts all block layer close calls, that correspond to qemu_open calls, to qemu_close. Signed-off-by: Corey Bryant cor...@linux.vnet.ibm.com Signed-off-by: Kevin Wolf kw...@redhat.com --- block/raw-posix.c | 24

[Qemu-devel] [PATCH 07/10] monitor: Clean up fd sets on monitor disconnect

2012-08-15 Thread Kevin Wolf
From: Corey Bryant cor...@linux.vnet.ibm.com Fd sets are shared by all monitor connections. Fd sets are considered to be in use while at least one monitor is connected. When the last monitor disconnects, all fds that are members of an fd set with no outstanding dup references are closed. This

[Qemu-devel] [PATCH 09/10] block: Flush parent to OS with cache=unsafe

2012-08-15 Thread Kevin Wolf
Commit 29cdb251 already added a comment that no unnecessary flushes to disk will occur, this patch makes the code even get to the point of the comment. This is mostly theoretical because in practice we only stack one format on top of one protocol, the former implementing flush_to_os and the latter

Re: [Qemu-devel] [Qemu-trivial] [PATCH] srp: Don't use QEMU_PACKED for single elements of a structured type

2012-08-15 Thread Stefan Hajnoczi
On Fri, Aug 10, 2012 at 10:03:27PM +0200, Stefan Weil wrote: QEMU_PACKED results in a MinGW compiler warning when it is used for single structure elements: warning: 'gcc_struct' attribute ignored Using QEMU_PACKED for the whole structure avoids the compiler warning without changing the

Re: [Qemu-devel] [PATCH] framebuffer: Fix spelling in comment (leight - height)

2012-08-15 Thread Stefan Hajnoczi
On Sat, Aug 11, 2012 at 09:32:02PM +0200, Stefan Weil wrote: Signed-off-by: Stefan Weil s...@weilnetz.de --- hw/framebuffer.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Let there be leight! Thanks, applied to the trivial patches tree:

Re: [Qemu-devel] [Qemu-ppc] [PATCH v7 1/3] Add USB option in machine options

2012-08-15 Thread Li Zhang
On Wed, Aug 15, 2012 at 7:13 PM, David Gibson d...@au1.ibm.com wrote: On Wed, Aug 15, 2012 at 01:44:28PM +0800, Li Zhang wrote: On Wed, Aug 15, 2012 at 10:57 AM, David Gibson d...@au1.ibm.com wrote: On Wed, Aug 15, 2012 at 10:50:04AM +0800, Li Zhang wrote: On Wed, Aug 15, 2012 at 9:47 AM,

Re: [Qemu-devel] [Qemu-trivial] [PATCH] iov_send_recv(): Handle zero bytes case even if OS does not

2012-08-15 Thread Stefan Hajnoczi
On Sat, Aug 11, 2012 at 10:24:35PM +0100, Peter Maydell wrote: POSIX allows sendmsg() and recvmsg() to fail EMSGSIZE if passed a zero msg.msg_iovlen (in particular the MacOS X implementation will do this). Handle the case where iov_send_recv() is passed a zero byte count explicitly, to avoid

[Qemu-devel] Hard freeze for 1.2 today

2012-08-15 Thread anthony
Hi, Today is the hard freeze for 1.2. If you have any pull requests and/or patches targetted for the hard freeze, please send them by 3pm US/Central time today and clearly mark them for-1.2. If there are existing patches and/or pull requests on the mailing list that you think should be in 1.2,

[Qemu-devel] [PATCH 06/10] block: Enable qemu_open/close to work with fd sets

2012-08-15 Thread Kevin Wolf
From: Corey Bryant cor...@linux.vnet.ibm.com When qemu_open is passed a filename of the /dev/fdset/nnn format (where nnn is the fdset ID), an fd with matching access mode flags will be searched for within the specified monitor fd set. If the fd is found, a dup of the fd will be returned from

Re: [Qemu-devel] qemu and transparent huge pages

2012-08-15 Thread Michael Tokarev
On 15.08.2012 16:51, Avi Kivity wrote: On 08/15/2012 03:45 PM, Michael Tokarev wrote: But apparently, THP does not work still, even with 2Mb alignment: when running a guest, AnonHugePages in /proc/meminfo stays at 0 - either in kvm mode or in tcg mode. Any idea why? What else is needed for

[Qemu-devel] Q35 OS install status

2012-08-15 Thread Jason Baron
Hi, Linux - Fedora 17: installs and ran memory tests (requires ahci cdrom fixes I posted to install) Fedora 16: installs and ran memory tests Windows --- Windows 7: Wouldn't install due to this error: 'A required cd/dvd device driver is missing. If you have a

[Qemu-devel] [PATCH 03/10] block: Prevent detection of /dev/fdset/ as floppy

2012-08-15 Thread Kevin Wolf
From: Corey Bryant cor...@linux.vnet.ibm.com Signed-off-by: Corey Bryant cor...@linux.vnet.ibm.com Signed-off-by: Kevin Wolf kw...@redhat.com --- block/raw-posix.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/block/raw-posix.c b/block/raw-posix.c index

[Qemu-devel] [PATCH for-1.2 3/3] prep: Use pc87312 device instead of collection of random ISA devices

2012-08-15 Thread Andreas Färber
From: Hervé Poussineau hpous...@reactos.org We can't however replace the built-in IDE controller, as the one in pc87312 is only single-channel and can use only IRQ 14. Therefore the pc87312's IDE function gets disabled via the config property. PReP emulation also gains a parallel port emulation

[Qemu-devel] [PATCH for-1.2 0/3] prep: QOM'ify Super I/O

2012-08-15 Thread Andreas Färber
Hello, This mini-series updates a patch by Hervé (that didn't make it into v1.1) to clean up the PReP device emulation and allowing it to be shared with a future 40P machine. History: Hervé was original author of the 40P patches and provided them to me, I sent up to v5 (issue: ISABus not being

[Qemu-devel] [PATCH for-1.2 2/3] prep: Add pc87312 Super I/O emulation

2012-08-15 Thread Andreas Färber
From: Hervé Poussineau hpous...@reactos.org This provides floppy and IDE controllers as well as serial and parallel ports. However, dynamic configuration of devices is not yet supported. Signed-off-by: Hervé Poussineau hpous...@reactos.org [AF: QOM'ify, split out header, create CharDriverState

[Qemu-devel] [PATCH for-1.2 1/3] prep: Include devices for ppc64 as well

2012-08-15 Thread Andreas Färber
Allows running qemu-system-ppc64 -M prep for consistency. Signed-off-by: Andreas Färber andreas.faer...@web.de Cc: Markus Armbruster arm...@redhat.com Cc: Alexander Graf ag...@suse.de --- default-configs/ppc64-softmmu.mak |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git

Re: [Qemu-devel] qemu and transparent huge pages

2012-08-15 Thread Avi Kivity
On 08/15/2012 05:22 PM, Michael Tokarev wrote: Please provide extra info, like the setting of /sys/kernel/mm/transparent_hugepage/enabled. That was it - sort of. Default value here is enabled=madvise. When setting it to always the effect finally started appearing, so it is actually

[Qemu-devel] [PATCH 10/10] qemu-iotests: Fix 030 after switch to GenericError

2012-08-15 Thread Kevin Wolf
Signed-off-by: Kevin Wolf kw...@redhat.com Reviewed-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- tests/qemu-iotests/030 |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/qemu-iotests/030 b/tests/qemu-iotests/030 index cc671dd..f71ab8d 100755 ---

Re: [Qemu-devel] Q35 OS install status

2012-08-15 Thread Michael S. Tsirkin
On Wed, Aug 15, 2012 at 10:23:01AM -0400, Jason Baron wrote: Hi, Linux - Fedora 17: installs and ran memory tests (requires ahci cdrom fixes I posted to install) Fedora 16: installs and ran memory tests Windows --- Windows 7: Wouldn't install due to this error:

Re: [Qemu-devel] [PATCH for-1.2 0/3] prep: QOM'ify Super I/O

2012-08-15 Thread Alexander Graf
On 15.08.2012, at 16:24, Andreas Färber wrote: Hello, This mini-series updates a patch by Hervé (that didn't make it into v1.1) to clean up the PReP device emulation and allowing it to be shared with a future 40P machine. History: Hervé was original author of the 40P patches and

Re: [Qemu-devel] Hard freeze for 1.2 today

2012-08-15 Thread Peter Maydell
On 15 August 2012 15:22, anth...@codemonkey.ws wrote: Today is the hard freeze for 1.2. If you have any pull requests and/or patches targetted for the hard freeze, please send them by 3pm US/Central time today and clearly mark them for-1.2. If there are existing patches and/or pull requests

Re: [Qemu-devel] Hard freeze for 1.2 today

2012-08-15 Thread Eric Blake
On 08/15/2012 08:22 AM, anth...@codemonkey.ws wrote: Hi, Today is the hard freeze for 1.2. If you have any pull requests and/or patches targetted for the hard freeze, please send them by 3pm US/Central time today and clearly mark them for-1.2. If there are existing patches and/or pull

Re: [Qemu-devel] Hard freeze for 1.2 today

2012-08-15 Thread Eric Blake
On 08/15/2012 08:22 AM, anth...@codemonkey.ws wrote: Hi, Today is the hard freeze for 1.2. If you have any pull requests and/or patches targetted for the hard freeze, please send them by 3pm US/Central time today and clearly mark them for-1.2. If there are existing patches and/or pull

Re: [Qemu-devel] Hard freeze for 1.2 today

2012-08-15 Thread Jason Baron
On Wed, Aug 15, 2012 at 09:22:20AM -0500, anth...@codemonkey.ws wrote: Hi, Today is the hard freeze for 1.2. If you have any pull requests and/or patches targetted for the hard freeze, please send them by 3pm US/Central time today and clearly mark them for-1.2. If there are existing

Re: [Qemu-devel] [PATCH 2/2] Support using a different compiler for Objective-C files

2012-08-15 Thread Andreas Färber
Am 11.08.2012 23:34, schrieb Peter Maydell: MacOSX 10.8 (Mountain Lion) requires us to compile our one Objective-C source file with clang even if the rest of QEMU requires a real gcc, because the system headers we use make use of Apple's Blocks extension to C/ObjC, and mainline gcc doesn't

Re: [Qemu-devel] Hard freeze for 1.2 today

2012-08-15 Thread Jeff Cody
On 08/15/2012 10:36 AM, Eric Blake wrote: On 08/15/2012 08:22 AM, anth...@codemonkey.ws wrote: Hi, Today is the hard freeze for 1.2. If you have any pull requests and/or patches targetted for the hard freeze, please send them by 3pm US/Central time today and clearly mark them for-1.2. If

Re: [Qemu-devel] [PATCH for-1.2 0/3] prep: QOM'ify Super I/O

2012-08-15 Thread Andreas Färber
Am 15.08.2012 16:31, schrieb Alexander Graf: On 15.08.2012, at 16:24, Andreas Färber wrote: Since this only affects the PReP machine and has mostly been around for a while, I feel this is still acceptable for v1.2 at this late stage unless Alex objects. No objections. You might want

[Qemu-devel] [PATCH 0/3] Add JSON output to qemu-img info

2012-08-15 Thread Benoît Canet
This patchset add a JSON output mode to the qemu-img info command. It's a rewrite from scratch of the original patchset by Wenchao Xia following Anthony Liguori advices on JSON formating. To use it simply add --machine=json to the command line. Benoît Canet (3): qapi: Add SnapshotInfo. qapi:

[Qemu-devel] [PATCH 1/3] qapi: Add SnapshotInfo.

2012-08-15 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 24 1 file changed, 24 insertions(+) diff --git a/qapi-schema.json b/qapi-schema.json index a92adb1..8d4df19 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -126,6 +126,30 @@

[Qemu-devel] [PATCH 3/3] qemu-img: Add json output option to the info command.

2012-08-15 Thread Benoît Canet
This additionnal --machine=json option make qemu-img info output on stdout a JSON formated representation of the image informations. --machine=json was choosen instead of --format=json because the info command already have a -f parameter. example: { snapshots: [ { name:

[Qemu-devel] [PATCH 2/3] qapi: Add ImageInfo.

2012-08-15 Thread Benoît Canet
Signed-off-by: Benoit Canet ben...@irqsave.net --- qapi-schema.json | 33 + 1 file changed, 33 insertions(+) diff --git a/qapi-schema.json b/qapi-schema.json index 8d4df19..488da90 100644 --- a/qapi-schema.json +++ b/qapi-schema.json @@ -150,6 +150,39 @@

Re: [Qemu-devel] [PATCH 2/2] Support using a different compiler for Objective-C files

2012-08-15 Thread Peter Maydell
On 15 August 2012 15:47, Andreas Färber afaer...@suse.de wrote: Am 11.08.2012 23:34, schrieb Peter Maydell: +# Default objcc to clang if available, otherwise use CC +if has clang; then + objcc=clang On IRC I had commented that I find defaulting to clang whenever clang is available too

Re: [Qemu-devel] [PATCH for-1.2 0/3] prep: QOM'ify Super I/O

2012-08-15 Thread Alexander Graf
On 15.08.2012, at 16:53, Andreas Färber wrote: Am 15.08.2012 16:31, schrieb Alexander Graf: On 15.08.2012, at 16:24, Andreas Färber wrote: Since this only affects the PReP machine and has mostly been around for a while, I feel this is still acceptable for v1.2 at this late stage unless

Re: [Qemu-devel] qemu and transparent huge pages

2012-08-15 Thread Michael Tokarev
On 15.08.2012 18:26, Avi Kivity wrote: On 08/15/2012 05:22 PM, Michael Tokarev wrote: Please provide extra info, like the setting of /sys/kernel/mm/transparent_hugepage/enabled. That was it - sort of. Default value here is enabled=madvise. When setting it to always the effect finally

Re: [Qemu-devel] Q35 OS install status

2012-08-15 Thread Luiz Capitulino
On Wed, 15 Aug 2012 10:23:01 -0400 Jason Baron jba...@redhat.com wrote: Hi, Linux - Fedora 17: installs and ran memory tests (requires ahci cdrom fixes I posted to install) Fedora 16: installs and ran memory tests Windows --- Windows 7: Wouldn't install due to this

Re: [Qemu-devel] Q35 OS install status

2012-08-15 Thread Alexander Graf
On 15.08.2012, at 17:04, Luiz Capitulino wrote: On Wed, 15 Aug 2012 10:23:01 -0400 Jason Baron jba...@redhat.com wrote: Hi, Linux - Fedora 17: installs and ran memory tests (requires ahci cdrom fixes I posted to install) Fedora 16: installs and ran memory tests

Re: [Qemu-devel] qemu and transparent huge pages

2012-08-15 Thread Michael Tokarev
On 15.08.2012 19:03, Michael Tokarev wrote: +#ifdef MADV_HUGEPAGE +#error Heh. This #error shouldn't be here ofcourse, I were checking if we really getting there. +qemu_madvise(ptr, size, MADV_HUGEPAGE); +#endif

Re: [Qemu-devel] Hard freeze for 1.2 today

2012-08-15 Thread Andreas Färber
Hi, Am 15.08.2012 16:22, schrieb anth...@codemonkey.ws: If there are existing patches and/or pull requests on the mailing list that you think should be in 1.2, please respond to the email with a pointer to the mail. pci_host series v6 please:

[Qemu-devel] [PATCH] ehci: Fix setting of halt bit from usbcmd register updates

2012-08-15 Thread Hans de Goede
This fixes linux guests started without any USB devices not seeing newly plugged devices until lsusb is done inside the guest. Signed-off-by: Hans de Goede hdego...@redhat.com --- hw/usb/hcd-ehci.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git

[Qemu-devel] [PULL 0/9 for-1.2] Trivial patches for 11 to 15 August 2012

2012-08-15 Thread Stefan Hajnoczi
The last pull request for QEMU 1.2! The following changes since commit 03834e22abafbc8dc4052d46a5ccd6dd135a54a3: Merge remote-tracking branch 'origin/master' into staging (2012-08-14 15:19:50 -0500) are available in the git repository at: git://github.com/stefanha/qemu.git trivial-patches

Re: [Qemu-devel] [PATCH 1/2] qdev: split up header so it can be used in cpu.h

2012-08-15 Thread Andreas Färber
Am 10.08.2012 19:00, schrieb Anthony Liguori: Header file dependency is a frickin' nightmare right now. cpu.h tends to get included in our 'include everything' header files but qdev also needs to include those headers mainly for qdev-properties since it knows about CharDriverState and

Re: [Qemu-devel] Hard freeze for 1.2 today

2012-08-15 Thread Stefan Hajnoczi
On Wed, Aug 15, 2012 at 3:22 PM, anth...@codemonkey.ws wrote: Hi, Today is the hard freeze for 1.2. If you have any pull requests and/or patches targetted for the hard freeze, please send them by 3pm US/Central time today and clearly mark them for-1.2. If there are existing patches

Re: [Qemu-devel] Hard freeze for 1.2 today

2012-08-15 Thread Eric Blake
On 08/15/2012 08:51 AM, Jeff Cody wrote: On 08/15/2012 10:36 AM, Eric Blake wrote: On 08/15/2012 08:22 AM, anth...@codemonkey.ws wrote: Hi, Today is the hard freeze for 1.2. If you have any pull requests and/or patches targetted for the hard freeze, please send them by 3pm US/Central time

[Qemu-devel] [PATCH 8/9] iov_send_recv(): Handle zero bytes case even if OS does not

2012-08-15 Thread Stefan Hajnoczi
From: Peter Maydell peter.mayd...@linaro.org POSIX allows sendmsg() and recvmsg() to fail EMSGSIZE if passed a zero msg.msg_iovlen (in particular the MacOS X implementation will do this). Handle the case where iov_send_recv() is passed a zero byte count explicitly, to avoid accidentally depending

Re: [Qemu-devel] [PATCH 0/7] qapi: add commands to remove the need (v2)

2012-08-15 Thread Stefan Weil
Am 13.08.2012 19:16, schrieb Luiz Capitulino: On Fri, 10 Aug 2012 11:04:08 -0500 Anthony Liguori aligu...@us.ibm.com wrote: This series implements the necessary commands to implements danpb's idea to remove -help parsing in libvirt. We would introduce all of these commands in 1.2 and then

[Qemu-devel] [PATCH 1/9] Makefile: Avoid explicit list of directories in clean target

2012-08-15 Thread Stefan Hajnoczi
From: Peter Maydell peter.mayd...@linaro.org Avoid having an explicit list of directories in the 'clean' target by using 'find' to remove all .o and .d files instead. Signed-off-by: Peter Maydell peter.mayd...@linaro.org Reviewed-by: Eric Blake ebl...@redhat.com Signed-off-by: Stefan Hajnoczi

[Qemu-devel] [PATCH 2/9] ehci: fix assertion typo

2012-08-15 Thread Stefan Hajnoczi
From: Alejandro Martinez Ruiz a...@securiforest.com Signed-off-by: Alejandro Martinez Ruiz a...@securiforest.com Reviewed-by: Andreas Färber afaer...@suse.de Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- hw/usb/hcd-ehci.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[Qemu-devel] [PATCH 9/9] ivshmem, qdev-monitor: fix order of qerror parameters

2012-08-15 Thread Stefan Hajnoczi
From: Alberto Garcia agar...@igalia.com Now that the QERR_ macros no longer contain a json dictionary, the order of some parameters needs to be fixed for them to appear correctly. Signed-off-by: Alberto Garcia agar...@igalia.com Reviewed-by: Luiz Capitulino lcapitul...@redhat.com Signed-off-by:

[Qemu-devel] [PATCH 4/9] trace: Fix Qemu - QEMU

2012-08-15 Thread Stefan Hajnoczi
From: Stefan Weil s...@weilnetz.de Signed-off-by: Stefan Weil s...@weilnetz.de Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- scripts/simpletrace.py |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/simpletrace.py b/scripts/simpletrace.py index

[Qemu-devel] [PATCH 3/9] cputlb.c: Fix out of date comment

2012-08-15 Thread Stefan Hajnoczi
From: Peter Maydell peter.mayd...@linaro.org The comment about the return address from get_page_addr_code() was well out of date as phys_ram_base has not existed for some time. Signed-off-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com ---

Re: [Qemu-devel] [PATCH 2/2] cpu: for cpu-user and cpu-softmmu and make cpu-softmmu a child of DeviceState

2012-08-15 Thread Andreas Färber
Am 10.08.2012 19:00, schrieb Anthony Liguori: The line between linux-user and softmmu is not very well defined right now. linux-user really don't want to include devices and making CpuState a child of DeviceState would require pulling lots of stuff into linux-user. To solve this, we simply

[Qemu-devel] [PULL 0/2] s390 patch queue 2012-08-15

2012-08-15 Thread Alexander Graf
Hi Blue / Aurelien, This is my current patch queue for s390. Please pull. Alex The following changes since commit 03834e22abafbc8dc4052d46a5ccd6dd135a54a3: Anthony Liguori (1): Merge remote-tracking branch 'origin/master' into staging are available in the git repository at:

[Qemu-devel] [PATCH 1/2] s390: Fix error handling and condition code of service call

2012-08-15 Thread Alexander Graf
From: Christian Borntraeger borntrae...@de.ibm.com Invalid sccb addresses will cause specification or addressing exception. Lets add those checks. Furthermore, the good case (cc=0) was incorrect for KVM, we did not set the CC at all. We now use return codes 0 as program checks and return codes

[Qemu-devel] [PATCH 2/2] s390: provide interface for service interrupt/introduce interrupt.c

2012-08-15 Thread Alexander Graf
From: Christian Borntraeger borntrae...@de.ibm.com This patch creates interrupt.c. The first user is a callback for hw/* code to trigger an service interrupt for a given sccb value. Several interrupt types for s390 are floating (can be delivered to all CPUs). so this code does not belong to a

Re: [Qemu-devel] Hard freeze for 1.2 today

2012-08-15 Thread Alexander Graf
On 15.08.2012, at 16:22, anth...@codemonkey.ws wrote: Hi, Today is the hard freeze for 1.2. If you have any pull requests and/or patches targetted for the hard freeze, please send them by 3pm US/Central time today and clearly mark them for-1.2. If there are existing patches and/or

<    1   2   3   4   >