[Qemu-devel] [PATCH 16/26] qga: fill default options in main()

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Fill all default options during main(). This is a preparation patch to allow to dump the configuration. Signed-off-by: Marc-André Lureau Reviewed-by: Michael Roth Reviewed-by: Denis V.

[Qemu-devel] [PATCH 21/26] qga: start a man page

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Add a simple man page for the qemu agent. Signed-off-by: Marc-André Lureau Reviewed-by: Michael Roth *squashed in review comments from Eric Blake Reviewed-by: Eric

[Qemu-devel] [PATCH 23/26] configure: qemu-ga: move MSI installer probe after qga probe

2015-09-01 Thread Michael Roth
MSI probe assumes that qemu-ga support has been probed already, but in cases where --enable-guest-agent/--disable-guest-agent have not been passed to configure, qemu-ga support may end up getting enabled later, as is the case with w32 builds. This leads to MSI probe prematurely reporting error due

Re: [Qemu-devel] [PATCH v2 1/5] fw_cfg: document fw_cfg_modify_iXX() update functions

2015-09-01 Thread Peter Maydell
On 31 August 2015 at 10:10, Marc Marí wrote: > From: "Gabriel L. Somlo" > > Document the behavior of fw_cfg_modify_iXX() for leak-less updating > of integer-type blobs. > > Currently only fw_cfg_modify_i16() is coded, but 32- and 64-bit versions > may be added

Re: [Qemu-devel] Adding secondary ARM processor

2015-09-01 Thread Peter Crosthwaite
On Tue, Sep 1, 2015 at 10:19 AM, mar.krzeminski wrote: > Hello, > > I have board with A9 processor (playing with vexpress model), > for test I want to also add to this setup M3 processor. > The problem is that secondary CPU sees the same device (eg. UART) with >

[Qemu-devel] [PATCH 10/26] qga: use exit() when parsing options

2015-09-01 Thread Michael Roth
From: Marc-André Lureau The option parsing is going to be moved to a separate function, use exit() consistently. Signed-off-by: Marc-André Lureau Reviewed-by: Denis V. Lunev Reviewed-by: Eric Blake

[Qemu-devel] [PATCH 24/26] configure: qemu-ga: explicitly enable qemu-ga MSI support when probed

2015-09-01 Thread Michael Roth
Currently, if we don't explicitly disable support for MSI installer via --disable-guest-agent-msi, the configure variable that tracks the flag, 'guest_agent_msi', never gets set unless one of the probes fails. Subsequent code then treats this unset value the same as if it were a "yes" value (via

[Qemu-devel] [PATCH 07/26] qemu-ga: Fixed paths issue with MSI build

2015-09-01 Thread Michael Roth
From: Leonid Bloch Previously, if building out-of-tree, the MSI build would fail since it wasn't able to find the needed files. Signed-off-by: Leonid Bloch Reviewed-by: Marc-André Lureau * fixed up commit msg formating

[Qemu-devel] [PATCH v2 0/2] intel_iommu: Add support for translation for devices behind bridges

2015-09-01 Thread Knut Omang
This patch set changes the data structure used to handle address spaces within the emulated Intel iommu to support traversal also if bus numbers are dynamically allocated, as is the case for devices that sit behind root ports or downstream switches. This means that we cannot use bus number as

Re: [Qemu-devel] [RFC 35/38] cputlb: use cpu_tcg_sched_work for tlb_flush_all

2015-09-01 Thread Emilio G. Cota
On Tue, Sep 01, 2015 at 17:10:30 +0100, Alex Bennée wrote: > > Emilio G. Cota writes: > > > Signed-off-by: Emilio G. Cota > > --- > > cputlb.c | 41 +++-- > > 1 file changed, 11 insertions(+), 30 deletions(-) > > I bisected

Re: [Qemu-devel] [PATCH] target-arm: Fix general-purpose register mapping between AArch32 state and AArch64 state

2015-09-01 Thread Peter Maydell
On 28 August 2015 at 22:14, Sergey Sorokin wrote: > There is an error in functions aarch64_sync_32_to_64() and > aarch64_sync_64_to_32() with mapping of registers between AArch32 and AArch64. > The patch fixes it according to ARM ARM D1.20.1 (table D1-77). > > Signed-off-by:

[Qemu-devel] [Bug 1490853] Re: qemu windows guest hangs on 100% cpu usage

2015-09-01 Thread yebiaoxiang
** Description changed: hi: I have two VM , one is winXP Prefessional SP3 32bit, another one is WindowsServer2008 Enterprise SP2 64bit. When I hot reboot winXP in guest OS, it'll hangs on progress bar, and all the vcpu thread in qemu is 100% usage. - I try to rebuild kvm and add some

[Qemu-devel] [PATCH 25/26] build: qemu-ga: fix VSS dependencies

