Re: [Qemu-devel] [RFC 00/10] MultiThread TCG.

2015-03-31 Thread Mark Burton
understood. Cheers Mark. On 30 Mar 2015, at 23:46, Peter Maydell peter.mayd...@linaro.org wrote: On 30 March 2015 at 07:52, Mark Burton mark.bur...@greensocs.com wrote: So - Fred is unwilling to send the patch set as it stands, because frankly this part is totally broken. There is an

Re: [Qemu-devel] [Migration Bug? ] Occasionally, the content of VM's memory is inconsistent between Source and Destination of migration

2015-03-31 Thread Wen Congyang
On 03/27/2015 04:56 PM, Stefan Hajnoczi wrote: On Thu, Mar 26, 2015 at 11:29:43AM +0100, Juan Quintela wrote: Wen Congyang we...@cn.fujitsu.com wrote: On 03/25/2015 05:50 PM, Juan Quintela wrote: zhanghailiang zhang.zhanghaili...@huawei.com wrote: Hi all, We found that, sometimes, the

[Qemu-devel] [PATCH 4/4] added qga processes and connections enumeration commands (win/linux)

2015-03-31 Thread itamar . tal4
From: Itamar Tal ita...@guardicore.com This patch add more missing commands to the qga (both Windows and Linux): - current active process list - current active connections list the abovementioned commands are added to align the guest agent functionality with other common hypervisor agents. ---

[Qemu-devel] [PATCH 3/4] added qga system uptime and hostname commands

2015-03-31 Thread itamar . tal4
From: Itamar Tal ita...@guardicore.com This patch add more missing commands to the qga (both Windows and Linux): - retrieving system uptime in seconds - retrieving system hostname --- qga/commands-posix.c | 13 + qga/commands-win32.c | 22 ++ qga/commands.c

Re: [Qemu-devel] [PULL for-2.3 0/4] s390x bugfixes for 2.3

2015-03-31 Thread Peter Maydell
On 30 March 2015 at 09:02, Cornelia Huck cornelia.h...@de.ibm.com wrote: The following changes since commit 627f91b1f80fecc73d00727181a9ddb6162cc30e: Merge remote-tracking branch 'remotes/jnsnow/tags/ide-pull-request' into staging (2015-03-28 10:10:04 +) are available in the git

Re: [Qemu-devel] [PATCH v4 11/15] target-s390x: New QMP command query-cpu-model

2015-03-31 Thread Michael Mueller
On Mon, 30 Mar 2015 16:50:20 -0300 Eduardo Habkost ehabk...@redhat.com wrote: Hello Eduardo, On Mon, Mar 30, 2015 at 04:28:24PM +0200, Michael Mueller wrote: [...] diff --git a/target-s390x/cpu.c b/target-s390x/cpu.c index 829945d..1698b52 100644 --- a/target-s390x/cpu.c +++

Re: [Qemu-devel] [PATCH v4 07/15] target-s390x: Update linux-headers/asm-s390/kvm.h

2015-03-31 Thread Michael Mueller
On Mon, 30 Mar 2015 21:36:22 +0200 Christian Borntraeger borntrae...@de.ibm.com wrote: Am 30.03.2015 um 16:28 schrieb Michael Mueller: Signed-off-by: Michael Mueller m...@linux.vnet.ibm.com --- linux-headers/asm-s390/kvm.h | 18 +- 1 file changed, 9 insertions(+), 9

Re: [Qemu-devel] [PATCH v4 12/15] Add optional parameters to QMP command query-cpu-definitions

2015-03-31 Thread Michael Mueller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 30 Mar 2015 14:28:01 -0600 Eric Blake ebl...@redhat.com wrote: On 03/30/2015 08:28 AM, Michael Mueller wrote: The patch adds optional parameters to the QMP command query-cpu-definitions. Thus the signature of routine

[Qemu-devel] qemu:qemu_cpu_kick_thread: No such process

