Re: [Qemu-devel] [PATCH] virtio-pci: Clear IRQ at reset

2015-03-12 Thread Fam Zheng
On Thu, 03/12 08:22, Michael S. Tsirkin wrote: On Thu, Mar 12, 2015 at 02:40:55PM +0800, Fam Zheng wrote: Currently we could leave PCI IRQ asserted even after reset, it is safer to clear it. In the case that a buggy driver has disabled MSI-X unintentially, we may have already injected

Re: [Qemu-devel] E5-2620v2 - emulation stop error

2015-03-12 Thread Paolo Bonzini
On 10/03/2015 19:16, Dr. David Alan Gilbert wrote: KVM internal error. Suberror: 1 emulation failure EAX= EBX= ECX= EDX=000fd2bc ESI= EDI= EBP= ESP= EIP=000fd2c5 EFL=00010007 [-PC] CPL=0 II=0 A20=1 SMM=0 HLT=0 ES =0010

[Qemu-devel] [PATCH v2] hmp: add info iothreads command

2015-03-12 Thread Ting Wang
Make info iothreads available on the HMP monitor. The results are as follows: id1: thread_id1 id2: thread_id2 Signed-off-by: Ting Wang kathy.wangt...@huawei.com --- v2: add braces for if --- hmp-commands.hx | 2 ++ hmp.c | 22 ++ hmp.h | 1 + monitor.c

[Qemu-devel] [PULL v2 3/5] configure: opengl overhaul

2015-03-12 Thread Gerd Hoffmann
Rename config option from glx to opengl, glx will not be the only option for opengl in near future. Also switch over to pkg-config for opengl support detection. Signed-off-by: Gerd Hoffmann kra...@redhat.com Reviewed-by: Max Reitz mre...@redhat.com --- configure| 39

Re: [Qemu-devel] KVM emulation failure with recent kernel and QEMU Seabios

2015-03-12 Thread Gerd Hoffmann
On Do, 2015-03-12 at 09:09 +0100, Jan Kiszka wrote: Hi, apparently since the latest QEMU updates I'm getting this once in a while: http://www.seabios.org/pipermail/seabios/2015-March/008897.html cheers, Gerd

[Qemu-devel] [vhost-net kernel module]: file.fd = -1 does nothing ?

2015-03-12 Thread Catalin Vasile
Why do vhost init/start functions put out with the work of using a vhost_call(VHOST_NET_SET_BACKEND) with file.fd = -1 in qemu vhost-net sources? From what I see in vhost-net kernel module it just returns NULL from get_socket(), and that's it. It doesn't set anything.

Re: [Qemu-devel] KVM emulation failure with recent kernel and QEMU Seabios

2015-03-12 Thread Gerd Hoffmann
On Do, 2015-03-12 at 09:14 +0100, Jan Kiszka wrote: Am 2015-03-12 um 09:11 schrieb Gerd Hoffmann: On Do, 2015-03-12 at 09:09 +0100, Jan Kiszka wrote: Hi, apparently since the latest QEMU updates I'm getting this once in a while:

Re: [Qemu-devel] [PATCH v2] vnc: fix segmentation fault when invalid vnc parameters are specified

2015-03-12 Thread Gerd Hoffmann
On Do, 2015-03-12 at 15:33 +0800, arei.gong...@huawei.com wrote: From: Gonglei arei.gong...@huawei.com Reproducer: #./qemu-system-x86_64 -vnc :0,ip qemu-system-x86_64: -vnc :1,ip: Invalid parameter 'ip' Segmentation fault (core dumped) Added to vnc patch queue. thanks, Gerd

Re: [Qemu-devel] [Qemu-block] [PATCH] block/dmg: make it modular if using additional library

2015-03-12 Thread Stefan Hajnoczi
On Tue, Mar 10, 2015 at 05:01:38PM +0300, Michael Tokarev wrote: 10.03.2015 16:58, Stefan Hajnoczi пишет: On Tue, Mar 10, 2015 at 10:09 AM, Kevin Wolf kw...@redhat.com wrote: Am 10.03.2015 um 10:17 hat Fam Zheng geschrieben: On Tue, 03/10 09:50, Kevin Wolf wrote: Am 10.03.2015 um 08:06

Re: [Qemu-devel] [PATCH v5 for-2.3 00/28] hw/pc: implement multiple primary busses for pc machines

2015-03-12 Thread Gerd Hoffmann
On Di, 2015-03-10 at 17:31 +0200, Marcel Apfelbaum wrote: v4-v5: - Rebased on pci branch, tree: git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git - Added PXB documentation (patch 28/28) - Addressed Gerd Hoffmann's review: - fix PXB behaviour if used with unsupported BIOS (patch 27/28)

[Qemu-devel] [PATCH 0/2] virtio-ccw: be accesses

2015-03-12 Thread Cornelia Huck
OK, here's what I have for the virtio-ccw be stuff. Patch 1 will go via s390-next with my next pull request, patch 2 is on top of your current virtio-1.0 branch and should possibly be merged into the patch introducing set-revision. Cornelia Huck (2): virtio-ccw: assure BE accesses virtio-ccw:

[Qemu-devel] [PULLv2] s390x/kvm: Features and fixes for 2.3

2015-03-12 Thread Christian Borntraeger
Peter, here is the 2nd version (only one patch changed) that hopefully compiles fine on 32 bit hosts. I only added that patch as followup mail. The following changes since commit 277263e1b320d759a760ba6c5ea75ec268f929e5: Merge remote-tracking branch

Re: [Qemu-devel] KVM emulation failure with recent kernel and QEMU Seabios

2015-03-12 Thread Jan Kiszka
Am 2015-03-12 um 09:11 schrieb Gerd Hoffmann: On Do, 2015-03-12 at 09:09 +0100, Jan Kiszka wrote: Hi, apparently since the latest QEMU updates I'm getting this once in a while: http://www.seabios.org/pipermail/seabios/2015-March/008897.html OK... So we are waiting on a stable release to