2015-09-01 Thread Michael Roth
Currently VSS dll/tlb files for use in w32 builds are only built as a result of having been added to the general 'tools' target alongside qemu-ga. This is fine for default make target, but if we build qemu-ga directly via `make qemu-ga.exe`, the VSS files are not created. Fix this by moving the

Re: [Qemu-devel] [PATCH v2 2/5] fw_cfg DMA interface documentation

2015-09-01 Thread Peter Maydell
On 31 August 2015 at 10:10, Marc Marí wrote: > Add fw_cfg DMA interface specification in the documentation. > > Based on Gerd Hoffman's initial implementation. > > Signed-off-by: Marc Marí > --- > docs/specs/fw_cfg.txt | 68 >

Re: [Qemu-devel] [PATCH v2 4/5] Enable fw_cfg DMA interface for ARM

2015-09-01 Thread Peter Maydell
On 31 August 2015 at 10:10, Marc Marí wrote: > Enable the fw_cfg DMA interface for the ARM virt machine. > > Based on Gerd Hoffman's initial implementation. > > Signed-off-by: Marc Marí > --- > hw/arm/virt.c | 13 + > 1 file changed, 9

Re: [Qemu-devel] [PATCH v2 3/5] Implement fw_cfg DMA interface

2015-09-01 Thread Peter Maydell
On 31 August 2015 at 10:10, Marc Marí wrote: > Based on the specifications on docs/specs/fw_cfg.txt > > This interface is an addon. The old interface can still be used as usual. > > Based on Gerd Hoffman's initial implementation. > > Signed-off-by: Marc Marí

[Qemu-devel] [PATCH 04/26] qemu-ga: Minor cosmetic changes to the WXS file

2015-09-01 Thread Michael Roth
From: Leonid Bloch Signed-off-by: Leonid Bloch Signed-off-by: Michael Roth --- qga/installer/qemu-ga.wxs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qga/installer/qemu-ga.wxs

[Qemu-devel] [PATCH 01/26] qemu-ga: Add .msi files to .gitignore

2015-09-01 Thread Michael Roth
From: Leonid Bloch Signed-off-by: Leonid Bloch Signed-off-by: Michael Roth --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 61bc492..cb4b8ec 100644 --- a/.gitignore +++