2015-03-31 Thread Dr. David Alan Gilbert
Hi, On head, if I just start qemu I see: $ ./x86_64-softmmu/qemu-system-x86_64 qemu:qemu_cpu_kick_thread: No such processqemu:qemu_cpu_kick_thread: No such process (That's with the gui coming up - gtk?) It doesn't seem to cause any other ill effect. Dave -- Dr. David Alan Gilbert /

Re: [Qemu-devel] [PATCH v3] spapr: populate ibm,loc-code

2015-03-31 Thread Alexey Kardashevskiy
On 03/31/2015 04:15 PM, Nikunj A Dadhania wrote: David Gibson da...@gibson.dropbear.id.au writes: On Tue, Mar 31, 2015 at 01:00:57PM +1100, Alexey Kardashevskiy wrote: On 03/30/2015 10:02 PM, Nikunj A Dadhania wrote: Each hardware instance has a platform unique location code. The OF device

[Qemu-devel] [PATCH 1/4] added qga hash file command (win/linux)

2015-03-31 Thread itamar . tal4
From: Itamar Tal ita...@guardicore.com Added support for retrieving file hash from the guest machine. This is command is useful for ensuring that no changes were made for a given file between consecutive read operations and reduce read/write operations. --- qga/Makefile.objs | 2 +-

[Qemu-devel] [PATCH 0/4] qga added functionality

2015-03-31 Thread itamar . tal4
From: Itamar Tal ita...@guardicore.com This bundle of patches adds support for some more functionality in the qemu-guest-agent, both for Windows and Linux. Main added features are: - Process list enumeration - Network connections enumeration - File removal and attributes - File hashing - System

Re: [Qemu-devel] [PATCH v2 1/2] cpu/apic: drop icc bus/bridge/

2015-03-31 Thread Chen Fan
On 03/30/2015 08:45 PM, Igor Mammedov wrote: On Mon, 30 Mar 2015 18:12:06 +0800 Chen Fan chen.fan.f...@cn.fujitsu.com wrote: On 03/23/2015 05:43 PM, Igor Mammedov wrote: On Mon, 23 Mar 2015 17:07:29 +0800 Chen Fan chen.fan.f...@cn.fujitsu.com wrote: On 03/23/2015 04:23 PM, Igor Mammedov

[Qemu-devel] [valgrind] getauxval AT_DCACHEBSIZE failed

2015-03-31 Thread Catalin Vasile
I'm trying to test something I'm working on qemu-kvm and I ran into a segfault. I usually use valgrind to deal with these kind of issues, but when I try to used it on qemu it goes nuts and shows me this error and closes: getauxval AT_DCACHEBSIZE failed Is it because I use hugetlb ? Or do any of

Re: [Qemu-devel] [PATCH v4 11/15] target-s390x: New QMP command query-cpu-model

2015-03-31 Thread Michael Mueller
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 30 Mar 2015 14:19:27 -0600 Eric Blake ebl...@redhat.com wrote: On 03/30/2015 08:28 AM, Michael Mueller wrote: This patch implements a new QMP request named 'query-cpu-model'. It returns the cpu model of cpu 0 and its backing accelerator.

Re: [Qemu-devel] [PATCH v3] spapr: populate ibm,loc-code

2015-03-31 Thread Nikunj A Dadhania
Alexey Kardashevskiy a...@ozlabs.ru writes: On 03/31/2015 04:15 PM, Nikunj A Dadhania wrote: David Gibson da...@gibson.dropbear.id.au writes: On Tue, Mar 31, 2015 at 01:00:57PM +1100, Alexey Kardashevskiy wrote: On 03/30/2015 10:02 PM, Nikunj A Dadhania wrote: Each hardware instance has a

[Qemu-devel] [PATCH 2/4] added missing file commands (attributes, deletion)

2015-03-31 Thread itamar . tal4
From: Itamar Tal ita...@guardicore.com This patch add support for retrieving file attributes and file deletion by file name, to get a more complete file functionality over the guest agent. --- qga/commands-posix.c | 23 + qga/commands-win32.c | 139

Re: [Qemu-devel] [PATCH v6 1/2] qom: Add can_be_deleted callback to UserCreatableClass

2015-03-31 Thread Andreas Färber
Am 30.03.2015 um 10:36 schrieb Lin Ma: If backends implement the can_be_deleted and it returns false, Then the qmp_object_del won't delete the given backends. Signed-off-by: Lin Ma l...@suse.com --- include/qom/object_interfaces.h | 13 + qmp.c | 5

Re: [Qemu-devel] [PATCH v6 1/2] qom: Add can_be_deleted callback to UserCreatableClass

2015-03-31 Thread Paolo Bonzini
On 31/03/2015 12:48, Andreas Färber wrote: Am 30.03.2015 um 10:36 schrieb Lin Ma: If backends implement the can_be_deleted and it returns false, Then the qmp_object_del won't delete the given backends. Signed-off-by: Lin Ma l...@suse.com --- include/qom/object_interfaces.h | 13

[Qemu-devel] [PATCH] rcu: do not create thread in pthread_atfork callback

2015-03-31 Thread Paolo Bonzini
If QEMU forks after the CPU threads have been created, qemu_mutex_lock_iothread will not be able to do qemu_cpu_kick_thread. There is no solution other than assuming that forks after the CPU threads have been created will end up in an exec. Forks before the CPU threads have been created (such as

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

2015-03-31 Thread Dr. David Alan Gilbert
* Paolo Bonzini (pbonz...@redhat.com) wrote: On 30/03/2015 19:46, Dr. David Alan Gilbert wrote: +PostcopyState postcopy_state_get(MigrationIncomingState *mis) +{ +return atomic_fetch_add(mis-postcopy_state, 0); +} + +/* Set the state and return the old state */

[Qemu-devel] [PULL for-2.3 0/1] QOM devices patch queue 2015-03-31

2015-03-31 Thread Andreas Färber
Hello Peter, This is my QOM (devices) patch queue. Please pull. Regards, Andreas Cc: Peter Maydell peter.mayd...@linaro.org The following changes since commit adbeb458eece2263039e5a1f6501b87ae3713319: Merge remote-tracking branch 'remotes/bkoppelmann/tags/pull-tricore-20150330' into

[Qemu-devel] [PULL 1/1] qom: Fix object_property_add_alias() with [*]

2015-03-31 Thread Andreas Färber
Commit 8074264 (qom: Add description field in ObjectProperty struct) introduced property descriptions and copied them for alias properties. Instead of using the caller-supplied property name, use the returned property name for setting the description. This avoids an Error when setting a property

Re: [Qemu-devel] Are info pic and info irq still of any use?

2015-03-31 Thread Markus Armbruster
Paolo Bonzini pbonz...@redhat.com writes: On 31/03/2015 11:56, Markus Armbruster wrote: These commands look like bit-rotted development aids to me. They're limited to just a few interrupt controllers. For the most common machine types and accelerators, they do nothing. They complicate

Re: [Qemu-devel] [PATCH for-2.3 1/6] sb16: remove useless mixer_write_indexw

2015-03-31 Thread Andreas Färber
Am 30.03.2015 um 13:45 schrieb Paolo Bonzini: ioport.c is already able to split a 16-bit access into two 8-bit accesses to consecutive ports. Tested with Epic Pinball. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- hw/audio/sb16.c | 7 --- 1 file changed, 7 deletions(-) diff

Re: [Qemu-devel] [PATCH v5 23/45] migrate_start_postcopy: Command to trigger transition to postcopy

2015-03-31 Thread Dr. David Alan Gilbert
* Paolo Bonzini (pbonz...@redhat.com) wrote: On 30/03/2015 19:04, Dr. David Alan Gilbert wrote: That one's a trickier question. Compilers are absolutely capable of optimizing that far, *but* the C rules about when it's allowed to assume in-memory values remain unchanged are

Re: [Qemu-devel] [PATCH for-2.3 1/6] sb16: remove useless mixer_write_indexw

2015-03-31 Thread Paolo Bonzini
On 31/03/2015 13:19, Andreas Färber wrote: Am 30.03.2015 um 13:45 schrieb Paolo Bonzini: ioport.c is already able to split a 16-bit access into two 8-bit accesses to consecutive ports. Tested with Epic Pinball. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- hw/audio/sb16.c | 7

Re: [Qemu-devel] [PATCH v4 11/15] target-s390x: New QMP command query-cpu-model

2015-03-31 Thread Michael Mueller
On Mon, 30 Mar 2015 17:17:21 -0300 Eduardo Habkost ehabk...@redhat.com wrote: On Mon, Mar 30, 2015 at 04:28:24PM +0200, Michael Mueller wrote: This patch implements a new QMP request named 'query-cpu-model'. It returns the cpu model of cpu 0 and its backing accelerator. request:

Re: [Qemu-devel] [PATCH] rcu: do not create thread in pthread_atfork callback

2015-03-31 Thread Peter Maydell
On 31 March 2015 at 12:01, Paolo Bonzini pbonz...@redhat.com wrote: If QEMU forks after the CPU threads have been created, qemu_mutex_lock_iothread will not be able to do qemu_cpu_kick_thread. There is no solution other than assuming that forks after the CPU threads have been created will

Re: [Qemu-devel] [Migration Bug? ] Occasionally, the content of VM's memory is inconsistent between Source and Destination of migration

2015-03-31 Thread zhanghailiang
On 2015/3/30 15:59, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: On 2015/3/27 18:18, Dr. David Alan Gilbert wrote: * zhanghailiang (zhang.zhanghaili...@huawei.com) wrote: On 2015/3/26 11:52, Li Zhijian wrote: On 03/26/2015 11:12 AM, Wen Congyang

Re: [Qemu-devel] [PULL 0/4] QTest patch queue 2015-03-30

2015-03-31 Thread Peter Maydell
On 30 March 2015 at 18:42, Andreas Färber afaer...@suse.de wrote: Hello Peter, This is my QTest queue for 2.3. Please pull. Regards, Andreas Cc: Peter Maydell peter.mayd...@linaro.org Cc: Paolo Bonzini pbonz...@redhat.com Cc: Stefan Hajnoczi stefa...@redhat.com Cc: John Snow

Re: [Qemu-devel] [Bug 1434779] [NEW] qemu hangs on live-migration with storage(virtual machine: windows Server 2008 with only one disk )

2015-03-31 Thread Halsey Pian
-Original Message- From: qemu-devel-bounces+halsey.pian=gmail@nongnu.org [mailto:qemu-devel-bounces+halsey.pian=gmail@nongnu.org] On Behalf Of Stefan Hajnoczi Sent: 2015年3月23日 21:32 To: Bug 1434779 Cc: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] [Bug 1434779] [NEW]

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

2015-03-31 Thread Paolo Bonzini
On 31/03/2015 13:05, Dr. David Alan Gilbert wrote: * Paolo Bonzini (pbonz...@redhat.com) wrote: On 30/03/2015 19:46, Dr. David Alan Gilbert wrote: +PostcopyState postcopy_state_get(MigrationIncomingState *mis) +{ +return atomic_fetch_add(mis-postcopy_state, 0); +} + +/* Set the

Re: [Qemu-devel] Are info pic and info irq still of any use?

2015-03-31 Thread Michael Walle
Am 2015-03-31 11:56, schrieb Markus Armbruster: [..] * lm32-softmmu This is lm32_hmp_info_pic(), lm32_hmp_info_irq(). Both do nothing when !pic. Set by init() method of lm32-pic. Thus, two cases: - Machines sporting an lm32-pic These are lm32-evr, lm32-uclinux, milkymist.

Re: [Qemu-devel] [PATCH 3/3] arm: semihosting: Wire up A64 HLT 0xf000

2015-03-31 Thread Peter Maydell
On 28 March 2015 at 12:27, Christopher Covington christopher.coving...@linaro.org wrote: Hi Peter, On Fri, Mar 27, 2015 at 12:40 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 27 March 2015 at 16:22, Christopher Covington christopher.coving...@linaro.org wrote: +args =

Re: [Qemu-devel] [RFC PATCH v2] acpi: add reset register to fadt

2015-03-31 Thread Andreas Färber
Am 30.03.2015 um 13:34 schrieb Reza Jelveh: Some operating systems such as FreeBSD and Mac OSX need the reset_register section of the FADT filled to know which port to write to for a system reset. Signed-off-by: Reza Jelveh fish...@saucelabs.com --- hw/i386/acpi-build.c | 9 +

Re: [Qemu-devel] Help for backport virtio to older kernel 2.6.18

2015-03-31 Thread Halsey Pian
-Original Message- From: Stefan Hajnoczi [mailto:stefa...@gmail.com] Sent: 2015年3月30日 23:33 To: Halsey Pian Cc: qemu-devel@nongnu.org Subject: Re: [Qemu-devel] Help for backport virtio to older kernel 2.6.18 On Mon, Mar 30, 2015 at 04:25:50PM +0800, Halsey Pian wrote: It seems

[Qemu-devel] -machine xenfv,accel=kvm crashes

2015-03-31 Thread Markus Armbruster
*Not* running under Xen. Silly thing to do, but it shouldn't crash. Backtrace: #0 0x7fffef38477c in hypercall_buffer_cache_lock () from /lib64/libxenctrl.so.4.3 #1 0x7fffef3848f1 in xc.hypercall_buffer_alloc_pages () from /lib64/libxenctrl.so.4.3 #2 0x7fffef384a61 in

Re: [Qemu-devel] [PATCH v2 1/2] cpu/apic: drop icc bus/bridge/

2015-03-31 Thread Igor Mammedov
On Tue, 31 Mar 2015 16:54:43 +0800 Chen Fan chen.fan.f...@cn.fujitsu.com wrote: On 03/30/2015 08:45 PM, Igor Mammedov wrote: On Mon, 30 Mar 2015 18:12:06 +0800 Chen Fan chen.fan.f...@cn.fujitsu.com wrote: On 03/23/2015 05:43 PM, Igor Mammedov wrote: On Mon, 23 Mar 2015 17:07:29 +0800

[Qemu-devel] Are info pic and info irq still of any use?

2015-03-31 Thread Markus Armbruster
These commands look like bit-rotted development aids to me. They're limited to just a few interrupt controllers. For the most common machine types and accelerators, they do nothing. They complicate David Gibson's work on disentangling dependencies on ISA. I'm cc'ing the maintainers of all

Re: [Qemu-devel] Bouncing maintainers

2015-03-31 Thread Markus Armbruster
John Snow js...@redhat.com writes: On 03/26/2015 09:19 AM, Kevin Wolf wrote: Am 25.03.2015 um 16:45 hat John Snow geschrieben: On 03/25/2015 10:48 AM, Markus Armbruster wrote: I just had another cc: to an address gotten from MAINTAINERS bounce with user unknown. How do we weed out dead

Re: [Qemu-devel] Are info pic and info irq still of any use?

2015-03-31 Thread Paolo Bonzini
On 31/03/2015 11:56, Markus Armbruster wrote: These commands look like bit-rotted development aids to me. They're limited to just a few interrupt controllers. For the most common machine types and accelerators, they do nothing. They complicate David Gibson's work on disentangling

Re: [Qemu-devel] [PATCH 2/6] Remove monitor.c dependency on CONFIG_I8259

2015-03-31 Thread Peter Maydell
On 6 March 2015 at 04:18, David Gibson da...@gibson.dropbear.id.au wrote: The hmp commands irq and pic are a bit of a mess. They're implemented on a number of targets, but not all. On sparc32 and LM32 they do target specific things, but on the remainder (i386, ppc and mips) they call into

Re: [Qemu-devel] [PATCH 0/2] CVE-2015-1779: fix denial of service in VNC websockets

2015-03-31 Thread Peter Maydell
On 24 March 2015 at 15:51, Gerd Hoffmann kra...@redhat.com wrote: On Mo, 2015-03-23 at 22:58 +, Daniel P. Berrange wrote: The VNC websockets protocol decoder has two places where it did not correctly limit its resource usage when processing data from the client. This can be abused by a

Re: [Qemu-devel] [PULL] tricore patches for 2.3-rc2

2015-03-31 Thread Peter Maydell
On 30 March 2015 at 12:46, Bastian Koppelmann kbast...@mail.uni-paderborn.de wrote: The following changes since commit 627f91b1f80fecc73d00727181a9ddb6162cc30e: Merge remote-tracking branch 'remotes/jnsnow/tags/ide-pull-request' into staging (2015-03-28 10:10:04 +) are available in

Re: [Qemu-devel] [PATCH 2/6] Remove monitor.c dependency on CONFIG_I8259

2015-03-31 Thread Markus Armbruster
David Gibson da...@gibson.dropbear.id.au writes: On Mon, Mar 30, 2015 at 10:37:45AM +0200, Markus Armbruster wrote: [...] This adds info irq and info pic to the targets that didn't have them before, implemented by i8259.c's hmp_info_pic() and hmp_info_irq(). They do nothing unless the machine

Re: [Qemu-devel] -machine xenfv,accel=kvm crashes

2015-03-31 Thread Paolo Bonzini
On 31/03/2015 11:20, Markus Armbruster wrote: *Not* running under Xen. Silly thing to do, but it shouldn't crash. xen_platform_initfn should fail if !xen_enabled(). Paolo

Re: [Qemu-devel] [PATCH v4 10/15] target-s390x: Prepare accelerator during cpu object realization

2015-03-31 Thread Michael Mueller
On Mon, 30 Mar 2015 16:33:51 -0300 Eduardo Habkost ehabk...@redhat.com wrote: On Mon, Mar 30, 2015 at 04:28:23PM +0200, Michael Mueller wrote: This patch implements routine s390_cpu_model_init(). It is called by the realize function during instantiation of an cpu object. Its task is to

Re: [Qemu-devel] [PATCH] e1000: work around win 8.0 boot hang

2015-03-31 Thread Radim Krčmář
2015-03-31 13:26+0800, Jason Wang: On 02/20/2015 03:24 AM, Radim Krčmář wrote: Window 8.0 driver has a particular behavior for a small time frame after it enables rx interrupts: the interrupt handler never clears E1000_ICR_RXT0. The handler does this something like this: set_imc(-1)

Re: [Qemu-devel] [PATCH RFC 0/3] iothread: release iothread around aio_poll

2015-03-31 Thread Paolo Bonzini
On 20/02/2015 17:26, Paolo Bonzini wrote: Right now, iothreads are relying on a contention callback to release the AioContext (e.g. for block device operations or to do bdrv_drain_all). This is necessary because aio_poll needs to be called within an aio_context_acquire. This series drops

Re: [Qemu-devel] KVM call agenda for 2015-03-31

2015-03-31 Thread Juan Quintela
Juan Quintela quint...@redhat.com wrote: Hi Please, send any topic that you are interested in covering. As there is no agenda, no call. Have a nice day, Juan. Call details: By popular demand, a google calendar public entry with it

Re: [Qemu-devel] [PATCH] rcu: do not create thread in pthread_atfork callback

2015-03-31 Thread Paolo Bonzini
On 31/03/2015 13:41, Peter Maydell wrote: static void __attribute__((__constructor__)) rcu_init(void) { #ifdef CONFIG_POSIX -pthread_atfork(rcu_init_lock, rcu_init_unlock, rcu_init_child); +pthread_atfork(rcu_init_lock, rcu_init_unlock, rcu_init_unlock); #endif

Re: [Qemu-devel] [PATCH] rcu: do not create thread in pthread_atfork callback

2015-03-31 Thread Peter Maydell
On 31 March 2015 at 13:55, Paolo Bonzini pbonz...@redhat.com wrote: On 31/03/2015 13:41, Peter Maydell wrote: static void __attribute__((__constructor__)) rcu_init(void) { #ifdef CONFIG_POSIX -pthread_atfork(rcu_init_lock, rcu_init_unlock, rcu_init_child); +

Re: [Qemu-devel] [PULL for-2.3 0/1] QOM devices patch queue 2015-03-31

2015-03-31 Thread Peter Maydell
On 31 March 2015 at 12:06, Andreas Färber afaer...@suse.de wrote: Hello Peter, This is my QOM (devices) patch queue. Please pull. Regards, Andreas Cc: Peter Maydell peter.mayd...@linaro.org The following changes since commit adbeb458eece2263039e5a1f6501b87ae3713319: Merge

Re: [Qemu-devel] [PATCH v2 1/2] cpu/apic: drop icc bus/bridge/

2015-03-31 Thread Chen Fan
On 03/31/2015 05:51 PM, Igor Mammedov wrote: On Tue, 31 Mar 2015 16:54:43 +0800 Chen Fan chen.fan.f...@cn.fujitsu.com wrote: On 03/30/2015 08:45 PM, Igor Mammedov wrote: On Mon, 30 Mar 2015 18:12:06 +0800 Chen Fan chen.fan.f...@cn.fujitsu.com wrote: On 03/23/2015 05:43 PM, Igor Mammedov

Re: [Qemu-devel] [PATCH 2/6] Remove monitor.c dependency on CONFIG_I8259

2015-03-31 Thread David Gibson
On Tue, Mar 31, 2015 at 11:57:28AM +0200, Markus Armbruster wrote: David Gibson da...@gibson.dropbear.id.au writes: On Mon, Mar 30, 2015 at 10:37:45AM +0200, Markus Armbruster wrote: [...] This adds info irq and info pic to the targets that didn't have them before, implemented by

Re: [Qemu-devel] [PATCH v2] spapr: populate ibm,loc-code

2015-03-31 Thread Nikunj A Dadhania
Michael Roth mdr...@linux.vnet.ibm.com writes: Quoting Alexey Kardashevskiy (2015-03-29 22:08:17) On 03/30/2015 01:25 PM, David Gibson wrote: On Mon, Mar 30, 2015 at 01:18:01PM +1100, Alexey Kardashevskiy wrote: On 03/27/2015 08:49 PM, Nikunj A Dadhania wrote: Each hardware instance has a

Re: [Qemu-devel] [v3][PATCH 2/2] libxl: introduce gfx_passthru_kind

2015-03-31 Thread Chen, Tiejun
On 2015/3/30 17:19, Ian Campbell wrote: On Mon, 2015-03-30 at 09:28 +0800, Chen, Tiejun wrote: Sounds it should be a legacy fix to qemu-xen-tranditional :) So lets do it now, @@ -326,6 +326,10 @@ static char ** libxl__build_device_model_args_old(libxl__gc *gc, } if

Re: [Qemu-devel] [PATCH] e1000: work around win 8.0 boot hang

2015-03-31 Thread Jason Wang
On Tue, Mar 31, 2015 at 6:17 PM, Radim Krčmář rkrc...@redhat.com wrote: 2015-03-31 13:26+0800, Jason Wang: On 02/20/2015 03:24 AM, Radim Krčmář wrote: Window 8.0 driver has a particular behavior for a small time frame after it enables rx interrupts: the interrupt handler never clears

[Qemu-devel] [PATCH] qom: Change prototype of user_creatable_complete.

2015-03-31 Thread Lin Ma
From void user_creatable_complete(Object *obj, Error **errp) to void user_creatable_complete(UserCreatable *uc, Error **errp) Signed-off-by: Lin Ma l...@suse.com --- hw/block/dataplane/virtio-blk.c | 4 +++- hw/virtio/virtio-rng.c | 3 ++- include/qom/object_interfaces.h | 4 ++--

[Qemu-devel] virtio-scsi + iothread : segfault on drive_del

2015-03-31 Thread Alexandre DERUMIER
Hi, I'm currently testing virtio-scsi and iothread, and I'm seeing qemu segfault when I try to remove an scsi drive on top of an virtio-scsi controller with iothread enabled. virtio-blk + iothread drive_del is supported since this patch

Re: [Qemu-devel] [PATCH v2 1/2] cpu/apic: drop icc bus/bridge/

2015-03-31 Thread Chen Fan
On 04/01/2015 09:40 AM, Chen Fan wrote: On 03/31/2015 05:51 PM, Igor Mammedov wrote: On Tue, 31 Mar 2015 16:54:43 +0800 Chen Fan chen.fan.f...@cn.fujitsu.com wrote: On 03/30/2015 08:45 PM, Igor Mammedov wrote: On Mon, 30 Mar 2015 18:12:06 +0800 Chen Fan chen.fan.f...@cn.fujitsu.com wrote:

[Qemu-devel] [PATCH v2 0/3] null driver patches

2015-03-31 Thread Fam Zheng
v2: Change patch 01 to use realtime clock, that way we don't need to check the VCPU state. [Stefan] Added Eric's rev-by in 23. Change title to Null block driver in 3. [Eric] The second patch allows testing commit to a null image. The third adds a stanza to MAINTAINERS. Fam Zheng

[Qemu-devel] [PATCH v2 3/3] MAINTAINERS: Add Fam Zheng as Null block driver maintainer

2015-03-31 Thread Fam Zheng
Signed-off-by: Fam Zheng f...@redhat.com Reviewed-by: Eric Blake ebl...@redhat.com --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d7e9ba2..56013b3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1172,6 +1172,12 @@ S: Supported F:

[Qemu-devel] [PATCH v2 2/3] block/null: Support reopen

2015-03-31 Thread Fam Zheng
Reopen is used in block-commit. With this always-succeed operation, it is now possible to test committing to a null drive, by specifying null-aio:// or null-co:// as the backing image when creating the qcow2 image. Signed-off-by: Fam Zheng f...@redhat.com Reviewed-by: Eric Blake ebl...@redhat.com

[Qemu-devel] [PATCH v2 1/3] block/null: Latency simulation by adding new option latency-ns

2015-03-31 Thread Fam Zheng
Aio context switch should just work because the requests will be drained, so the scheduled timer(s) on the old context will be freed. Signed-off-by: Fam Zheng f...@redhat.com --- block/null.c | 58 ++-- qapi/block-core.json | 5 - 2

Re: [Qemu-devel] [PATCH v3 1/2] VFIO: Clear stale MSIx table during EEH reset

2015-03-31 Thread Gavin Shan
On Tue, Mar 31, 2015 at 07:16:43PM -0600, Alex Williamson wrote: On Wed, 2015-04-01 at 11:20 +1100, Gavin Shan wrote: On Tue, Mar 31, 2015 at 01:36:30PM -0600, Alex Williamson wrote: On Mon, 2015-03-30 at 20:34 +1100, Gavin Shan wrote: On Mon, Mar 30, 2015 at 01:39:16PM +1100, David Gibson

Re: [Qemu-devel] [PATCH v3 1/2] VFIO: Clear stale MSIx table during EEH reset

2015-03-31 Thread Alex Williamson
On Wed, 2015-04-01 at 11:20 +1100, Gavin Shan wrote: On Tue, Mar 31, 2015 at 01:36:30PM -0600, Alex Williamson wrote: On Mon, 2015-03-30 at 20:34 +1100, Gavin Shan wrote: On Mon, Mar 30, 2015 at 01:39:16PM +1100, David Gibson wrote: On Thu, Mar 26, 2015 at 04:35:01PM +1100, Gavin Shan wrote:

Re: [Qemu-devel] [PATCH v5 5/7] vfio-pci: pass the aer error to guest

2015-03-31 Thread Chen Fan
On 03/25/2015 10:41 AM, Alex Williamson wrote: On Wed, 2015-03-25 at 09:53 +0800, Chen Fan wrote: On 03/16/2015 10:09 PM, Alex Williamson wrote: On Mon, 2015-03-16 at 15:35 +0800, Chen Fan wrote: On 03/16/2015 11:52 AM, Alex Williamson wrote: On Mon, 2015-03-16 at 11:05 +0800, Chen Fan

Re: [Qemu-devel] [PATCH 1/2] vfio-pci: add flag to identify vfio pci device

2015-03-31 Thread Nikunj A Dadhania
Alex Williamson alex.william...@redhat.com writes: On Thu, 2015-03-26 at 12:12 +0530, Nikunj A Dadhania wrote: From PCIDevice there is no way to know if the device has a backing vfio device. sPAPR guests inherits the ibm,loc-code from the pci pass through device in hypervisor. This helps

Re: [Qemu-devel] [RFC PATCH v2 04/23] spapr: Support ibm, lrdr-capacity device tree property

2015-03-31 Thread Bharata B Rao
On Wed, Mar 25, 2015 at 11:15:55AM +1100, David Gibson wrote: On Mon, Mar 23, 2015 at 07:05:45PM +0530, Bharata B Rao wrote: Add support for ibm,lrdr-capacity since this is needed by the guest kernel to know about the possible hot-pluggable CPUs and Memory. With this, pseries kernels will

[Qemu-devel] [PATCH] mirror: hold aio_context before bdrv_drain

2015-03-31 Thread Bin Wu
From: Bin Wu wu.wu...@huawei.com Signed-off-by: Bin Wu wu.wu...@huawei.com --- block/mirror.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/block/mirror.c b/block/mirror.c index 4056164..08372df 100644 --- a/block/mirror.c +++ b/block/mirror.c @@ -530,7 +530,9 @@ static void coroutine_fn

Re: [Qemu-devel] [PATCH 3/3] MAINTAINERS: Add Fam Zheng as Null block driver maintainer

2015-03-31 Thread Fam Zheng
On Mon, 03/30 06:53, Eric Blake wrote: On 03/30/2015 03:23 AM, Fam Zheng wrote: Signed-off-by: Fam Zheng f...@redhat.com --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index d7e9ba2..30073a3 100644 --- a/MAINTAINERS +++

Re: [Qemu-devel] Bouncing maintainers

2015-03-31 Thread Fam Zheng
On Tue, 03/31 12:01, Markus Armbruster wrote: John Snow js...@redhat.com writes: On 03/26/2015 09:19 AM, Kevin Wolf wrote: Am 25.03.2015 um 16:45 hat John Snow geschrieben: On 03/25/2015 10:48 AM, Markus Armbruster wrote: I just had another cc: to an address gotten from MAINTAINERS

Re: [Qemu-devel] [PATCH RFC 0/3] iothread: release iothread around aio_poll

2015-03-31 Thread Stefan Hajnoczi
On Fri, Feb 20, 2015 at 05:26:49PM +0100, Paolo Bonzini wrote: Right now, iothreads are relying on a contention callback to release the AioContext (e.g. for block device operations or to do bdrv_drain_all). This is necessary because aio_poll needs to be called within an aio_context_acquire.

Re: [Qemu-devel] [Migration Bug? ] Occasionally, the content of VM's memory is inconsistent between Source and Destination of migration

2015-03-31 Thread Stefan Hajnoczi
On Tue, Mar 31, 2015 at 03:54:51PM +0800, Wen Congyang wrote: On 03/27/2015 04:56 PM, Stefan Hajnoczi wrote: On Thu, Mar 26, 2015 at 11:29:43AM +0100, Juan Quintela wrote: Wen Congyang we...@cn.fujitsu.com wrote: On 03/25/2015 05:50 PM, Juan Quintela wrote: zhanghailiang

Re: [Qemu-devel] [PATCH RFC 0/3] iothread: release iothread around aio_poll

2015-03-31 Thread Stefan Hajnoczi
On Tue, Mar 31, 2015 at 12:35:16PM +0200, Paolo Bonzini wrote: On 20/02/2015 17:26, Paolo Bonzini wrote: Right now, iothreads are relying on a contention callback to release the AioContext (e.g. for block device operations or to do bdrv_drain_all). This is necessary because aio_poll

[Qemu-devel] [PATCH v2 2/4] target-arm: kvm - implement software breakpoints

2015-03-31 Thread Alex Bennée
These don't involve messing around with debug registers, just setting the breakpoint instruction in memory. GDB will not use this mechanism if it can't access the memory to write the breakpoint. All the kernel has to do is ensure the hypervisor traps the breakpoint exceptions and returns to

Re: [Qemu-devel] [PATCH] tpm_tis: fix format for 64bit variable

2015-03-31 Thread Eric Blake
On 03/31/2015 08:09 AM, Eric Blake wrote: On 03/31/2015 07:27 AM, Stefan Berger wrote: Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com --- hw/tpm/tpm_tis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/tpm/tpm_tis.c b/hw/tpm/tpm_tis.c index 815c8ea..52e0148

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

2015-03-31 Thread Andrey Korolyov
On Tue, Mar 31, 2015 at 4:45 PM, Radim Krčmář rkrc...@redhat.com wrote: 2015-03-30 22:32+0300, Andrey Korolyov: On Mon, Mar 30, 2015 at 9:56 PM, Radim Krčmář rkrc...@redhat.com wrote: 2015-03-27 13:16+0300, Andrey Korolyov: On Fri, Mar 27, 2015 at 12:03 AM, Bandan Das b...@redhat.com wrote:

[Qemu-devel] [PATCH v2] tpm_tis: fix format for 64bit variable

2015-03-31 Thread Stefan Berger
Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com --- hw/tpm/tpm_tis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/tpm/tpm_tis.c b/hw/tpm/tpm_tis.c index 815c8ea..3f42982 100644 --- a/hw/tpm/tpm_tis.c +++ b/hw/tpm/tpm_tis.c @@ -814,7 +814,7 @@ static void

Re: [Qemu-devel] [PATCH v5 17/28] qapi: Allow true, false and null in schema json

2015-03-31 Thread Kevin Wolf
Am 24.03.2015 um 21:03 hat Eric Blake geschrieben: From: Fam Zheng f...@redhat.com In the near term, we will use it for a sensible-looking 'gen':false inside command declarations, instead of the current ugly 'gen':'no'. In the long term, it will allow conversion from shorthand with

Re: [Qemu-devel] [PATCH] tpm_tis: fix format for 64bit variable

2015-03-31 Thread Stefan Berger
On 03/31/2015 10:15 AM, Eric Blake wrote: On 03/31/2015 08:09 AM, Eric Blake wrote: On 03/31/2015 07:27 AM, Stefan Berger wrote: Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com --- hw/tpm/tpm_tis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/tpm/tpm_tis.c

[Qemu-devel] [PATCH v2 1/4] linux-headers: partial sync from my kernel tree (DEV)

2015-03-31 Thread Alex Bennée
I assume I'll properly merge the KVM Headers direct from Linux when done. These headers came from: https://git.linaro.org/people/alex.bennee/linux.git/shortlog/refs/heads/guest-debug/4.0-rc6-v2 Signed-off-by: Alex Bennée alex.ben...@linaro.org --- v2 - update ABI to include -far diff --git

[Qemu-devel] [PATCH v2 3/4] target-arm: kvm - support for single step

2015-03-31 Thread Alex Bennée
This adds support for single-step. There isn't much to do on the QEMU side as after we set-up the request for single step via the debug ioctl it is all handled within the kernel. Signed-off-by: Alex Bennée alex.ben...@linaro.org --- v2 - convert to using HSR_EC diff --git a/target-arm/kvm.c

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

2015-03-31 Thread Radim Krčmář
2015-03-30 22:32+0300, Andrey Korolyov: On Mon, Mar 30, 2015 at 9:56 PM, Radim Krčmář rkrc...@redhat.com wrote: 2015-03-27 13:16+0300, Andrey Korolyov: On Fri, Mar 27, 2015 at 12:03 AM, Bandan Das b...@redhat.com wrote: Radim Krčmář rkrc...@redhat.com writes: I second Bandan -- checking

Re: [Qemu-devel] [PATCH] tpm_tis: fix format for 64bit variable

2015-03-31 Thread Eric Blake
On 03/31/2015 07:27 AM, Stefan Berger wrote: Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com --- hw/tpm/tpm_tis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/tpm/tpm_tis.c b/hw/tpm/tpm_tis.c index 815c8ea..52e0148 100644 --- a/hw/tpm/tpm_tis.c +++

[Qemu-devel] [PATCH][XSA-126] xen: limit guest control of PCI command register

2015-03-31 Thread Stefano Stabellini
From: Jan Beulich jbeul...@suse.com Otherwise the guest can abuse that control to cause e.g. PCIe Unsupported Request responses (by disabling memory and/or I/O decoding and subsequently causing [CPU side] accesses to the respective address ranges), which (depending on system configuration) may be

[Qemu-devel] [qemu devel] disable shared memory is not available with this QEMU binary

2015-03-31 Thread Tony Krowiak
Commit 49d2e648e8087d154d8bf8b91f27c8e05e79d5a6 removed the QemuOptDesc elements from the *desc* field of the *qemu_machine_opts *array defined in vl.c. Since applying that patch to qemu on my system, I can not start a guest from libvirt when certain machine options are configured for the

Re: [Qemu-devel] [PATCH v5 01/28] qapi: Document type-safety considerations

2015-03-31 Thread Kevin Wolf
Am 24.03.2015 um 21:03 hat Eric Blake geschrieben: Go into more details about the various types of valid expressions in a qapi schema, including tweaks to document fixes being done later in the current patch series. Also fix some stale and missing documentation in the QMP specification.

Re: [Qemu-devel] [PATCH] qga/commands-posix: Fix bug in guest-fstrim

2015-03-31 Thread Eric Blake
On 03/31/2015 10:52 AM, Paolo Bonzini wrote: -# Returns: Nothing. +# Returns: Number of bytes trimmed by this call. It's better to add (since 2.4) here. Apart from this, looks good. Changing a return:{} to return:0 is not backwards-compatible. I'm CCing the qemu-ga maintainer. I

Re: [Qemu-devel] [SeaBIOS] [PATCH] smbios: ensure comparison SMBIOS string can't be paragraph aligned

2015-03-31 Thread Kevin O'Connor
On Tue, Mar 31, 2015 at 12:37:30PM -0400, Gabriel L. Somlo wrote: On Tue, Mar 31, 2015 at 08:49:58AM -0600, Bruce Rogers wrote: On 3/30/2015 at 10:02 PM, Kevin O'Connor ke...@koconnor.net wrote: On Mon, Mar 30, 2015 at 05:06:30PM -0600, Bruce Rogers wrote: The SMBIOS anchor string _SM_

Re: [Qemu-devel] [SeaBIOS] [PATCH] smbios: ensure comparison SMBIOS string can't be paragraph aligned

2015-03-31 Thread Gabriel L. Somlo
On Tue, Mar 31, 2015 at 08:49:58AM -0600, Bruce Rogers wrote: On 3/30/2015 at 10:02 PM, Kevin O'Connor ke...@koconnor.net wrote: On Mon, Mar 30, 2015 at 05:06:30PM -0600, Bruce Rogers wrote: The SMBIOS anchor string _SM_ is stored within SeaBIOS to validate an SMBIOS entry point

Re: [Qemu-devel] [PATCH] qga/commands-posix: Fix bug in guest-fstrim

2015-03-31 Thread Eric Blake
On 03/31/2015 09:14 AM, Justin Ossevoort wrote: The FITRIM ioctl updates the fstrim_range structure it receives. This way the caller can determine how many bytes were trimmed. The guest-fstrim logic reuses the same fstrim_range for each filesystem, effectively limiting each filesystem to trim

Re: [Qemu-devel] [PATCH v2] tpm_tis: fix format for 64bit variable

2015-03-31 Thread Eric Blake
On 03/31/2015 09:05 AM, Stefan Berger wrote: Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com --- hw/tpm/tpm_tis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Eric Blake ebl...@redhat.com However; diff --git a/hw/tpm/tpm_tis.c b/hw/tpm/tpm_tis.c index

Re: [Qemu-devel] Bouncing maintainers

2015-03-31 Thread John Snow
On 03/31/2015 06:01 AM, Markus Armbruster wrote: John Snow js...@redhat.com writes: On 03/26/2015 09:19 AM, Kevin Wolf wrote: Am 25.03.2015 um 16:45 hat John Snow geschrieben: On 03/25/2015 10:48 AM, Markus Armbruster wrote: I just had another cc: to an address gotten from MAINTAINERS

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

2015-03-31 Thread Radim Krčmář
2015-03-31 17:56+0300, Andrey Korolyov: Chasing the culprit this way could take a long time, so a new tracepoint that shows if 0xef is set on entry would let us guess the bug faster ... Please provide a failing trace with the following patch: Thanks, please see below:

Re: [Qemu-devel] [PATCH] qga/commands-posix: Fix bug in guest-fstrim

2015-03-31 Thread Paolo Bonzini
On 31/03/2015 17:14, Justin Ossevoort wrote: The FITRIM ioctl updates the fstrim_range structure it receives. This way the caller can determine how many bytes were trimmed. The guest-fstrim logic reuses the same fstrim_range for each filesystem, effectively limiting each filesystem to trim

Re: [Qemu-devel] [PATCH v5 01/28] qapi: Document type-safety considerations

2015-03-31 Thread Eric Blake
On 03/31/2015 09:09 AM, Kevin Wolf wrote: Am 24.03.2015 um 21:03 hat Eric Blake geschrieben: Go into more details about the various types of valid expressions in a qapi schema, including tweaks to document fixes being done later in the current patch series. Also fix some stale and missing

Re: [Qemu-devel] [SeaBIOS] [PATCH] smbios: ensure comparison SMBIOS string can't be paragraph aligned

2015-03-31 Thread Bruce Rogers
On 3/31/2015 at 10:46 AM, Kevin O'Connor ke...@koconnor.net wrote: On Tue, Mar 31, 2015 at 12:37:30PM -0400, Gabriel L. Somlo wrote: On Tue, Mar 31, 2015 at 08:49:58AM -0600, Bruce Rogers wrote: On 3/30/2015 at 10:02 PM, Kevin O'Connor ke...@koconnor.net wrote: On Mon, Mar 30, 2015 at

  1   2   >