Re: [Qemu-devel] [PATCH 7/8] machine: query dump-guest-core machine property rather than qemu opts

2015-03-12 Thread Marcel Apfelbaum
On 03/11/2015 01:06 PM, Andreas Färber wrote: Am 11.03.2015 um 09:56 schrieb Michael S. Tsirkin: On Tue, Mar 10, 2015 at 10:36:56PM +0100, Andreas Färber wrote: Am 10.03.2015 um 22:24 schrieb Michael S. Tsirkin: On Tue, Mar 10, 2015 at 06:50:24PM +0100, Andreas Färber wrote: Hi, Am

Re: [Qemu-devel] [PATCH RFC 0/2] Limit support for encrypted images to qemu-img

2015-03-12 Thread Kevin Wolf
Am 11.03.2015 um 10:59 hat Daniel P. Berrange geschrieben: On Wed, Mar 11, 2015 at 09:55:16AM +0100, Markus Armbruster wrote: Daniel P. Berrange berra...@redhat.com writes: FWIW, I could see an improved interaction scheme working as follows First, introduce a new monitor command for

Re: [Qemu-devel] E5-2620v2 - emulation stop error

2015-03-12 Thread Dr. David Alan Gilbert
* Andrey Korolyov (and...@xdel.ru) wrote: On Sat, Mar 7, 2015 at 3:00 AM, Andrey Korolyov and...@xdel.ru wrote: On Fri, Mar 6, 2015 at 7:57 PM, Bandan Das b...@redhat.com wrote: Andrey Korolyov and...@xdel.ru writes: On Fri, Mar 6, 2015 at 1:14 AM, Andrey Korolyov and...@xdel.ru wrote:

[Qemu-devel] [PULL 10/10] bitops.h: sextract64() return type should be int64_t, not uint64_t

2015-03-12 Thread Peter Maydell
The documentation for sextract64() claims that the return type is an int64_t, but the code itself disagrees. Fix the return type to conform to the documentation and to bring it into line with sextract32(), which returns int32_t. Signed-off-by: Peter Maydell peter.mayd...@linaro.org Reviewed-by:

Re: [Qemu-devel] [PATCH] hw/boards: make it safe to include for linux-user

2015-03-12 Thread Michael S. Tsirkin
On Tue, Mar 10, 2015 at 06:34:44PM +0100, Andreas Färber wrote: Am 10.03.2015 um 18:33 schrieb Michael S. Tsirkin: Make it safe to include hw/boards.h in exec.c for linux-user configurations. We don't need any of its contents though. Signed-off-by: Michael S. Tsirkin m...@redhat.com

Re: [Qemu-devel] [PATCH] configure: bump glib version to 2.16

2015-03-12 Thread John Snow
Adding in Michael Tokarev, I fat-fingered his email address. On 03/10/2015 01:37 PM, John Snow wrote: Our qtest suite relies on many functions available only in glib 2.16+. Even though our base QEMU binary may only require 2.12+, it is confusing to have two separate version requirements. Thus,

Re: [Qemu-devel] [PATCH] configure: bump glib version to 2.16

2015-03-12 Thread Peter Maydell
On 10 March 2015 at 17:43, John Snow js...@redhat.com wrote: Wasn't aware we were actually going through with that; it had looked like we were going to refrain from fiddling with it because we found a workaround that sufficed for glib 2.12. Well, we're not doing anything before QEMU 2.3 is

Re: [Qemu-devel] fw_cfg specification ?

2015-03-12 Thread Gerd Hoffmann
Hi, I won't say better, but it is committed: check Documentation/devicetree/bindings/arm/fw-cfg.txt in the kernel tree. It is intentionally vague on the set of keys and fw_cfg files that qemu provides, because that's a moving target. You can only rely on the qemu source for those.

Re: [Qemu-devel] [PATCH] hw/boards: make it safe to include for linux-user

2015-03-12 Thread Andreas Färber
Am 10.03.2015 um 18:41 schrieb Michael S. Tsirkin: On Tue, Mar 10, 2015 at 06:34:44PM +0100, Andreas Färber wrote: Am 10.03.2015 um 18:33 schrieb Michael S. Tsirkin: Make it safe to include hw/boards.h in exec.c for linux-user configurations. We don't need any of its contents though.

Re: [Qemu-devel] [PULL 0/7] X86 patches

2015-03-12 Thread Eduardo Habkost
On Tue, Mar 10, 2015 at 11:16:36AM -0300, Eduardo Habkost wrote: On Tue, Mar 10, 2015 at 11:44:22AM +, Peter Maydell wrote: On 9 March 2015 at 20:40, Eduardo Habkost ehabk...@redhat.com wrote: The following changes since commit 277263e1b320d759a760ba6c5ea75ec268f929e5: Merge

Re: [Qemu-devel] [PULLv2] qemu-sparc update

2015-03-12 Thread Peter Maydell
On 10 March 2015 at 14:01, Mark Cave-Ayland mark.cave-ayl...@ilande.co.uk wrote: Hi Peter, Here are the updates from my qemu-sparc tree. Please pull. ATB, Mark. v2: update OpenBIOS git submodule and all binaries The following changes since commit

Re: [Qemu-devel] [PATCH RFC 0/2] Limit support for encrypted images to qemu-img

2015-03-12 Thread Daniel P. Berrange
On Wed, Mar 11, 2015 at 09:55:16AM +0100, Markus Armbruster wrote: Daniel P. Berrange berra...@redhat.com writes: On Tue, Mar 10, 2015 at 06:26:38PM +0100, Markus Armbruster wrote: RFC because the series only covers open [PATCH 1], but not create. Also missing: make qemu-img print a