[Qemu-devel] [PATCH 19/26] qga: add an optional qemu-ga.conf system configuration

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Learn to configure the agent with a system configuration. This may simplify command-line handling, especially when the blacklist is long. Among the other benefits, this may standardize the configuration of an init service (instead of

Re: [Qemu-devel] [RFC PATCH 1/2] util - add automated ID generation utility

2015-09-01 Thread Jeff Cody
On Tue, Sep 01, 2015 at 03:13:52PM -0400, John Snow wrote: > > > On 09/01/2015 01:23 PM, Jeff Cody wrote: > > Multiple sub-systems in QEMU may find it useful to generated IDs > > generate > > > for objects that a user may reference via QMP or HMP. This patch > > presents a standardized way to

[Qemu-devel] [PATCH 12/26] qga: make split_list() return allocated strings

2015-09-01 Thread Michael Roth
From: Marc-André Lureau In order to avoid any confusion, let's allocate new strings when splitting. Signed-off-by: Marc-André Lureau Reviewed-by: Denis V. Lunev Signed-off-by: Michael Roth

[Qemu-devel] Adding secondary ARM processor

2015-09-01 Thread mar.krzeminski
Hello, I have board with A9 processor (playing with vexpress model), for test I want to also add to this setup M3 processor. The problem is that secondary CPU sees the same device (eg. UART) with different address. I can not figure out, how should I do that. Is it possible in qemu? If yes,

[Qemu-devel] [PATCH 06/26] qemu-ga: Prevent QEMU-GA VSS provider from being unregistered on MSI reinstall

2015-09-01 Thread Michael Roth
From: Leonid Bloch Previously, running the .msi would unregister the QEMU GA VSS service if QEMU GA was already installed on the machine, and then register it only if QEMU GA was NOT previously installed. This behavior caused the service to be registered only after the

[Qemu-devel] [PATCH 04/26] qemu-ga: Minor cosmetic changes to the WXS file

2015-09-01 Thread Michael Roth
From: Leonid Bloch Signed-off-by: Leonid Bloch Signed-off-by: Michael Roth --- qga/installer/qemu-ga.wxs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qga/installer/qemu-ga.wxs

Re: [Qemu-devel] Adding secondary ARM processor

2015-09-01 Thread mar.krzeminski
W dniu 01.09.2015 o 19:45, Peter Crosthwaite pisze: On Tue, Sep 1, 2015 at 10:19 AM, mar.krzeminski wrote: Hello, I have board with A9 processor (playing with vexpress model), for test I want to also add to this setup M3 processor. The problem is that secondary CPU

[Qemu-devel] [PATCH 20/26] qga: add --dump-conf option

2015-09-01 Thread Michael Roth
From: Marc-André Lureau This new option allows to review the agent configuration, and ease the task of writing a configuration file. Signed-off-by: Marc-André Lureau Reviewed-by: Michael Roth Reviewed-by:

[Qemu-devel] [PATCH 08/26] configure: qemu-ga: report MSI install support in summary

2015-09-01 Thread Michael Roth
Currently we need to examine config-host.mak to determine whether options/probes for MSI package generation had desired result. Report this more prominently in ./configure summary as we do with other guest agent configure options. Reviewed-by: Marc-André Lureau

[Qemu-devel] [PATCH 06/26] qemu-ga: Prevent QEMU-GA VSS provider from being unregistered on MSI reinstall

2015-09-01 Thread Michael Roth
From: Leonid Bloch Previously, running the .msi would unregister the QEMU GA VSS service if QEMU GA was already installed on the machine, and then register it only if QEMU GA was NOT previously installed. This behavior caused the service to be registered only after the

Re: [Qemu-devel] [RFC PATCH 2/2] block: auto-generated node-names

2015-09-01 Thread Eric Blake
On 09/01/2015 11:23 AM, Jeff Cody wrote: > If a node-name is not specified, automatically generate the node-name. > > Generated node-names will use the "block" sub-system identifier. > > Signed-off-by: Jeff Cody > --- > block.c | 25 - > 1 file

Re: [Qemu-devel] [RFC PATCH 2/2] block: auto-generated node-names

2015-09-01 Thread John Snow
On 09/01/2015 01:23 PM, Jeff Cody wrote: > If a node-name is not specified, automatically generate the node-name. > > Generated node-names will use the "block" sub-system identifier. > > Signed-off-by: Jeff Cody > --- > block.c | 25 - > 1 file

Re: [Qemu-devel] [PULL 00/26] qemu-ga patch queue for 2015-09-01

2015-09-01 Thread Peter Maydell
On 1 September 2015 at 18:00, Michael Roth wrote: > The following changes since commit 090d0bfd948343d522cd20bc634105b5cfe2483b: > > s390: fix softmmu compilation (2015-08-28 16:05:24 +0100) > > are available in the git repository at: > >

[Qemu-devel] [RFC PATCH 1/2] util - add automated ID generation utility

2015-09-01 Thread Jeff Cody
Multiple sub-systems in QEMU may find it useful to generated IDs for objects that a user may reference via QMP or HMP. This patch presents a standardized way to do it, so that automatic ID generation follows the same rules. This patch enforces the following rules when generating an ID: 1.)

[Qemu-devel] [RFC PATCH 2/2] block: auto-generated node-names

2015-09-01 Thread Jeff Cody
If a node-name is not specified, automatically generate the node-name. Generated node-names will use the "block" sub-system identifier. Signed-off-by: Jeff Cody --- block.c | 25 - 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/block.c

[Qemu-devel] [RFC PATCH 0/2] Auto-generated IDs

2015-09-01 Thread Jeff Cody
Born from the conversation on qemu-devel, this generation scheme uses the format ultimately proposed by Kevin, after list discussion. It attempts to keep the ID strings as small as possible, while fulfilling: 1.) Guarantee no collisions with a user-specified ID 2.) Identify the

Re: [Qemu-devel] [PATCH v2 2/5] fw_cfg DMA interface documentation

2015-09-01 Thread Peter Maydell
On 1 September 2015 at 18:47, Peter Maydell wrote: > On 31 August 2015 at 10:10, Marc Marí wrote: >> +=== ARM Register Locations === >> + >> +Selector Register address: 0x0902 >> +Data Register address: 0x09020008 >> +DMA Address address:

Re: [Qemu-devel] [PATCH RFC v3 30/32] qapi: New QMP command query-schema for QMP schema introspection

2015-09-01 Thread Michael Roth
Quoting Markus Armbruster (2015-08-04 10:58:14) > Caution, rough edges. > > qapi/introspect.json defines the introspection schema. It should do > for uses other than QMP. > FIXME it's almost entirely devoid of comments. > > The introspection schema does not reflect all the rules and >

Re: [Qemu-devel] [PATCH] linux-user: remove MAX_ARG_PAGES limit

2015-09-01 Thread Peter Maydell
On 1 September 2015 at 18:27, Brüns, Stefan wrote: > On Tuesday, September 01, 2015 15:29:26 you wrote: >> On 27 August 2015 at 20:35, Stefan Brüns > wrote: >> > Instead of creating a temporary copy for the whole environment and >> >

[Qemu-devel] [PATCH 09/26] qga: misc spelling

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Reviewed-by: Eric Blake Reviewed-by: Denis V. Lunev Reviewed-by: Michael Roth Signed-off-by: Michael Roth

[Qemu-devel] [PATCH 22/26] qemu-ga: implement win32 guest-set-user-password

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Use NetUserSetInfo() to set the user password. This function is notoriously known to be problematic for users with EFS encrypted files. But the alternative, NetUserChangePassword() requires the old password. Nevertheless, The EFS file should

[Qemu-devel] [PATCH 02/26] qemu-ga: Two MSI related cosmetic changes

2015-09-01 Thread Michael Roth
From: Leonid Bloch Signed-off-by: Leonid Bloch Signed-off-by: Michael Roth --- Makefile | 2 +- qga/installer/qemu-ga.wxs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile

Re: [Qemu-devel] Does qemu support mixed endianness

2015-09-01 Thread Peter Crosthwaite
On Tue, Sep 1, 2015 at 5:01 AM, sridhar kulkarni wrote: > Hi, > > I am endeavoring run threadX operating system based application on > vxpress-a9 board. My application has specific requirement in that > instructions are little endian and data is big endian. > Paolo had

[Qemu-devel] [PATCH 16/26] qga: fill default options in main()

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Fill all default options during main(). This is a preparation patch to allow to dump the configuration. Signed-off-by: Marc-André Lureau Reviewed-by: Michael Roth Reviewed-by: Denis V.

[Qemu-devel] [PATCH 02/26] qemu-ga: Two MSI related cosmetic changes

2015-09-01 Thread Michael Roth
From: Leonid Bloch Signed-off-by: Leonid Bloch Signed-off-by: Michael Roth --- Makefile | 2 +- qga/installer/qemu-ga.wxs | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile

[Qemu-devel] [PATCH 05/26] qemu-ga: Created a separate component for each installed file in the MSI

2015-09-01 Thread Michael Roth
From: Leonid Bloch This is done to follow the recommendations given here: https://msdn.microsoft.com/en-us/library/aa368269%28VS.85%29.aspx Signed-off-by: Leonid Bloch Reviewed-by: Marc-André Lureau Signed-off-by: Michael

[Qemu-devel] [PATCH 03/26] qemu-ga: Fixed GUID capitalization

2015-09-01 Thread Michael Roth
From: Leonid Bloch For compatibility, all the letters in GUID should be capital. Signed-off-by: Leonid Bloch Signed-off-by: Michael Roth --- qga/installer/qemu-ga.wxs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

Re: [Qemu-devel] [PATCH RFC v3 30/32] qapi: New QMP command query-schema for QMP schema introspection

2015-09-01 Thread Eric Blake
On 09/01/2015 12:40 PM, Michael Roth wrote: > Quoting Markus Armbruster (2015-08-04 10:58:14) >> Caution, rough edges. >> >> qapi/introspect.json defines the introspection schema. It should do >> for uses other than QMP. >> FIXME it's almost entirely devoid of comments. >> >> The introspection

Re: [Qemu-devel] [PATCH] target-i386: Disable cache info passthrough by default

2015-09-01 Thread Eduardo Habkost
On Tue, Sep 01, 2015 at 02:39:00PM +0200, Igor Mammedov wrote: > On Wed, 19 Aug 2015 10:08:22 -0700 > Eduardo Habkost wrote: > > > The host cache information may not make sense for the guest if the VM > > CPU topology doesn't match the host CPU topology. To make sure we

[Qemu-devel] [PATCH 18/26] qga: free a bit more

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Now that main() has a single exit point, we can free a few more allocations. Signed-off-by: Marc-André Lureau Reviewed-by: Denis V. Lunev Signed-off-by: Michael Roth