Re: [Qemu-devel] [PATCH 0/2] ui: two small fixes

2015-03-12 Thread Gerd Hoffmann
On Mi, 2015-03-11 at 16:20 +0800, arei.gong...@huawei.com wrote: Gonglei (2): ui/console: fix OVERFLOW_BEFORE_WIDEN vnc: avoid possible file handler leak added to vnc patch queue. thanks, Gerd

Re: [Qemu-devel] [PATCH v2 1/1] target-i386: Remove icc_bridge parameter from cpu_x86_create()

2015-03-12 Thread Igor Mammedov
On Tue, 10 Mar 2015 18:57:35 -0300 Eduardo Habkost ehabk...@redhat.com wrote: Instead of passing icc_bridge from the PC initialization code to cpu_x86_create(), make the PC initialization code attach the CPU to icc_bridge. The only difference here is that icc_bridge attachment will now be

Re: [Qemu-devel] [PATCH] hmp: add info iothreads command

2015-03-12 Thread Wangting (Kathy)
On 2015-3-12 15:20, Fam Zheng wrote: On Thu, 03/12 15:00, Ting Wang wrote: +if (elem-value) +monitor_printf(mon, %s: thread_id=%ld\n, elem-value-id, +elem-value-thread_id); Braces are required for if. Fam Okay, will fix in v2, thanks. Ting

Re: [Qemu-devel] configure: enable kvm on x32

2015-03-12 Thread Michael Tokarev
12.03.2015 10:16, Peter Maydell wrote: On 12 March 2015 at 06:13, Michael Tokarev m...@tls.msk.ru wrote: Here's a trivial change to enable kvm on x32 architecture. I'm not 100% sure the result works correctly in all cases, but this is a good start and in theory everything should work.

[Qemu-devel] KVM emulation failure with recent kernel and QEMU Seabios

2015-03-12 Thread Jan Kiszka
Hi, apparently since the latest QEMU updates I'm getting this once in a while: KVM internal error. Suberror: 1 emulation failure EAX= EBX= ECX= EDX=000fd2bc ESI= EDI= EBP= ESP= EIP=000fd2c5 EFL=00010007 [-PC] CPL=0 II=0 A20=1 SMM=0

[Qemu-devel] [PULL v2 1/5] sdl: Refresh debug statements

2015-03-12 Thread Gerd Hoffmann
From: Benjamin Herrenschmidt b...@kernel.crashing.org Put them under a #define similar to the VGA model and make them actually compile. Add a couple too. Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org Signed-off-by: Gerd Hoffmann kra...@redhat.com --- ui/sdl.c | 24

[Qemu-devel] [PULL v2 0/5] sdl patch queue.

2015-03-12 Thread Gerd Hoffmann
branch 'remotes/pmaydell/tags/pull-target-arm-20150311' into staging (2015-03-11 16:30:33 +) are available in the git repository at: git://git.kraxel.org/qemu tags/pull-sdl-20150312-1 for you to fetch changes up to ecdc9a53acd7a5d0cf48f1b77b83c70e513e81da: pixman: add a bunch of PIXMAN_BE_

[Qemu-devel] [PULL v2 2/5] sdl: Fix crash when calling sdl_switch() with NULL surface

2015-03-12 Thread Gerd Hoffmann
From: Benjamin Herrenschmidt b...@kernel.crashing.org This happens for example when doing ctrl-alt-u and segfaults Signed-off-by: Benjamin Herrenschmidt b...@kernel.crashing.org Signed-off-by: Gerd Hoffmann kra...@redhat.com --- ui/sdl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[Qemu-devel] qemu-system-ppc TCG assert with git master

2015-03-12 Thread Mark Cave-Ayland
Hi all, Whilst testing git master in preparation for some OpenBIOS updates, I'm seeing the following TCG assert in one of my older test images: $ gdb --args ./qemu-system-ppc -cdrom /home/build/src/qemu/image/ppc/ubuntu-5.10-live-powerpc.iso -boot d -g 800x600x8 GNU gdb (GDB) 7.4.1-debian

[Qemu-devel] [PULL v2 4/5] Allow the use of X11 from a non standard location.

2015-03-12 Thread Gerd Hoffmann
From: Jeremy White jwh...@codeweavers.com Signed-off-by: Jeremy White jwh...@codeweavers.com [ kraxel: solve opengl patch conflicts ] Signed-off-by: Gerd Hoffmann kra...@redhat.com Reviewed-by: Max Reitz mre...@redhat.com --- configure| 24 +++-

[Qemu-devel] [PULL 2/7] vnc: remove dead code

2015-03-12 Thread Gerd Hoffmann
If vs-ws_enabled is set ws_display is non-NULL. Signed-off-by: Gerd Hoffmann kra...@redhat.com Reviewed-by: Gonglei arei.gong...@huawei.com --- ui/vnc.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/ui/vnc.c b/ui/vnc.c index 65ba1c0..bac44ce 100644 --- a/ui/vnc.c

[Qemu-devel] [PULL 6/7] vnc: avoid possible file handler leak

2015-03-12 Thread Gerd Hoffmann
From: Gonglei arei.gong...@huawei.com vs-lsock may equal to 0, modify the check condition, avoid possible vs-lsock leak. Signed-off-by: Gonglei arei.gong...@huawei.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- ui/vnc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Qemu-devel] [PULL 7/7] vnc: fix segmentation fault when invalid vnc parameters are specified

2015-03-12 Thread Gerd Hoffmann
From: Gonglei arei.gong...@huawei.com Reproducer: #./qemu-system-x86_64 -vnc :0,ip qemu-system-x86_64: -vnc :1,ip: Invalid parameter 'ip' Segmentation fault (core dumped) Signed-off-by: Gonglei arei.gong...@huawei.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- ui/vnc.c | 7 ++- 1