[Qemu-devel] [PATCH 19/26] qga: add an optional qemu-ga.conf system configuration

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Learn to configure the agent with a system configuration. This may simplify command-line handling, especially when the blacklist is long. Among the other benefits, this may standardize the configuration of an init service (instead of

Re: [Qemu-devel] [PATCH V4 0/8] Xilinx DisplayPort.

2015-09-01 Thread Peter Maydell
On 21 July 2015 at 18:17, wrote: > From: KONRAD Frederic > > This is the fourth version of this patch-set of the implementation of the > Xilinx > DisplayPort and DPDMA. > > This fourth version fix some functional bad behaviours. > > First

Re: [Qemu-devel] [PULL 00/26] qemu-ga patch queue for 2015-09-01

2015-09-01 Thread Peter Maydell
On 1 September 2015 at 19:33, Michael Roth wrote: > Quoting Peter Maydell (2015-09-01 12:12:39) >> That function wasn't added to glib until 2.28, and our minimum is >> 2.22. > > Sorry for missing this, will send a v2 shortly. > > Do you happen to know a way to

[Qemu-devel] [PATCH 14/26] qga: copy argument strings

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Following patch will return allocated strings, so we must correctly initialize alloc & free them. The nice side effect is that we no longer have to check for "fixed_state_dir" to call ga_install_service() with a NULL state dir. The default

Re: [Qemu-devel] [PATCH v2 1/5] fw_cfg: document fw_cfg_modify_iXX() update functions

2015-09-01 Thread Peter Maydell
On 1 September 2015 at 18:45, Gabriel L. Somlo wrote: > On Tue, Sep 01, 2015 at 06:33:25PM +0100, Peter Maydell wrote: >> This doesn't cover fw_cfg_modify_file(); is that intentional? > > There should already be a paragraph in there (further down from where > this is supposed to go

Re: [Qemu-devel] [RFC PATCH 1/2] util - add automated ID generation utility

2015-09-01 Thread Jeff Cody
On Tue, Sep 01, 2015 at 12:55:15PM -0600, Eric Blake wrote: > On 09/01/2015 11:23 AM, Jeff Cody wrote: > > Multiple sub-systems in QEMU may find it useful to generated IDs > > for objects that a user may reference via QMP or HMP. This patch > > presents a standardized way to do it, so that

[Qemu-devel] [PATCH 13/26] qga: rename 'path' to 'channel_path'

2015-09-01 Thread Michael Roth
From: Marc-André Lureau 'path' is already a global function, rename the variable since it's going to be in global scope in a later patch. Signed-off-by: Marc-André Lureau Reviewed-by: Michael Roth

[Qemu-devel] [PATCH 14/26] qga: copy argument strings

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Following patch will return allocated strings, so we must correctly initialize alloc & free them. The nice side effect is that we no longer have to check for "fixed_state_dir" to call ga_install_service() with a NULL state dir. The default

[Qemu-devel] [PATCH 10/26] qga: use exit() when parsing options

2015-09-01 Thread Michael Roth
From: Marc-André Lureau The option parsing is going to be moved to a separate function, use exit() consistently. Signed-off-by: Marc-André Lureau Reviewed-by: Denis V. Lunev Reviewed-by: Eric Blake

[Qemu-devel] [PATCH 17/26] qga: move agent run in a separate function

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Once the options are populated, move the running state to a run_agent() function. Signed-off-by: Marc-André Lureau Reviewed-by: Michael Roth Reviewed-by: Denis V. Lunev

[Qemu-devel] [PATCH 05/26] qemu-ga: Created a separate component for each installed file in the MSI

2015-09-01 Thread Michael Roth
From: Leonid Bloch This is done to follow the recommendations given here: https://msdn.microsoft.com/en-us/library/aa368269%28VS.85%29.aspx Signed-off-by: Leonid Bloch Reviewed-by: Marc-André Lureau Signed-off-by: Michael

[Qemu-devel] [PATCH 08/26] configure: qemu-ga: report MSI install support in summary

2015-09-01 Thread Michael Roth
Currently we need to examine config-host.mak to determine whether options/probes for MSI package generation had desired result. Report this more prominently in ./configure summary as we do with other guest agent configure options. Reviewed-by: Marc-André Lureau

[Qemu-devel] [PATCH 07/26] qemu-ga: Fixed paths issue with MSI build

2015-09-01 Thread Michael Roth
From: Leonid Bloch Previously, if building out-of-tree, the MSI build would fail since it wasn't able to find the needed files. Signed-off-by: Leonid Bloch Reviewed-by: Marc-André Lureau * fixed up commit msg formating

[Qemu-devel] [PATCH 21/26] qga: start a man page

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Add a simple man page for the qemu agent. Signed-off-by: Marc-André Lureau Reviewed-by: Michael Roth *squashed in review comments from Eric Blake Reviewed-by: Eric

[Qemu-devel] [PATCH 17/26] qga: move agent run in a separate function

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Once the options are populated, move the running state to a run_agent() function. Signed-off-by: Marc-André Lureau Reviewed-by: Michael Roth Reviewed-by: Denis V. Lunev

[Qemu-devel] [PATCH 09/26] qga: misc spelling

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Signed-off-by: Marc-André Lureau Reviewed-by: Eric Blake Reviewed-by: Denis V. Lunev Reviewed-by: Michael Roth Signed-off-by: Michael Roth

[Qemu-devel] [PATCH 22/26] qemu-ga: implement win32 guest-set-user-password

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Use NetUserSetInfo() to set the user password. This function is notoriously known to be problematic for users with EFS encrypted files. But the alternative, NetUserChangePassword() requires the old password. Nevertheless, The EFS file should

[Qemu-devel] [PATCH v2 1/2] iommu: Replace bus+devfn arguments with PCIDevice* in PCIIOMMUFunc

2015-09-01 Thread Knut Omang
The dev pointer is needed by intel_iommu to enable it to store the dma address pointer with the device. Signed-off-by: Knut Omang --- hw/alpha/typhoon.c | 2 +- hw/pci-host/apb.c| 2 +- hw/pci-host/prep.c | 3 +-- hw/pci-host/q35.c| 5 +++-- hw/pci/pci.c

[Qemu-devel] [PATCH 15/26] qga: move option parsing to separate function

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Move option parsing out of giant main(). Signed-off-by: Marc-André Lureau Reviewed-by: Michael Roth Reviewed-by: Denis V. Lunev Signed-off-by: Michael Roth

[Qemu-devel] [PATCH 01/26] qemu-ga: Add .msi files to .gitignore

2015-09-01 Thread Michael Roth
From: Leonid Bloch Signed-off-by: Leonid Bloch Signed-off-by: Michael Roth --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 61bc492..cb4b8ec 100644 --- a/.gitignore +++

[Qemu-devel] [Bug 1490853] [NEW] qemu windows guest hangs on 100% cpu usage

2015-09-01 Thread yebiaoxiang
Public bug reported: hi: I have two VM , one is winXP Prefessional SP3 32bit, another one is WindowsServer2008 Enterprise SP2 64bit. When I hot reboot winXP in guest OS, it'll hangs on progress bar, and all the vcpu thread in qemu is 100% usage. I try to rebuild kvm and add some debug info , I

[Qemu-devel] [Bug 1490853] Re: qemu windows guest hangs on 100% cpu usage

2015-09-01 Thread yebiaoxiang
** Description changed: hi: I have two VM , one is winXP Prefessional SP3 32bit, another one is WindowsServer2008 Enterprise SP2 64bit. When I hot reboot winXP in guest OS, it'll hangs on progress bar, and all the vcpu thread in qemu is 100% usage. I try to rebuild kvm and add some

[Qemu-devel] [PATCH 11/26] qga: move string split in separate function

2015-09-01 Thread Michael Roth
From: Marc-André Lureau The function is going to be reused in a later patch. Signed-off-by: Marc-André Lureau Reviewed-by: Michael Roth Reviewed-by: Denis V. Lunev Signed-off-by: Michael

[Qemu-devel] [PULL v2 00/26] qemu-ga patch queue for 2015-09-01

2015-09-01 Thread Michael Roth
The following changes since commit 090d0bfd948343d522cd20bc634105b5cfe2483b: s390: fix softmmu compilation (2015-08-28 16:05:24 +0100) are available in the git repository at: git://github.com/mdroth/qemu.git tags/qga-pull-2015-09-01-v2-tag for you to fetch changes up to

[Qemu-devel] [PATCH 13/26] qga: rename 'path' to 'channel_path'

2015-09-01 Thread Michael Roth
From: Marc-André Lureau 'path' is already a global function, rename the variable since it's going to be in global scope in a later patch. Signed-off-by: Marc-André Lureau Reviewed-by: Michael Roth

[Qemu-devel] [PATCH 25/26] build: qemu-ga: fix VSS dependencies

2015-09-01 Thread Michael Roth
Currently VSS dll/tlb files for use in w32 builds are only built as a result of having been added to the general 'tools' target alongside qemu-ga. This is fine for default make target, but if we build qemu-ga directly via `make qemu-ga.exe`, the VSS files are not created. Fix this by moving the

[Qemu-devel] [PATCH 18/26] qga: free a bit more

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Now that main() has a single exit point, we can free a few more allocations. Signed-off-by: Marc-André Lureau Reviewed-by: Denis V. Lunev Signed-off-by: Michael Roth

[Qemu-devel] [PATCH 26/26] Makefile: qemu-ga: fix msi target error message

2015-09-01 Thread Michael Roth
'msi' target reports error if we attempt to use it when QEMU hasn't been ./configure'd to enable it. The parenthesis cause an interpreter error if we don't enclose the error in quotes. Reviewed-by: Marc-André Lureau Signed-off-by: Michael Roth

Re: [Qemu-devel] [RFC] docs: describe QEMU's VMGenID design

2015-09-01 Thread Eric Blake
On 08/28/2015 02:18 PM, Laszlo Ersek wrote: > Cc: Paolo Bonzini > Cc: Gal Hammer > Cc: Igor Mammedov > Cc: "Michael S. Tsirkin" > Signed-off-by: Laszlo Ersek > --- > > Notes: > This is based

[Qemu-devel] [PATCH 11/26] qga: move string split in separate function

2015-09-01 Thread Michael Roth
From: Marc-André Lureau The function is going to be reused in a later patch. Signed-off-by: Marc-André Lureau Reviewed-by: Michael Roth Reviewed-by: Denis V. Lunev Signed-off-by: Michael

[Qemu-devel] [PULL 00/26] qemu-ga patch queue for 2015-09-01

2015-09-01 Thread Michael Roth
The following changes since commit 090d0bfd948343d522cd20bc634105b5cfe2483b: s390: fix softmmu compilation (2015-08-28 16:05:24 +0100) are available in the git repository at: git://github.com/mdroth/qemu.git tags/qga-pull-2015-09-01-tag for you to fetch changes up to

[Qemu-devel] [PATCH 20/26] qga: add --dump-conf option

2015-09-01 Thread Michael Roth
From: Marc-André Lureau This new option allows to review the agent configuration, and ease the task of writing a configuration file. Signed-off-by: Marc-André Lureau Reviewed-by: Michael Roth Reviewed-by:

Re: [Qemu-devel] [PATCH] linux-user: remove MAX_ARG_PAGES limit

2015-09-01 Thread Brüns , Stefan
On Tuesday, September 01, 2015 15:29:26 you wrote: > On 27 August 2015 at 20:35, Stefan Brüns wrote: > > Instead of creating a temporary copy for the whole environment and > > the arguments, directly copy everything to the target stack. > > > > For this to work, we

Re: [Qemu-devel] [PATCH v2 1/5] fw_cfg: document fw_cfg_modify_iXX() update functions

2015-09-01 Thread Gabriel L. Somlo
On Tue, Sep 01, 2015 at 06:33:25PM +0100, Peter Maydell wrote: > On 31 August 2015 at 10:10, Marc Marí wrote: > > From: "Gabriel L. Somlo" > > > > Document the behavior of fw_cfg_modify_iXX() for leak-less updating > > of integer-type blobs. > > > > Currently

[Qemu-devel] [PATCH 24/26] configure: qemu-ga: explicitly enable qemu-ga MSI support when probed

2015-09-01 Thread Michael Roth
Currently, if we don't explicitly disable support for MSI installer via --disable-guest-agent-msi, the configure variable that tracks the flag, 'guest_agent_msi', never gets set unless one of the probes fails. Subsequent code then treats this unset value the same as if it were a "yes" value (via

[Qemu-devel] [PATCH 26/26] Makefile: qemu-ga: fix msi target error message

2015-09-01 Thread Michael Roth
'msi' target reports error if we attempt to use it when QEMU hasn't been ./configure'd to enable it. The parenthesis cause an interpreter error if we don't enclose the error in quotes. Reviewed-by: Marc-André Lureau Signed-off-by: Michael Roth

[Qemu-devel] [PATCH 03/26] qemu-ga: Fixed GUID capitalization

2015-09-01 Thread Michael Roth
From: Leonid Bloch For compatibility, all the letters in GUID should be capital. Signed-off-by: Leonid Bloch Signed-off-by: Michael Roth --- qga/installer/qemu-ga.wxs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

Re: [Qemu-devel] [PULL 00/26] qemu-ga patch queue for 2015-09-01

2015-09-01 Thread Michael Roth
Quoting Peter Maydell (2015-09-01 12:12:39) > On 1 September 2015 at 18:00, Michael Roth wrote: > > The following changes since commit 090d0bfd948343d522cd20bc634105b5cfe2483b: > > > > s390: fix softmmu compilation (2015-08-28 16:05:24 +0100) > > > > are available in

[Qemu-devel] [PATCH 23/26] configure: qemu-ga: move MSI installer probe after qga probe

2015-09-01 Thread Michael Roth
MSI probe assumes that qemu-ga support has been probed already, but in cases where --enable-guest-agent/--disable-guest-agent have not been passed to configure, qemu-ga support may end up getting enabled later, as is the case with w32 builds. This leads to MSI probe prematurely reporting error due

[Qemu-devel] [PATCH 15/26] qga: move option parsing to separate function

2015-09-01 Thread Michael Roth
From: Marc-André Lureau Move option parsing out of giant main(). Signed-off-by: Marc-André Lureau Reviewed-by: Michael Roth Reviewed-by: Denis V. Lunev Signed-off-by: Michael Roth

[Qemu-devel] [PATCH 12/26] qga: make split_list() return allocated strings

2015-09-01 Thread Michael Roth
From: Marc-André Lureau In order to avoid any confusion, let's allocate new strings when splitting. Signed-off-by: Marc-André Lureau Reviewed-by: Denis V. Lunev Signed-off-by: Michael Roth

[Qemu-devel] [PATCH v2 2/2] intel_iommu: Add support for translation for devices behind bridges.

2015-09-01 Thread Knut Omang
- Add call to pci_setup_iommu for the secondary bus in a bridge. - Refactor IntelIOMMUState to use a list instead of tables based on bus/devfn, as bus numbers can change dynamically. - Instead store reference to the VTDAddressSpace as an AddressSpace pointer, dma_as within PCIDevice. - Use

Re: [Qemu-devel] [RFC PATCH 1/2] util - add automated ID generation utility

2015-09-01 Thread Eric Blake
On 09/01/2015 11:23 AM, Jeff Cody wrote: > Multiple sub-systems in QEMU may find it useful to generated IDs > for objects that a user may reference via QMP or HMP. This patch > presents a standardized way to do it, so that automatic ID generation > follows the same rules. > > This patch enforces

Re: [Qemu-devel] [RFC PATCH 1/2] util - add automated ID generation utility

2015-09-01 Thread John Snow
On 09/01/2015 01:23 PM, Jeff Cody wrote: > Multiple sub-systems in QEMU may find it useful to generated IDs generate > for objects that a user may reference via QMP or HMP. This patch > presents a standardized way to do it, so that automatic ID generation > follows the same rules. > > This

Re: [Qemu-devel] [PATCH v2 1/5] fw_cfg: document fw_cfg_modify_iXX() update functions

2015-09-01 Thread Gabriel L. Somlo
On Tue, Sep 01, 2015 at 07:45:27PM +0100, Peter Maydell wrote: > On 1 September 2015 at 18:45, Gabriel L. Somlo wrote: > > On Tue, Sep 01, 2015 at 06:33:25PM +0100, Peter Maydell wrote: > >> As an aside, shouldn't this function-level documentation be done > >> via doc-comments in

Re: [Qemu-devel] [PULL 00/26] qemu-ga patch queue for 2015-09-01

2015-09-01 Thread John Snow
On 09/01/2015 02:37 PM, Peter Maydell wrote: > On 1 September 2015 at 19:33, Michael Roth wrote: >> Quoting Peter Maydell (2015-09-01 12:12:39) >>> That function wasn't added to glib until 2.28, and our minimum is >>> 2.22. >> >> Sorry for missing this, will send a v2

Re: [Qemu-devel] [PATCH RFC 4/5] net/dump: Provide the dumping facility as a net filter

2015-09-01 Thread Eric Blake
On 08/26/2015 08:33 PM, Thomas Huth wrote: > Add glue code to use the dumping functions as a netdev > filter, too. > > Signed-off-by: Thomas Huth > --- > net/dump.c | 54 ++ > net/filter.c | 1 + > net/filters.h

Re: [Qemu-devel] hd-geo-test creates 4GB files on FSes that don't support sparse images, doesn't delete them on error

2015-09-01 Thread Markus Armbruster
John Snow writes: > On 08/28/2015 09:06 AM, Markus Armbruster wrote: >> John Snow writes: >> >>> On 08/27/2015 11:29 AM, Eric Blake wrote: On 08/27/2015 09:17 AM, Peter Maydell wrote: > I've noticed recently that tests/hd-geo-test.c creates test

Re: [Qemu-devel] function to execute qmp commands

2015-09-01 Thread Markus Armbruster
Programmingkid writes: > Is there a function that can execute a qmp command in QEMU? Sure you want to do that, and not call the C interface instead? Let me explain how QMP works: * QMP core: receive JSON, parse, find handler function (defined in qmp-commands.hx),

Re: [Qemu-devel] rfc: vhost user enhancements for vm2vm communication

2015-09-01 Thread Jan Kiszka
On 2015-08-31 16:11, Michael S. Tsirkin wrote: > Hello! > During the KVM forum, we discussed supporting virtio on top > of ivshmem. No, not on top of ivshmem. On top of shared memory. Our model is different from the simplistic ivshmem. > I have considered it, and came up with an alternative >

Re: [Qemu-devel] [Qemu-ppc] [PATCH v3 0/4] target-ppc: Add FWNMI support in qemu for powerKVM guests

2015-09-01 Thread Aravinda Prasad
On Friday 07 August 2015 09:07 AM, Sam Bobroff wrote: > Hello Aravinda and all, > > On Wed, Jul 08, 2015 at 01:58:13PM +0530, Aravinda Prasad wrote: >> On Friday 03 July 2015 11:31 AM, David Gibson wrote: >>> On Thu, Jul 02, 2015 at 07:11:52PM +1000, Alexey Kardashevskiy wrote: On

Re: [Qemu-devel] [PATCH][RESEND] qemu/kvm_stat: Fix I/O error from kvm_stat

2015-09-01 Thread Hemant Kumar
Hi Wei, Thanks for the review. On 09/01/2015 01:52 AM, Wei Huang wrote: On 08/30/2015 10:42 PM, Hemant Kumar wrote: Running kvm_stat on a powerpc macine where the kernel is compiled with KVM_BOOK3S_HV_EXIT_TIMING config option, generates the following error : # kvm_stat Traceback (most

  1   2   3   4   >