[Qemu-devel] [PULL v2 5/5] pixman: add a bunch of PIXMAN_BE_* defines for 32bpp

2015-03-12 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann kra...@redhat.com Reviewed-by: Max Reitz mre...@redhat.com --- include/ui/qemu-pixman.h | 16 1 file changed, 16 insertions(+) diff --git a/include/ui/qemu-pixman.h b/include/ui/qemu-pixman.h index 3dee576..5d7a9ac 100644 ---

Re: [Qemu-devel] [PATCH v2] hmp: add info iothreads command

2015-03-12 Thread Ting Wang
On 2015-3-12 17:05, Fam Zheng wrote: On Thu, 03/12 16:35, Ting Wang wrote: Make info iothreads available on the HMP monitor. The results are as follows: id1: thread_id1 id2: thread_id2 Does this match the actual output format? I think you're missing a =. Oh, sorry. I will fix it.

Re: [Qemu-devel] [PATCH v2 14/17] block: Resize bitmaps on bdrv_truncate

2015-03-12 Thread John Snow
On 03/11/2015 12:18 PM, Stefan Hajnoczi wrote: On Mon, Mar 02, 2015 at 06:20:00PM -0500, John Snow wrote: +static void dirty_bitmap_truncate(BdrvDirtyBitmap *bitmap, uint64_t size) +{ +/* Should only be frozen during a block backup job, which should have + * blocked any resize

[Qemu-devel] [PULL 0/7] vnc patch queue.

2015-03-12 Thread Gerd Hoffmann
in the git repository at: git://git.kraxel.org/qemu tags/pull-vnc-20150312-1 for you to fetch changes up to 81607cbfa433272d1f09bd0f0ae6c3b14f818972: vnc: fix segmentation fault when invalid vnc parameters are specified (2015-03-12 09:09:10 +0100

Re: [Qemu-devel] [PATCH v5 17/45] Add wrappers and handlers for sending/receiving the postcopy-ram migration messages.

2015-03-12 Thread David Gibson
On Wed, Feb 25, 2015 at 04:51:40PM +, Dr. David Alan Gilbert (git) wrote: From: Dr. David Alan Gilbert dgilb...@redhat.com The state of the postcopy process is managed via a series of messages; * Add wrappers and handlers for sending/receiving these messages * Add state variable

Re: [Qemu-devel] [PATCH v5 16/45] Add migration-capability boolean for postcopy-ram.

2015-03-12 Thread David Gibson
On Wed, Feb 25, 2015 at 04:51:39PM +, Dr. David Alan Gilbert (git) wrote: From: Dr. David Alan Gilbert dgilb...@redhat.com This absolutely needs a commit message. I shouldn't have to look at the code to find out what the presence of this capability asserts, and from where to where it's

Re: [Qemu-devel] [PATCH v5 15/45] Rework loadvm path for subloops

2015-03-12 Thread David Gibson
On Wed, Feb 25, 2015 at 04:51:38PM +, Dr. David Alan Gilbert (git) wrote: From: Dr. David Alan Gilbert dgilb...@redhat.com Postcopy needs to have two migration streams loading concurrently; one from memory (with the device state) and the other from the fd with the memory transactions.

Re: [Qemu-devel] [PATCH 2/2 RFC] s390x/pci: rework pci infrastructure modeling

2015-03-12 Thread Frank Blaschka
On Wed, Mar 11, 2015 at 03:57:05PM +0100, Michael S. Tsirkin wrote: On Wed, Mar 11, 2015 at 03:38:44PM +0100, Frank Blaschka wrote: I like Alex's idea because: 1) It reflects pretty well the actual nature of the pci system in real s390 hw why do you say this? does real hw has this one

Re: [Qemu-devel] [PATCH 0/1] Get the list of arguments from a QMP command

2015-03-12 Thread Alberto Garcia
On Wed, Mar 11, 2015 at 11:21:43AM +0100, Markus Armbruster wrote: I can actually try to implement full introspection support, but I would like to know what API you would like. Something like this? 'query-commands' 'query-enums' 'query-events' 'query-types'

Re: [Qemu-devel] [Qemu-Dev-QUERY] Related to Live Migration source Code or API for NUMA Node specific

2015-03-12 Thread Arkajit Ghosh
Hi Team, Can anyone please provide their point of views related to my below query. Thanks Regards Arkajit Ghosh -Arkajit Ghosh/DEL/TCS wrote: - To: qemu-devel@nongnu.org From: Arkajit Ghosh/DEL/TCS Date: 03/12/2015 09:59AM Subject: Re:

[Qemu-devel] [PULL 1/7] vnc: drop display+ws_display from VncDisplay

2015-03-12 Thread Gerd Hoffmann
Nobody cares about those strings, they are only used to check whenever the vnc server / websocket support is enabled or not. Add bools for this and drop the strings. Signed-off-by: Gerd Hoffmann kra...@redhat.com Reviewed-by: Gonglei arei.gong...@huawei.com --- ui/vnc-auth-sasl.c | 2 +-

Re: [Qemu-devel] [PULLv2] s390x/kvm: Features and fixes for 2.3

2015-03-12 Thread Peter Maydell
On 11 March 2015 at 10:21, Christian Borntraeger borntrae...@de.ibm.com wrote: Peter, here is the 2nd version (only one patch changed) that hopefully compiles fine on 32 bit hosts. I only added that patch as followup mail. Applied, thanks. -- PMM

[Qemu-devel] [PULL 5/7] ui/console: fix OVERFLOW_BEFORE_WIDEN

2015-03-12 Thread Gerd Hoffmann
From: Gonglei arei.gong...@huawei.com Signed-off-by: Gonglei arei.gong...@huawei.com Signed-off-by: Gerd Hoffmann kra...@redhat.com --- ui/console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/console.c b/ui/console.c index 87af6b5..b15ca87 100644 ---

[Qemu-devel] [PULL 3/7] vnc: switch to inet_listen_opts

2015-03-12 Thread Gerd Hoffmann
Use inet_listen_opts instead of inet_listen. Allows us to drop some pointless indirection: Format strings just to parse them again later on. Signed-off-by: Gerd Hoffmann kra...@redhat.com Tested-by: Gonglei arei.gong...@huawei.com Reviewed-by: Gonglei arei.gong...@huawei.com --- ui/vnc.c | 75

[Qemu-devel] [Bug 1297218] Re: guest hangs after live migration due to tsc jump

2015-03-12 Thread Mohammed Gamal
Ping. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1297218 Title: guest hangs after live migration due to tsc jump Status in QEMU: New Status in glusterfs package in Ubuntu: Invalid Status

[Qemu-devel] [PULL 4/7] ui: fix regression in x509verify parameter for VNC server

2015-03-12 Thread Gerd Hoffmann
From: Daniel P. Berrange berra...@redhat.com The 'x509verify' parameter is documented as taking a path to the x509 certificates, ie the same syntax as the 'x509' parameter. commit 4db14629c38611061fc19ec6927405923de84f08 Author: Gerd Hoffmann kra...@redhat.com Date: Tue Sep 16 12:33:03

[Qemu-devel] [PATCH] smbios: add max speed comdline option for type-17 (meory device) structure

2015-03-12 Thread Gabriel L. Somlo
Signed-off-by: Gabriel Somlo so...@cmu.edu --- hw/i386/smbios.c | 10 -- qemu-options.hx | 4 ++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/hw/i386/smbios.c b/hw/i386/smbios.c index f2e9ab6..1341e02 100644 --- a/hw/i386/smbios.c +++ b/hw/i386/smbios.c @@ -91,6

Re: [Qemu-devel] [PATCH] virtio-pci: Clear IRQ at reset

2015-03-12 Thread Michael S. Tsirkin
On Thu, Mar 12, 2015 at 02:40:55PM +0800, Fam Zheng wrote: Currently we could leave PCI IRQ asserted even after reset, it is safer to clear it. In the case that a buggy driver has disabled MSI-X unintentially, we may have already injected IRQ in previous virtio_pci_notify, which will not be

Re: [Qemu-devel] [PATCH RFC v3 13/27] COLO RAM: Flush cached RAM into SVM's memory

2015-03-12 Thread Dr. David Alan Gilbert
* zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: We only need to flush RAM that is both dirty on PVM and SVM since last checkpoint. Besides, we must ensure flush RAM cache before load device state. Signed-off-by: zhanghailiang zhang.zhanghaili...@huawei.coma Signed-off-by: Lai

Re: [Qemu-devel] [PATCH v2] hmp: add info iothreads command

2015-03-12 Thread Fam Zheng
On Thu, 03/12 16:35, Ting Wang wrote: Make info iothreads available on the HMP monitor. The results are as follows: id1: thread_id1 id2: thread_id2 Does this match the actual output format? I think you're missing a =. Signed-off-by: Ting Wang kathy.wangt...@huawei.com --- v2: add

Re: [Qemu-devel] [PATCH 0/4] virtio-scsi: fix up cdb mess

2015-03-12 Thread Alexey Kardashevskiy
On 03/12/2015 12:42 AM, Michael S. Tsirkin wrote: Fam Zheng f...@redhat.com, Alexey Kardashevskiy a...@ozlabs.ru, Nikunj A Dadhania nik...@linux.vnet.ibm.com all reported that importing linux headers breaks cdb/sense in virtio scsi in qemu. This imports a linux patch fixing that, and does some

Re: [Qemu-devel] [PATCH V3 00/14] Support more virtio queues

2015-03-12 Thread Michael S. Tsirkin
On Thu, Mar 05, 2015 at 01:48:37PM +0800, Jason Wang wrote: We current limit the max virtio queues to 64. This is not sufficient to support multiqueue deivces (e.g recent Linux support up to 256 tap queues). So this series try to let virtio to support more queues. For some reason I was Cc'd

Re: [Qemu-devel] [PATCH v2] hmp: add info iothreads command

2015-03-12 Thread Ting Wang
On 2015-3-12 17:05, Fam Zheng wrote: On Thu, 03/12 16:35, Ting Wang wrote: Make info iothreads available on the HMP monitor. The results are as follows: id1: thread_id1 id2: thread_id2 Does this match the actual output format? I think you're missing a =. Signed-off-by: Ting Wang

Re: [Qemu-devel] [PATCH V3 00/14] Support more virtio queues

2015-03-12 Thread Jason Wang
On Thu, Mar 12, 2015 at 5:28 PM, Michael S. Tsirkin m...@redhat.com wrote: On Thu, Mar 05, 2015 at 01:48:37PM +0800, Jason Wang wrote: We current limit the max virtio queues to 64. This is not sufficient to support multiqueue deivces (e.g recent Linux support up to 256 tap queues). So

Re: [Qemu-devel] [PATCH v2] hmp: add info iothreads command

2015-03-12 Thread Fam Zheng
On Thu, 03/12 17:32, Ting Wang wrote: It is a command in info group, I think documentation as follows is OK, do you agree with it? diff --git a/hmp-commands.hx b/hmp-commands.hx index d5022d8..67d76ed 100644 --- a/hmp-commands.hx +++ b/hmp-commands.hx @@ -1746,6 +1746,8 @@ show roms

Re: [Qemu-devel] [PATCH 2/2 RFC] s390x/pci: rework pci infrastructure modeling

2015-03-12 Thread Michael S. Tsirkin
On Thu, Mar 12, 2015 at 09:46:44AM +0100, Frank Blaschka wrote: On Wed, Mar 11, 2015 at 03:57:05PM +0100, Michael S. Tsirkin wrote: On Wed, Mar 11, 2015 at 03:38:44PM +0100, Frank Blaschka wrote: I like Alex's idea because: 1) It reflects pretty well the actual nature of the pci system in

Re: [Qemu-devel] [PATCH v2 3/3] target-arm: get_phys_addr_lpae: more xn control

2015-03-12 Thread Peter Maydell
On 10 March 2015 at 21:06, Andrew Jones drjo...@redhat.com wrote: This patch makes the following changes to the determination of whether an address is executable, when translating addresses using LPAE. 1. No longer assumes that PL0 can't execute when it can't read. It can in AArch64, a

Re: [Qemu-devel] [PULL 0/2] target-mips queue

2015-03-12 Thread Peter Maydell
On 11 March 2015 at 16:15, Leon Alrae leon.al...@imgtec.com wrote: Hi, This pull request contains remaining change for 2.3 which was originally submitted before soft-freeze. Thanks, Leon Cc: Peter Maydell peter.mayd...@linaro.org Cc: Aurelien Jarno aurel...@aurel32.net The following

Re: [Qemu-devel] [PATCH v6 07/15] spapr_rtas: add ibm, configure-connector RTAS interface

2015-03-12 Thread David Gibson
On Thu, Mar 05, 2015 at 08:12:58AM -0600, Michael Roth wrote: Quoting David Gibson (2015-03-04 22:30:40) On Wed, Mar 04, 2015 at 07:37:08AM -0600, Michael Roth wrote: Quoting Michael Roth (2015-03-03 23:50:34) Quoting David Gibson (2015-03-02 23:33:39) On Mon, Mar 02, 2015 at

Re: [Qemu-devel] E5-2620v2 - emulation stop error

2015-03-12 Thread Dr. David Alan Gilbert
* Andrey Korolyov (and...@xdel.ru) wrote: On Wed, Mar 11, 2015 at 10:59 PM, Dr. David Alan Gilbert dgilb...@redhat.com wrote: * Andrey Korolyov (and...@xdel.ru) wrote: On Wed, Mar 11, 2015 at 10:33 PM, Dr. David Alan Gilbert dgilb...@redhat.com wrote: * Kevin O'Connor

Re: [Qemu-devel] [PATCH] virtio-pci: Clear IRQ at reset

2015-03-12 Thread Michael S. Tsirkin
On Thu, Mar 12, 2015 at 06:00:28PM +0800, Fam Zheng wrote: On Thu, 03/12 10:41, Michael S. Tsirkin wrote: On Thu, Mar 12, 2015 at 02:40:55PM +0800, Fam Zheng wrote: Currently we could leave PCI IRQ asserted even after reset, it is safer to clear it. In the case that a buggy driver

Re: [Qemu-devel] [PATCH 2/2 RFC] s390x/pci: rework pci infrastructure modeling

2015-03-12 Thread Frank Blaschka
On Thu, Mar 12, 2015 at 11:03:50AM +0100, Michael S. Tsirkin wrote: On Thu, Mar 12, 2015 at 10:54:24AM +0100, Frank Blaschka wrote: On Wed, Mar 11, 2015 at 06:42:34PM +0100, Michael S. Tsirkin wrote: On Wed, Mar 11, 2015 at 03:38:44PM +0100, Frank Blaschka wrote: On Tue, Mar 10, 2015 at

Re: [Qemu-devel] [PATCH] virtio-pci: Clear IRQ at reset

2015-03-12 Thread Michael S. Tsirkin
On Thu, Mar 12, 2015 at 10:21:47AM +, Peter Maydell wrote: On 12 March 2015 at 10:16, Michael S. Tsirkin m...@redhat.com wrote: So thinking about this more, by the time kdump tries to reset device, linux has probably already disabled the IRQ at the APIC level. Isn't that the case? If

Re: [Qemu-devel] E5-2620v2 - emulation stop error

2015-03-12 Thread Andrey Korolyov
On Thu, Mar 12, 2015 at 12:59 PM, Dr. David Alan Gilbert dgilb...@redhat.com wrote: * Andrey Korolyov (and...@xdel.ru) wrote: On Wed, Mar 11, 2015 at 10:59 PM, Dr. David Alan Gilbert dgilb...@redhat.com wrote: * Andrey Korolyov (and...@xdel.ru) wrote: On Wed, Mar 11, 2015 at 10:33 PM, Dr.

Re: [Qemu-devel] [PATCH] uapi/virtio_scsi: allow overriding CDB/SENSE size

2015-03-12 Thread Michael S. Tsirkin
On Wed, Mar 11, 2015 at 02:19:03PM +0100, Michael S. Tsirkin wrote: QEMU wants to use virtio scsi structures with a different VIRTIO_SCSI_CDB_SIZE/VIRTIO_SCSI_SENSE_SIZE, let's add ifdefs to allow overriding them. Keep the old defines under new names:

Re: [Qemu-devel] [PATCH] virtio-pci: Clear IRQ at reset

2015-03-12 Thread Michael S. Tsirkin
On Thu, Mar 12, 2015 at 06:00:28PM +0800, Fam Zheng wrote: On Thu, 03/12 10:41, Michael S. Tsirkin wrote: On Thu, Mar 12, 2015 at 02:40:55PM +0800, Fam Zheng wrote: Currently we could leave PCI IRQ asserted even after reset, it is safer to clear it. In the case that a buggy driver

[Qemu-devel] [PATCH v5 2/7] aer: impove pcie_aer_init to support vfio device

2015-03-12 Thread Chen Fan
pcie_aer_init was used to emulate an aer capability for pcie device, but for vfio device, the aer config space size is mutable and is not always equal to PCI_ERR_SIZEOF(0x48). it depends on where the TLP Prefix register required, so here we add a size argument. Signed-off-by: Chen Fan

Re: [Qemu-devel] [PATCH] virtio-pci: Clear IRQ at reset

2015-03-12 Thread Michael S. Tsirkin
On Thu, Mar 12, 2015 at 11:04:33AM +, Peter Maydell wrote: On 12 March 2015 at 10:57, Michael S. Tsirkin m...@redhat.com wrote: This isn't a device reset though. The function that Fam is touching is called when a special virtio reset register to poked by the driver. It only resets

Re: [Qemu-devel] [PATCH 2/2 RFC] s390x/pci: rework pci infrastructure modeling

2015-03-12 Thread Frank Blaschka
On Wed, Mar 11, 2015 at 06:42:34PM +0100, Michael S. Tsirkin wrote: On Wed, Mar 11, 2015 at 03:38:44PM +0100, Frank Blaschka wrote: On Tue, Mar 10, 2015 at 03:26:23PM +0100, Michael S. Tsirkin wrote: On Tue, Mar 10, 2015 at 02:03:34PM +0100, Frank Blaschka wrote: This patch changes the

Re: [Qemu-devel] [PULL 00/25] misc fixes and cleanups

2015-03-12 Thread Peter Maydell
On 11 March 2015 at 19:50, Michael S. Tsirkin m...@redhat.com wrote: OK, doing a pull request now before it grows up to be another 100 patch monster. And the virtio scsi bug at least blocks some testers, so there's some urgency. Pls pull. The following changes since commit

[Qemu-devel] [PATCH v5 7/7] pc: add PC_I440FX_COMPAT to disable aercap for vifo device

2015-03-12 Thread Chen Fan
for piix4 chipset, we don't need to expose aer, so introduce PC_I440FX_COMPAT for all piix4 machines to disable aercap, and add HW_COMPAT_2_2 to disable aercap for all lower than 2.3. Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com --- hw/i386/pc_piix.c | 9 + hw/i386/pc_q35.c

[Qemu-devel] [PATCH v5 0/7] pass aer error to guest for vfio device

2015-03-12 Thread Chen Fan
For now, for vfio pci passthough devices when qemu receives an error from host aer report, there just terminate the guest, but usually user want to know what error occurred but stop the guest, so this patches add aer capability support for vfio device, and pass the error to guest, and have guest

[Qemu-devel] [PATCH v5 6/7] vfio: add 'x-aer' property to expose aercap

2015-03-12 Thread Chen Fan
add 'x-aer' property to let user able to decide whether expose the aer capability. Signed-off-by: Chen Fan chen.fan.f...@cn.fujitsu.com --- hw/vfio/pci.c | 8 1 file changed, 8 insertions(+) diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c index 8966c49..0517091 100644 --- a/hw/vfio/pci.c

Re: [Qemu-devel] [RFC v4 4/9] aer: impove pcie_aer_init to support vfio device

2015-03-12 Thread Chen Fan
On 03/10/2015 04:29 AM, Alex Williamson wrote: On Mon, 2015-03-02 at 15:16 +0800, Chen Fan wrote: extend pcie_aer_init arguments to adjust vfio device. Some discussion of why vfio wants this would be useful. I remain this patch at the latest v5. and add the 'size' argument, because, the aer

Re: [Qemu-devel] [PATCH 1/3] pcie_aer: fix typos in pcie_aer_inject_error comment

2015-03-12 Thread Chen Fan
On 03/10/2015 10:57 PM, Michael S. Tsirkin wrote: On Tue, Mar 10, 2015 at 09:34:58AM +0300, Michael Tokarev wrote: 10.03.2015 04:49, Chen Fan пишет: Refer to PCI Express Base Spec3.0, this comments can't fit the description in spec, so we should fix them. Signed-off-by: Chen Fan

Re: [Qemu-devel] [PULL v2 0/5] sdl patch queue.

2015-03-12 Thread Peter Maydell
On 12 March 2015 at 10:48, Gerd Hoffmann kra...@redhat.com wrote: Hi, Still fails to build on OSX: manooth$ make -C build/all CClm32-softmmu/hw/lm32/milkymist.o In file included from /Users/pm215/src/qemu/hw/lm32/milkymist.c:30: /Users/pm215/src/qemu/hw/lm32/milkymist-hw.h:90:10:

Re: [Qemu-devel] [PULL v3 00/13] Net patches

2015-03-12 Thread Peter Maydell
On 12 March 2015 at 12:19, Stefan Hajnoczi stefa...@redhat.com wrote: v3: * Add clang 3.5.0 warning fixes * Squash David Ahern's clang struct definition warnings fix v2: * Squash in Jiri's fix for rocker format string specifiers [Peter] * Squash in Windows build fix [Peter] * Both

Re: [Qemu-devel] [PATCH 0/1] Get the list of arguments from a QMP command

2015-03-12 Thread Kevin Wolf
Am 11.03.2015 um 20:22 hat Markus Armbruster geschrieben: Alberto Garcia be...@igalia.com writes: On Wed, Mar 11, 2015 at 11:21:43AM +0100, Markus Armbruster wrote: I can actually try to implement full introspection support, but I would like to know what API you would like. Something

Re: [Qemu-devel] [PULL v3 00/13] Net patches

2015-03-12 Thread Peter Maydell
On 12 March 2015 at 12:37, Peter Maydell peter.mayd...@linaro.org wrote: On 12 March 2015 at 12:19, Stefan Hajnoczi stefa...@redhat.com wrote: v3: * Add clang 3.5.0 warning fixes * Squash David Ahern's clang struct definition warnings fix v2: * Squash in Jiri's fix for rocker format

[Qemu-devel] [PULL v4 02/11] tests: rtl8139: test timers and interrupt

2015-03-12 Thread Stefan Hajnoczi
From: Frediano Ziglio fredd...@gmail.com Test behaviour of timers and interrupts related to timeouts. Signed-off-by: Frediano Ziglio fredd...@gmail.com Reviewed-by: Paolo Bonzini pbonz...@redhat.com Message-id: 1420742303-3030-1-git-send-email-fredd...@gmail.com Signed-off-by: Stefan Hajnoczi

Re: [Qemu-devel] [PATCH] queue: fix QSLIST_INSERT_HEAD_ATOMIC race

2015-03-12 Thread Stefan Hajnoczi
On Tue, Mar 10, 2015 at 04:45:57PM +0100, Paolo Bonzini wrote: There is a not-so-subtle race in QSLIST_INSERT_HEAD_ATOMIC. Because atomic_cmpxchg returns the old value instead of a success flag, QSLIST_INSERT_HEAD_ATOMIC was checking for success by comparing against the second argument to

Re: [Qemu-devel] [Qemu-block] [PATCH 0/2] AHCI: avoid mapping stale guest memory

2015-03-12 Thread Stefan Hajnoczi
On Tue, Mar 10, 2015 at 05:29:02PM -0400, John Snow wrote: Currently, the AHCI device tries to re-map guest memory every time the low or high address registers are written to, whether or not the AHCI device is currently active. If the other register has stale information in it, this may lead

Re: [Qemu-devel] [PATCH 0/6] [PREVIEW] s390x/kvm: fixes and features

2015-03-12 Thread Jens Freimann
On Thu, Mar 12, 2015 at 01:53:48PM +0100, Jens Freimann wrote: Sorry, please ignore the PREVIEW in the subject which I should have removed before sending the patches. Jens Conny, Alex, Christian, a few more s390 patches: Patch 1: encapsulates the HAS_DEVICE check into a generic function

Re: [Qemu-devel] [PATCH v2] hmp: add info iothreads command

2015-03-12 Thread Stefan Hajnoczi
On Thu, Mar 12, 2015 at 04:35:24PM +0800, Ting Wang wrote: +void hmp_info_iothreads(Monitor *mon, const QDict *qdict) +{ +IOThreadInfoList *head = NULL, *elem = NULL; + +head = qmp_query_iothreads(NULL); +if (!head) { +monitor_printf(mon, No iothread has been added\n);

[Qemu-devel] [PULL v4 01/11] net: synchronize net_host_device_remove with host_net_remove_completion

2015-03-12 Thread Stefan Hajnoczi
From: Paolo Bonzini pbonz...@redhat.com Using net_host_check_device is unnecessary. qemu_del_net_client asserts for the non-peer case that it can only process NIC type NetClientStates, and that assertion is valid for the peered case as well, so move it and use the same check in

[Qemu-devel] [PULL v4 07/11] pci: add network device class 'other' for network switches

2015-03-12 Thread Stefan Hajnoczi
From: Scott Feldman sfel...@gmail.com Rocker is an ethernet switch device, so add 'other' network device class as defined by PCI to cover these types of devices. Signed-off-by: Scott Feldman sfel...@gmail.com Signed-off-by: Jiri Pirko j...@resnulli.us Message-id:

[Qemu-devel] [PULL v4 11/11] rocker: timestamp on the debug logs helps correlate with events in the VM

2015-03-12 Thread Stefan Hajnoczi
From: David Ahern dsah...@gmail.com Signed-off-by: David Ahern dsah...@gmail.com Signed-off-by: Scott Feldman sfel...@gmail.com Signed-off-by: Jiri Pirko j...@resnulli.us Message-id: 1424123271-7656-11-git-send-email-sfel...@gmail.com Signed-off-by: Stefan Hajnoczi stefa...@redhat.com ---

Re: [Qemu-devel] configure: enable kvm on x32

2015-03-12 Thread Paolo Bonzini
On 12/03/2015 09:06, Michael Tokarev wrote: 12.03.2015 10:16, Peter Maydell wrote: On 12 March 2015 at 06:13, Michael Tokarev m...@tls.msk.ru wrote: Here's a trivial change to enable kvm on x32 architecture. I'm not 100% sure the result works correctly in all cases, but this is a good start

Re: [Qemu-devel] fw_cfg specification ?

2015-03-12 Thread Paolo Bonzini
On 11/03/2015 22:30, Laszlo Ersek wrote: In any case, I'm unaware of *any* instance when an fw_cfg blob is rewritten by the guest. In fact, such *write* callbacks are registered in qemu with fw_cfg_add_callback(), and I can't see any calls to that function. It's dead code, apparently.

Re: [Qemu-devel] [PULL v4 00/11] Net patches

2015-03-12 Thread Peter Maydell
On 12 March 2015 at 14:33, Stefan Hajnoczi stefa...@redhat.com wrote: v4: * Drop clang 3.5.0 fixes since they break with older clang and w32 [Peter] v3: * Add clang 3.5.0 warning fixes * Squash David Ahern's clang struct definition warnings fix v2: * Squash in Jiri's fix for rocker

[Qemu-devel] [PATCH] qdev: Deprecated qdev_init() is finally unused, drop

2015-03-12 Thread Markus Armbruster
Signed-off-by: Markus Armbruster arm...@redhat.com --- Depends on [PATCH 3/3] s390x: Replace unchecked qdev_init() by qdev_init_nofail() [PATCH] macio: Convert to realize() hw/core/qdev.c | 44 +--- include/hw/qdev-core.h | 3 +-- 2 files changed,

Re: [Qemu-devel] [PATCH] When building qga-vss.dll with 64-bit MinGW toolchain, qga-vss.dll linking fails with unresolved symbols from libssp, stack protection support, like the following message:

2015-03-12 Thread Paolo Bonzini
On 12/03/2015 11:35, Joseph Hindin wrote: .../qga/vss-win32/install.cpp:52: undefined reference to `__stack_chk_fail' The patch fixes the problem by adding -fstack-protector-all option to the linker options' list. Signed-off-by: Joseph Hindin jhin...@daynix.com ---

  1   2   3   4   >