[Qemu-devel] [PATCH 2/5] qom: introduce object_is_type_str(), so we can judge its type.

2012-07-09 Thread Liu Ping Fan
Signed-off-by: Liu Ping Fan --- include/qemu/object.h |2 ++ qom/object.c |6 ++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/qemu/object.h b/include/qemu/object.h index 8b17776..a66e996 100644 --- a/include/qemu/object.h +++ b/include/qemu/object.h

Re: [Qemu-devel] [PATCH 4/6] device_tree: Add support for reading device tree properties

2012-07-09 Thread Peter Crosthwaite
On Sat, Jul 7, 2012 at 1:34 AM, Peter Maydell wrote: > On 6 July 2012 02:56, Peter Crosthwaite > wrote: >> Can we generalise and get functionality for reading cells with offsets >> as well? Your function assumes (and asserts) that the property is a >> single cell, but can we add a index paramete

[Qemu-devel] [PATCH 3/5] qdev: export the bus reset interface

2012-07-09 Thread Liu Ping Fan
Signed-off-by: Liu Ping Fan --- hw/qdev.c | 17 - hw/qdev.h |2 ++ 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c index d2100a1..f7983e4 100644 --- a/hw/qdev.c +++ b/hw/qdev.c @@ -249,11 +249,9 @@ static int qdev_reset_one(DeviceState *

Re: [Qemu-devel] [PATCH v2 0/2] QOMify AXI stream for Xilinx AXI ethernet/DMA

2012-07-09 Thread Peter Crosthwaite
Ping^2 On Wed, Jul 4, 2012 at 10:28 AM, Peter Crosthwaite wrote: > Ping! > > On Thu, Jun 28, 2012 at 8:41 PM, Peter A. G. Crosthwaite > wrote: >> Next revision of the series for AXI-stream, rebased on anthonys refactoring >> of the Interface system. Anthonys patch is already on the mailing list

[Qemu-devel] make apic hot-plugable

2012-07-09 Thread Liu Ping Fan
The previous effort to make apic hot-plugable is thread: [PATCH V3] Introduce a new bus "ICC" to connect APIC refer to : http://lists.gnu.org/archive/html/qemu-devel/2011-11/msg00413.html But now, we are with qom. So remodeling the apic as a kid of CPUState (neglect the dependent apic, which

Re: [Qemu-devel] [PATCH] megasas: Fix compilation for 32 bit hosts

2012-07-09 Thread Stefan Weil
Am 10.07.2012 08:00, schrieb Hannes Reinecke: Hi Stefan, you might've seen that Anthony objected to this in general. Apparently I'm not allowed to use the instance address to seed the SAS address. So yes, your fix is valid, but might be pointless as I might have to re-do this section anyway. Bu

Re: [Qemu-devel] [PATCH] megasas: Fix compilation for 32 bit hosts

2012-07-09 Thread Hannes Reinecke
Hi Stefan, you might've seen that Anthony objected to this in general. Apparently I'm not allowed to use the instance address to seed the SAS address. So yes, your fix is valid, but might be pointless as I might have to re-do this section anyway. But wait and see what Anthony has to say here. Ch

Re: [Qemu-devel] [PATCH] flatload: fix bss clearing

2012-07-09 Thread Mike Frysinger
On Monday 09 July 2012 09:21:52 Andreas Färber wrote: > Am 09.07.2012 15:04, schrieb Mike Frysinger: > > The current bss clear logic assumes the target mmap address and host > > address are the same. Use g2h to translate from the target address > > space to the host so we can call memset on it. >

Re: [Qemu-devel] [PULL 00/14] SCSI updates for 2012-07-02

2012-07-09 Thread Hannes Reinecke
On 07/10/2012 01:19 AM, Anthony Liguori wrote: > On 07/09/2012 06:09 PM, Alexander Graf wrote: >> >> On 09.07.2012, at 18:48, Anthony Liguori wrote: >> >>> On 07/02/2012 04:41 AM, Paolo Bonzini wrote: Anthony, The following changes since commit 71ea2e016131a9fcde6f1ffd3e0e34a64c

[Qemu-devel] [PATCH 1/2] pseries pci: spapr_finalize_pci_setup introduced

2012-07-09 Thread Alexey Kardashevskiy
Previously PCI bus setup was done in 3 steps: 1) create a PCI bus, configure DMA 2) create PCI devices on the bus 3) populate a PCI bus node in the Device Tree As some bus parameters can be configured only when some or all the devices got attached to the bus and initialized, the spapr_finalize_pci

[Qemu-devel] [PATCH 2/2] vfio-powerpc: added VFIO support

2012-07-09 Thread Alexey Kardashevskiy
The patch enables VFIO on POWER. It literally does the following: 1. POWERPC IOMMU support (the kernel counterpart is required) 2. Added #ifdef TARGET_PPC64 for EOI handlers initialisation. 3. Added vfio_get_container_fd() to VFIO in order to initialize 1). 4. Makefile fixed and "is_vfio" flag

[Qemu-devel] [PATCH 0/2] RFC: powerpc-vfio: adding support

2012-07-09 Thread Alexey Kardashevskiy
The two patches in this set are supposed to add VFIO support for POWER. The first one adds one more step in the initalizaion sequence which I am not sure is correct. The second patch adds actual VFIO support. It is not ready to submit but ready to discuss. I would like to get rid of all #ifdef TA

Re: [Qemu-devel] [RFC] introduce a dynamic library to expose qemu block API

2012-07-09 Thread Wenchao Xia
于 2012-7-9 22:36, Christoph Hellwig 写道: On Mon, Jul 09, 2012 at 04:54:08PM +0800, Wenchao Xia wrote: Hi, Paolo and folks, qemu have good capabilities to access different virtual disks, I want to expose its block layer API to let 3rd party program linked in, such as management stack or block t

[Qemu-devel] [PATCH] megasas: Fix compilation for 32 bit hosts

2012-07-09 Thread Stefan Weil
Cc: Hannes Reinecke Signed-off-by: Stefan Weil --- default-configs/pci.mak |4 hw/megasas.c| 13 +++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/default-configs/pci.mak b/default-configs/pci.mak index 9d3e1db..120b69d 100644 --- a/default-conf

Re: [Qemu-devel] [RFC] introduce a dynamic library to expose qemu block API

2012-07-09 Thread Wenchao Xia
于 2012-7-9 17:27, Daniel P. Berrange 写道: On Mon, Jul 09, 2012 at 04:54:08PM +0800, Wenchao Xia wrote: Hi, Paolo and folks, qemu have good capabilities to access different virtual disks, I want to expose its block layer API to let 3rd party program linked in, such as management stack or block

Re: [Qemu-devel] [PATCH v16 8/9] Add set_cachesize command

2012-07-09 Thread Orit Wasserman
On 07/09/2012 11:59 PM, Eric Blake wrote: > On 07/09/2012 12:22 PM, Orit Wasserman wrote: >> Change XBZRLE cache size in bytes (the size should be a power of 2). >> If XBZRLE cache size is too small there will be many cache miss. >> >> Signed-off-by: Benoit Hudzia >> Signed-off-by: Petter Svard >

Re: [Qemu-devel] [RFC] introduce a dynamic library to expose qemu block API

2012-07-09 Thread Wenchao Xia
于 2012-7-9 17:13, Paolo Bonzini 写道: > Il 09/07/2012 10:54, Wenchao Xia ha scritto: >> Following is my implementing plan draft: >>1 introduce libqblock.so in sub directory in qemu. >>2 write a nbd client in libqblock, similar to qemu nbd client. Then >> use it to talk with nbd server, by def

[Qemu-devel] [Bug 1018530] Re: No write access in a 9p/virtfs shared folder

2012-07-09 Thread M. Mohan Kumar
No, commit daf0b9aca9f67323266af1a92e8ea06f9d7bf408 added create support proxy FS driver model. Local FS had support for creating files much before. Georg, is qemu running with root user privileges? -- You received this bug notification because you are a member of qemu- devel-ml, which is subsc

[Qemu-devel] buildbot failure in qemu on default_mingw32

2012-07-09 Thread qemu
The Buildbot has detected a new failure on builder default_mingw32 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_mingw32/builds/312 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: kraxel_rhel61 Build Reason:

Re: [Qemu-devel] [PULL 00/14] SCSI updates for 2012-07-02

2012-07-09 Thread Anthony Liguori
On 07/09/2012 06:09 PM, Alexander Graf wrote: On 09.07.2012, at 18:48, Anthony Liguori wrote: On 07/02/2012 04:41 AM, Paolo Bonzini wrote: Anthony, The following changes since commit 71ea2e016131a9fcde6f1ffd3e0e34a64c21f593: bsd-user: fix build (2012-06-28 20:28:36 +) Pulled. Than

[Qemu-devel] [PATCH] megasas: disable due to build breakage

2012-07-09 Thread Anthony Liguori
The Buildbot has detected a new failure on builder default_i386_rhel61 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_i386_rhel61/builds/304 The proper fix is non-trivial so let's disable the build by default until it's fixed properly. Si

Re: [Qemu-devel] [PULL 00/14] SCSI updates for 2012-07-02

2012-07-09 Thread Alexander Graf
On 09.07.2012, at 18:48, Anthony Liguori wrote: > On 07/02/2012 04:41 AM, Paolo Bonzini wrote: >> Anthony, >> >> The following changes since commit 71ea2e016131a9fcde6f1ffd3e0e34a64c21f593: >> >> bsd-user: fix build (2012-06-28 20:28:36 +) > > Pulled. Thanks. Megasas? :) http://build

[Qemu-devel] buildbot failure in qemu on default_i386_rhel61

2012-07-09 Thread qemu
The Buildbot has detected a new failure on builder default_i386_rhel61 while building qemu. Full details are available at: http://buildbot.b1-systems.de/qemu/builders/default_i386_rhel61/builds/304 Buildbot URL: http://buildbot.b1-systems.de/qemu/ Buildslave for this Build: kraxel_rhel61_32bit

Re: [Qemu-devel] [PATCH] target-i386: implement FPREM and FPREM1 using softfloat only

2012-07-09 Thread Peter Maydell
On 2 July 2012 16:25, Catalin Patulea wrote: > FPREM1 now passes the TestFloat floatx80_rem suite (and FPREM is implemented > very > similarly). > > The code (the bulk of which is remainder_kernel and do_fprem) is derived from > Bochs SVN revision 11224 dated 2012-06-21 10:33:37 -0700, with conve

Re: [Qemu-devel] [PATCH v16 8/9] Add set_cachesize command

2012-07-09 Thread Eric Blake
On 07/09/2012 12:22 PM, Orit Wasserman wrote: > Change XBZRLE cache size in bytes (the size should be a power of 2). > If XBZRLE cache size is too small there will be many cache miss. > > Signed-off-by: Benoit Hudzia > Signed-off-by: Petter Svard > Signed-off-by: Aidan Shribman > Signed-off-by:

Re: [Qemu-devel] [libvirt] [RFC 0/5] block: File descriptor passing using -open-hook-fd

2012-07-09 Thread Anthony Liguori
On 07/09/2012 03:29 PM, Eric Blake wrote: On 07/09/2012 02:00 PM, Anthony Liguori wrote: with the fd:name approach, the sequence is: libvirt calls getfd:name1 over normal monitor qemu responds libvirt calls getfd:name2 over normal monitor qemu responds libvirt calls transaction around blockdev

[Qemu-devel] KVM call agenda for Tuesday, July 10th

2012-07-09 Thread Juan Quintela
Hi Please send in any agenda items you are interested in covering. Later, Juan.

Re: [Qemu-devel] [PATCH] target-i386: implement FPREM and FPREM1 using softfloat only

2012-07-09 Thread Catalin Patulea
On Mon, Jul 2, 2012 at 11:25 AM, Catalin Patulea wrote: > FPREM1 now passes the TestFloat floatx80_rem suite (and FPREM is implemented > very > similarly). > > The code (the bulk of which is remainder_kernel and do_fprem) is derived from > Bochs SVN revision 11224 dated 2012-06-21 10:33:37 -0700,

Re: [Qemu-devel] [libvirt] [RFC 0/5] block: File descriptor passing using -open-hook-fd

2012-07-09 Thread Eric Blake
On 07/09/2012 02:00 PM, Anthony Liguori wrote: >> with the fd:name approach, the sequence is: >> >> libvirt calls getfd:name1 over normal monitor >> qemu responds >> libvirt calls getfd:name2 over normal monitor >> qemu responds >> libvirt calls transaction around blockdev-snapshot-sync over norma

Re: [Qemu-devel] [libvirt] [RFC 0/5] block: File descriptor passing using -open-hook-fd

2012-07-09 Thread Anthony Liguori
On 05/17/2012 09:14 AM, Eric Blake wrote: On 05/17/2012 07:42 AM, Stefan Hajnoczi wrote: The -open-hook-fd approach allows QEMU to support file descriptor passing without changing -drive. It also supports snapshot_blkdev and other commands By the way, How will it support them? The problem

[Qemu-devel] [PATCH 9/9] IPMI: Add an external connection simulation interface

2012-07-09 Thread minyard
From: Corey Minyard This adds an interface for IPMI that connects to a remote BMC over a chardev (generally a TCP socket). The OpenIPMI lanserv simulator describes this interface, see that for interface details. Signed-off-by: Corey Minyard --- default-configs/i386-softmmu.mak |1 + def

[Qemu-devel] [PATCH 8/9] IPMI: Add a local BMC simulation

2012-07-09 Thread minyard
From: Corey Minyard This provides a minimal local BMC, basically enough to comply with the spec and provide a complete watchdog timer (including a sensor, SDR, and event). Signed-off-by: Corey Minyard --- default-configs/i386-softmmu.mak |1 + default-configs/x86_64-softmmu.mak |1 +

[Qemu-devel] [PATCH 2/9] pc: move SMBIOS setup to after device init

2012-07-09 Thread minyard
From: Corey Minyard Setting up the firmware interface for the SMBIOS table needs to be done later in the process, after device initialization, so that devices can add entries to the table. Signed-off-by: Corey Minyard --- hw/pc.c | 22 +- hw/pc.h |9 +---

[Qemu-devel] [PATCH 6/9] IPMI: Add a KCS low-level interface

2012-07-09 Thread minyard
From: Corey Minyard This provides the simulation of the KCS hardware interface. Signed-off-by: Corey Minyard --- default-configs/i386-softmmu.mak |1 + default-configs/x86_64-softmmu.mak |1 + hw/Makefile.objs |1 + hw/ipmi_kcs.c | 259

[Qemu-devel] [PATCH 5/9] IPMI: Add a PC ISA type structure

2012-07-09 Thread minyard
From: Corey Minyard This provides the base infrastructure to tie IPMI low-level interfaces into a PC ISA bus. Signed-off-by: Corey Minyard --- default-configs/i386-softmmu.mak |1 + default-configs/x86_64-softmmu.mak |1 + hw/Makefile.objs |1 + hw/isa_ipmi.c

[Qemu-devel] [PATCH 3/9] isa: Add a way to query for a free interrupt

2012-07-09 Thread minyard
From: Corey Minyard This lets devices that don't care about their interrupt number, like IPMI, just grab any unused interrupt. Signed-off-by: Corey Minyard --- hw/isa-bus.c | 13 + hw/isa.h |2 ++ 2 files changed, 15 insertions(+), 0 deletions(-) diff --git a/hw/isa-bus.

[Qemu-devel] [PATCH 4/9] Add a base IPMI interface

2012-07-09 Thread minyard
From: Corey Minyard Add the basic IPMI types and infrastructure to QEMU. Low-level interfaces and simulation interfaces will register with this; it's kind of the go-between to tie them together. Signed-off-by: Corey Minyard --- default-configs/i386-softmmu.mak |1 + default-configs/x86_

[Qemu-devel] [PATCH 7/9] IPMI: Add a BT low-level interface

2012-07-09 Thread minyard
From: Corey Minyard This provides the simulation of the BT hardware interface for IPMI. Signed-off-by: Corey Minyard --- default-configs/i386-softmmu.mak |1 + default-configs/x86_64-softmmu.mak |1 + hw/Makefile.objs |1 + hw/ipmi_bt.c |

[Qemu-devel] [PATCH 1/9] smbios: Add a function to directly add an entry

2012-07-09 Thread minyard
From: Corey Minyard There was no way to directly add a table entry to the SMBIOS table, even though the BIOS supports this. So add a function to do this. This is in preparation for the IPMI handler adding it's SMBIOS table entry. Signed-off-by: Corey Minyard --- hw/smbios.c | 27 +++

[Qemu-devel] First shot at adding IPMI to qemu

2012-07-09 Thread minyard
I had asked about getting an IPMI device into qemu and received some interest, and it's useful to me, so I've done some work to add it. The following patch set has a set of patches to add an IPMI KCS device, and IPMI BT device, a built-in BMC (IPMI management controller), and a way to attach an ext

[Qemu-devel] [PATCH v16 2/9] Add XBZRLE documentation

2012-07-09 Thread Orit Wasserman
Signed-off-by: Orit Wasserman --- docs/xbzrle.txt | 136 +++ 1 files changed, 136 insertions(+), 0 deletions(-) create mode 100644 docs/xbzrle.txt diff --git a/docs/xbzrle.txt b/docs/xbzrle.txt new file mode 100644 index 000..f70e851 ---

[Qemu-devel] [PATCH v16 7/9] Add XBZRLE to ram_save_block and ram_save_live

2012-07-09 Thread Orit Wasserman
In the outgoing migration check to see if the page is cached and changed than send compressed page by using save_xbrle_page function. In the incoming migration check to see if RAM_SAVE_FLAG_XBZRLE is set and decompress the page (by using load_xbrle function). Signed-off-by: Benoit Hudzia Signed-o

Re: [Qemu-devel] [PATCH v4 0/7] file descriptor passing using pass-fd

2012-07-09 Thread Luiz Capitulino
On Mon, 09 Jul 2012 13:40:34 -0500 Anthony Liguori wrote: > On 06/26/2012 04:10 AM, Daniel P. Berrange wrote: > > On Fri, Jun 22, 2012 at 02:36:07PM -0400, Corey Bryant wrote: > >> libvirt's sVirt security driver provides SELinux MAC isolation for > >> Qemu guest processes and their corresponding

[Qemu-devel] [PATCH v16 8/9] Add set_cachesize command

2012-07-09 Thread Orit Wasserman
Change XBZRLE cache size in bytes (the size should be a power of 2). If XBZRLE cache size is too small there will be many cache miss. Signed-off-by: Benoit Hudzia Signed-off-by: Petter Svard Signed-off-by: Aidan Shribman Signed-off-by: Orit Wasserman --- arch_init.c | 10 ++ hm

Re: [Qemu-devel] [PATCH v3] sheepdog: do not blindly memset all read buffers

2012-07-09 Thread MORITA Kazutaka
At Mon, 9 Jul 2012 16:34:13 +0200, Christoph Hellwig wrote: > > Only buffers that map to unallocated blocks need to be zeroed. > > Signed-off-by: Christoph Hellwig > > --- > block/sheepdog.c | 37 ++--- > 1 file changed, 18 insertions(+), 19 deletions(-) Acke

Re: [Qemu-devel] [PATCH v4 0/7] file descriptor passing using pass-fd

2012-07-09 Thread Anthony Liguori
On 06/26/2012 04:10 AM, Daniel P. Berrange wrote: On Fri, Jun 22, 2012 at 02:36:07PM -0400, Corey Bryant wrote: libvirt's sVirt security driver provides SELinux MAC isolation for Qemu guest processes and their corresponding image files. In other words, sVirt uses SELinux to prevent a QEMU proce

[Qemu-devel] [PATCH] make: Remove 'build-all' rule

2012-07-09 Thread Stefan Weil
It is not needed, because the 'all' rule does the same. Signed-off-by: Stefan Weil --- Makefile |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index bad0e31..76dae56 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ BUILD_DIR=$(CURDIR) # All

[Qemu-devel] [PATCH v16 6/9] Add xbzrle_encode_buffer and xbzrle_decode_buffer functions

2012-07-09 Thread Orit Wasserman
For performance we are encoding long word at a time. For nzrun we use long-word-at-a-time NULL-detection tricks from strcmp(): using ((lword - 0x0101010101010101) & (~lword) & 0x8080808080808080) test to find out if any byte in the long word is zero. Signed-off-by: Benoit Hudzia Signed-off-by: Pe

[Qemu-devel] [PATCH v16 9/9] Add XBZRLE statistics

2012-07-09 Thread Orit Wasserman
Signed-off-by: Benoit Hudzia Signed-off-by: Petter Svard Signed-off-by: Aidan Shribman Signed-off-by: Orit Wasserman --- arch_init.c | 66 ++ hmp.c| 13 ++ migration.c | 49 +

[Qemu-devel] [PATCH v16 3/9] Add cache handling functions

2012-07-09 Thread Orit Wasserman
Add LRU page cache mechanism. The page are accessed by their address. Signed-off-by: Benoit Hudzia Signed-off-by: Petter Svard Signed-off-by: Aidan Shribman Signed-off-by: Orit Wasserman --- Makefile.objs |1 + cutils.c |8 ++ include/qemu/page_cache.h |

[Qemu-devel] [PATCH v16 5/9] Change ram_save_block to return -1 if there are no more changes

2012-07-09 Thread Orit Wasserman
It will return 0 if the page is unmodifed. Signed-off-by: Orit Wasserman --- arch_init.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/arch_init.c b/arch_init.c index 9fd6346..e36899e 100644 --- a/arch_init.c +++ b/arch_init.c @@ -188,7 +188,7 @@ static int r

[Qemu-devel] [PATCH v16 1/9] Add migration capabilities

2012-07-09 Thread Orit Wasserman
Add migration capabilities that can be queried by the management. The management can query the source QEMU and the destination QEMU in order to verify both support some migration capability (currently only XBZRLE). The management can enable a capability for the next migration by using migrate_set_p

[Qemu-devel] [PATCH v16 4/9] Add uleb encoding/decoding functions

2012-07-09 Thread Orit Wasserman
Implement Unsigned Little Endian Base 128. Signed-off-by: Orit Wasserman --- cutils.c | 33 + qemu-common.h |8 2 files changed, 41 insertions(+), 0 deletions(-) diff --git a/cutils.c b/cutils.c index 02d5bd0..7d99fe0 100644 --- a/cutils.c +++

[Qemu-devel] [PATCH v16 0/9] XBZRLE delta for live migration of large memory app

2012-07-09 Thread Orit Wasserman
Changes from v15: - Fix example in documentation - Fix identation in qmp-commands.hx - Fix missing comments from v13 - Fix other comments by Eric Blake Changes from v14: - rebase on top on Juan's patches - Use clz64 to calculate pow2floor (round down

Re: [Qemu-devel] [PATCH v4 0/7] file descriptor passing using pass-fd

2012-07-09 Thread Corey Bryant
On 07/09/2012 11:05 AM, Corey Bryant wrote: On 07/09/2012 10:05 AM, Luiz Capitulino wrote: On Thu, 05 Jul 2012 11:06:56 -0400 Corey Bryant wrote: On 07/04/2012 04:09 AM, Kevin Wolf wrote: Am 03.07.2012 20:21, schrieb Corey Bryant: On 07/03/2012 02:00 PM, Eric Blake wrote: On 07/03/20

Re: [Qemu-devel] [PATCH v4 0/7] file descriptor passing using pass-fd

2012-07-09 Thread Corey Bryant
On 07/09/2012 01:48 PM, Luiz Capitulino wrote: On Mon, 09 Jul 2012 13:35:19 -0400 Corey Bryant wrote: On 07/09/2012 11:46 AM, Kevin Wolf wrote: Am 09.07.2012 17:05, schrieb Corey Bryant: I'm not sure this is an issue with current design. I know things have changed a bit as the email thr

Re: [Qemu-devel] [PATCH v4 0/7] file descriptor passing using pass-fd

2012-07-09 Thread Corey Bryant
On 07/09/2012 12:18 PM, Luiz Capitulino wrote: On Mon, 09 Jul 2012 17:46:00 +0200 Kevin Wolf wrote: Am 09.07.2012 17:05, schrieb Corey Bryant: I'm not sure this is an issue with current design. I know things have changed a bit as the email threads evolved, so I'll paste the current design

Re: [Qemu-devel] [v1 Patch 0/10]Qemu: Dynamic host pagecache change and image file reopen

2012-07-09 Thread Stefan Weil
Am 15.06.2012 22:46, schrieb Supriya Kannery: For changing host pagecache setting of a running VM, it is important to have a safe way of reopening its image file. Hello, please use 'QEMU' instead of 'Qemu' where needed. I assume that everybody here expects that any patch on this mailing l

Re: [Qemu-devel] [PATCH v4 0/7] file descriptor passing using pass-fd

2012-07-09 Thread Luiz Capitulino
On Mon, 09 Jul 2012 13:35:19 -0400 Corey Bryant wrote: > > > On 07/09/2012 11:46 AM, Kevin Wolf wrote: > > Am 09.07.2012 17:05, schrieb Corey Bryant: > >> I'm not sure this is an issue with current design. I know things have > >> changed a bit as the email threads evolved, so I'll paste the cu

Re: [Qemu-devel] [PATCH v4 0/7] file descriptor passing using pass-fd

2012-07-09 Thread Corey Bryant
On 07/09/2012 11:46 AM, Kevin Wolf wrote: Am 09.07.2012 17:05, schrieb Corey Bryant: I'm not sure this is an issue with current design. I know things have changed a bit as the email threads evolved, so I'll paste the current design that I am working from. Please let me know if you still see

Re: [Qemu-devel] [PATCH 0/4] [PULL] slirp: smb fixes and cmd: target for guestfwd

2012-07-09 Thread Anthony Liguori
On 07/09/2012 10:44 AM, Jan Kiszka wrote: The following changes since commit 84988cf910a6881f2180fdcec516b60f8f0dc8c4: bitops.h: Add functions to extract and deposit bitfields (2012-07-07 09:07:01 +) are available in the git repository at: git://git.kiszka.org/qemu.git queues/slirp

Re: [Qemu-devel] [PULL v2 00/13] Migration tree

2012-07-09 Thread Anthony Liguori
On 06/29/2012 07:06 AM, Juan Quintela wrote: Hi v2: - Change Migration params from int to bool (Orit) - Change %ld to %PRIu64 (Blue found it) - cc Anthony O:-) Atacched the interdiff, it is trivial, instead of repost all patches (changes are really trivial). Anthony, please pull. Pulled. Th

Re: [Qemu-devel] [Bug 1022331] Re: -cpu ? causes confusion when directory has 1-character length filenames

2012-07-09 Thread Stefan Weil
Am 09.07.2012 10:27, schrieb Daniel Berrange: On Sun, Jul 08, 2012 at 11:45:34PM +0100, Peter Maydell wrote: On 8 July 2012 20:44, Michael Tokarev<1022...@bugs.launchpad.net> wrote: Please take this to your shell. The queston mark is a metacharacter for any *nix shell, you should just quote o

Re: [Qemu-devel] [PULL] iov* function rework (one more time)

2012-07-09 Thread Michael Tokarev
Ping? Another month has passed without any reply... Thanks, /mjt On 11.06.2012 23:19, Michael Tokarev wrote: > On 11.06.2012 22:31, Anthony Liguori wrote: > [] >> Doesn't build: >> >> LINK qemu-ga >> cutils.o: In function `qemu_iovec_to_buf': >> /home/anthony/git/qemu/cutils.c:226: undefined

Re: [Qemu-devel] [PATCH] place qemu-sockets.c contributions since 2012-01-13 under GPLv2+

2012-07-09 Thread Stefan Weil
Am 09.07.2012 11:08, schrieb Paolo Bonzini: Past contributions since 2012-01-13 were only made by Red Hat people, so they are already available under GPLv2+. Signed-off-by: Paolo Bonzini --- qemu-sockets.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/qemu-sockets.c b/qemu-sockets

Re: [Qemu-devel] [PATCH 23/25] fdc: Move floppy geometry guessing back from block.c

2012-07-09 Thread Anthony Liguori
On 07/09/2012 11:46 AM, Eric Blake wrote: On 07/09/2012 10:07 AM, Markus Armbruster wrote: This is an unconditional use of fd_type[0]. If floppy == NULL, this is dereferencing an uninitialized value. I'm not sure why the explicit initialization was removed... Brain fart on my part, sorry.

Re: [Qemu-devel] [PULL 0/3] Trivial patches for June 22 to 2 July 2012

2012-07-09 Thread Anthony Liguori
On 07/02/2012 04:36 AM, Stefan Hajnoczi wrote: I will be away from 3 - 11 July. Here is the current trivial-patches queue. Pulled. Thanks. Regards, Anthony Liguoriggg The following changes since commit 71ea2e016131a9fcde6f1ffd3e0e34a64c21f593: bsd-user: fix build (2012-06-28 20:28:36

Re: [Qemu-devel] [PATCH] Replace 'struct siginfo' with 'siginfo_t'.

2012-07-09 Thread Peter Maydell
On 9 July 2012 17:50, Richard W.M. Jones wrote: > On Thu, Jul 05, 2012 at 02:32:44PM +0100, Richard W.M. Jones wrote: >> From: "Richard W.M. Jones" >> >> glibc 2.16 will remove the undocumented definition of 'struct siginfo' >> from . >> >> This change is already present in glibc 2.15.90, so qemu

Re: [Qemu-devel] [PATCH] Replace 'struct siginfo' with 'siginfo_t'.

2012-07-09 Thread Richard W.M. Jones
On Thu, Jul 05, 2012 at 02:32:44PM +0100, Richard W.M. Jones wrote: > From: "Richard W.M. Jones" > > glibc 2.16 will remove the undocumented definition of 'struct siginfo' > from . > > This change is already present in glibc 2.15.90, so qemu compilation > of certain targets (eg. cris-user) break

Re: [Qemu-devel] [PULL 00/25] Block patches

2012-07-09 Thread Anthony Liguori
On 07/09/2012 09:16 AM, Kevin Wolf wrote: The following changes since commit 84988cf910a6881f2180fdcec516b60f8f0dc8c4: bitops.h: Add functions to extract and deposit bitfields (2012-07-07 09:07:01 +) are available in the git repository at: git://repo.or.cz/qemu/kevin.git for-anthony

Re: [Qemu-devel] [PULL 0/9] usb patch queue

2012-07-09 Thread Anthony Liguori
On 07/09/2012 05:20 AM, Gerd Hoffmann wrote: Hi, Here comes the most recent usb patch queue, featuring a collection of little bug fixes all over the place. See individual patches for details. Pulled. Thanks. Regards, Anthony Liguori please pull, Gerd The following changes since co

Re: [Qemu-devel] [PULL 00/14] SCSI updates for 2012-07-02

2012-07-09 Thread Anthony Liguori
On 07/02/2012 04:41 AM, Paolo Bonzini wrote: Anthony, The following changes since commit 71ea2e016131a9fcde6f1ffd3e0e34a64c21f593: bsd-user: fix build (2012-06-28 20:28:36 +) Pulled. Thanks. Regards, Anthony Liguori are available in the git repository at: git://github.com/bon

Re: [Qemu-devel] [PATCH 23/25] fdc: Move floppy geometry guessing back from block.c

2012-07-09 Thread Eric Blake
On 07/09/2012 10:07 AM, Markus Armbruster wrote: >>> This is an unconditional use of fd_type[0]. If floppy == NULL, this is >>> dereferencing an uninitialized value. >>> >>> I'm not sure why the explicit initialization was removed... > > Brain fart on my part, sorry. The old loop assigns only

Re: [Qemu-devel] [PATCH] PPC: e500: reconditionalize on CONFIG_FDT

2012-07-09 Thread Alexander Graf
On 09.07.2012, at 16:04, Scott Wood wrote: > Recent patches "PPC: e500: rename mpc8544ds into generic file", "PPC: > e500: split mpc8544ds machine from generic e500 code", and "PPC: e500: > add generic e500 platform" moved certain e500-related files to the bottom > of the makefile because they're

Re: [Qemu-devel] [PATCH v4 0/7] file descriptor passing using pass-fd

2012-07-09 Thread Luiz Capitulino
On Mon, 09 Jul 2012 17:46:00 +0200 Kevin Wolf wrote: > Am 09.07.2012 17:05, schrieb Corey Bryant: > > I'm not sure this is an issue with current design. I know things have > > changed a bit as the email threads evolved, so I'll paste the current > > design that I am working from. Please let m

[Qemu-devel] [PATCH 06/25] sheepdog: use coroutine based socket functions in coroutine context

2012-07-09 Thread Kevin Wolf
From: MORITA Kazutaka This removes blocking network I/Os in coroutine context. Signed-off-by: MORITA Kazutaka Signed-off-by: Kevin Wolf --- block/sheepdog.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/block/sheepdog.c b/block/sheepdog.c index 0b49c6d..5dc

[Qemu-devel] [PATCH 16/25] block: copy over job and dirty bitmap fields in bdrv_append

2012-07-09 Thread Kevin Wolf
From: Paolo Bonzini While these should not be in use at the time a transaction is started, a command in the prepare phase of a transaction might have added them, so they need to be brought over. Signed-off-by: Paolo Bonzini Signed-off-by: Kevin Wolf --- block.c | 15 +++ 1 files

Re: [Qemu-devel] [PATCH 23/25] fdc: Move floppy geometry guessing back from block.c

2012-07-09 Thread Markus Armbruster
Kevin Wolf writes: > Am 09.07.2012 17:01, schrieb Anthony Liguori: >> On 07/09/2012 09:16 AM, Kevin Wolf wrote: >>> From: Markus Armbruster >>> >>> Commit 5bbdbb46 moved it to block.c because "other geometry guessing >>> functions already reside in block.c". Device-specific functionality >>> sho

[Qemu-devel] [PATCH 13/25] blkdebug: store list of active rules

2012-07-09 Thread Kevin Wolf
From: Paolo Bonzini This prepares for the next patch, where some active rules may actually not trigger depending on input to readv/writev. Store the active rules in a SIMPLEQ (so that it can be emptied easily with QSIMPLEQ_INIT), and fetch the errno/once/immediately arguments from there. Signed

[Qemu-devel] [PATCH 09/25] sheepdog: traverse pending_list from the first for each time

2012-07-09 Thread Kevin Wolf
From: MORITA Kazutaka The pending list can be modified in other coroutine context sd_co_rw_vector, so we need to traverse the list from the first again after we send the pending request. Signed-off-by: MORITA Kazutaka Signed-off-by: Kevin Wolf --- block/sheepdog.c | 22 -

[Qemu-devel] [PATCH 22/25] fdc: Drop broken code for user-defined floppy geometry

2012-07-09 Thread Kevin Wolf
From: Markus Armbruster bdrv_get_floppy_geometry_hint() fails to store through its parameter drive when bs has a geometry hint. Makes fd_revalidate() assign random crap to drv->drive. Has been broken that way for ages. Harmless, because: * The only way to set a geometry hint is -drive if=none

[Qemu-devel] [PATCH 01/25] qcow2: fix #ifdef'd qcow2_check_refcounts() callers

2012-07-09 Thread Kevin Wolf
From: Stefan Hajnoczi The DEBUG_ALLOC qcow2.h macro enables additional consistency checks throughout the code. This makes it easier to spot corruptions that are introduced during development. Since consistency check is an expensive operation the DEBUG_ALLOC macro is used to compile checks out i

[Qemu-devel] [PATCH 21/25] fdc_test: introduce test_sense_interrupt

2012-07-09 Thread Kevin Wolf
From: Pavel Hrdina Calling sense interrupt status while there is no interrupt should return invalid command (0x80). Read command should always returns in st0 seek_end bit set to 1. Signed-off-by: Pavel Hrdina Signed-off-by: Kevin Wolf --- tests/fdc-test.c | 25 - 1

Re: [Qemu-devel] [PATCH v4 0/7] file descriptor passing using pass-fd

2012-07-09 Thread Kevin Wolf
Am 09.07.2012 17:05, schrieb Corey Bryant: > I'm not sure this is an issue with current design. I know things have > changed a bit as the email threads evolved, so I'll paste the current > design that I am working from. Please let me know if you still see any > issues. > > FD passing: > -

[Qemu-devel] [PATCH 02/25] qcow2: preserve free_byte_offset when qcow2_alloc_bytes() fails

2012-07-09 Thread Kevin Wolf
From: Stefan Hajnoczi When qcow2_alloc_clusters() error handling code was introduced in commit 5d757b563d59142ca81e1073a8e8396750a0ad1a, the value of free_byte_offset was clobbered in the error case. This patch keeps free_byte_offset at 0 so we will try to allocate clusters again next time this

Re: [Qemu-devel] [PATCH 23/25] fdc: Move floppy geometry guessing back from block.c

2012-07-09 Thread Anthony Liguori
On 07/09/2012 10:24 AM, Kevin Wolf wrote: Am 09.07.2012 17:01, schrieb Anthony Liguori: On 07/09/2012 09:16 AM, Kevin Wolf wrote: From: Markus Armbruster Commit 5bbdbb46 moved it to block.c because "other geometry guessing functions already reside in block.c". Device-specific functionality sh

[Qemu-devel] [PATCH 25/25] block: Factor bdrv_read_unthrottled() out of guess_disk_lchs()

2012-07-09 Thread Kevin Wolf
From: Markus Armbruster To prepare move of guess_disk_lchs() into hw/, where it poking BlockDriverState member io_limits_enabled directly would be unclean. Signed-off-by: Markus Armbruster Signed-off-by: Kevin Wolf --- block.c | 24 +--- block.h |2 ++ 2 files change

[Qemu-devel] [PATCH 0/4] [PULL] slirp: smb fixes and cmd: target for guestfwd

2012-07-09 Thread Jan Kiszka
The following changes since commit 84988cf910a6881f2180fdcec516b60f8f0dc8c4: bitops.h: Add functions to extract and deposit bitfields (2012-07-07 09:07:01 +) are available in the git repository at: git://git.kiszka.org/qemu.git queues/slirp Alexander Graf (1): slirp: add 'cmd:' ta

[Qemu-devel] [PATCH 1/4] slirp: Enforce host-side user of smb share

2012-07-09 Thread Jan Kiszka
Windows 7 (and possibly other versions) cannot connect to the samba share if the exported host directory is not world-readable. This can be resolved by forcing the username used for access checks to the one under which QEMU and smbd are running. Signed-off-by: Jan Kiszka --- net/slirp.c | 14 +

[Qemu-devel] [PATCH 2/4] slirp: add 'cmd:' target for guestfwd

2012-07-09 Thread Jan Kiszka
From: Alexander Graf When using guestfwd=, Qemu only connects the virtual server's TCP port to a single chardev. This is useless in most cases, as we usually want to have more than a single connection from the guest to the outside world. This patch adds a new cmd: target to guestfwd= that allows

[Qemu-devel] [PATCH 3/4] slirp: Ensure smbd and shared directory exist when enable smb

2012-07-09 Thread Jan Kiszka
From: Dunrong Huang Users may pass the following parameters to qemu: $ qemu-kvm -net nic -net user,smb= ... $ qemu-kvm -net nic -net user,smb ... $ qemu-kvm -net nic -net user,smb=bad_directory ... In these cases, qemu started successfully while samba server failed to start. Users wi

[Qemu-devel] [PATCH 4/4] slirp: Improve error reporting of inaccessible smb directories

2012-07-09 Thread Jan Kiszka
Instead of guessing, print the error code returned by access. Signed-off-by: Jan Kiszka --- net/slirp.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/slirp.c b/net/slirp.c index eb80889..b82eab0 100644 --- a/net/slirp.c +++ b/net/slirp.c @@ -504,8 +504,8 @@ stat

[Qemu-devel] [PATCH 11/25] blkdebug: tiny cleanup

2012-07-09 Thread Kevin Wolf
From: Paolo Bonzini Signed-off-by: Paolo Bonzini Signed-off-by: Kevin Wolf --- block/blkdebug.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/block/blkdebug.c b/block/blkdebug.c index 1eff940..1f79ef2 100644 --- a/block/blkdebug.c +++ b/block/blkdebug.c @@ -36

[Qemu-devel] [PATCH 10/25] blkdebug: remove sync i/o events

2012-07-09 Thread Kevin Wolf
From: Paolo Bonzini These are unused, except (by mistake more or less) in QED. Signed-off-by: Paolo Bonzini Signed-off-by: Kevin Wolf --- block.h |2 -- block/blkdebug.c |2 -- block/qed.c |2 +- 3 files changed, 1 insertions(+), 5 deletions(-) diff --git a/block.h

Re: [Qemu-devel] [PATCH v4 0/7] file descriptor passing using pass-fd

2012-07-09 Thread Kevin Wolf
Am 09.07.2012 17:23, schrieb Corey Bryant: >>> I think it would cause fds to sit on the monitor >>> until refcount gets to zero (monitor disconnects). Here's an example >>> without the in-use flag: >>> >>> 1. client calls 'add-fd', qemu is now tracking fd=4 in fdset1 with >>> refcount of 1 (increme

Re: [Qemu-devel] [PATCH] PPC: e500: reconditionalize on CONFIG_FDT

2012-07-09 Thread Scott Wood
On 07/09/2012 09:07 AM, Andreas Färber wrote: > Am 09.07.2012 16:04, schrieb Scott Wood: >> Recent patches "PPC: e500: rename mpc8544ds into generic file", "PPC: >> e500: split mpc8544ds machine from generic e500 code", and "PPC: e500: >> add generic e500 platform" moved certain e500-related files

[Qemu-devel] [PATCH 14/25] blkdebug: optionally tie errors to a specific sector

2012-07-09 Thread Kevin Wolf
From: Paolo Bonzini This makes blkdebug scripts more powerful, and independent of the exact sequence of operations performed by streaming. Signed-off-by: Paolo Bonzini Signed-off-by: Kevin Wolf --- block/blkdebug.c | 26 -- 1 files changed, 24 insertions(+), 2 deleti

Re: [Qemu-devel] [PATCH v4 0/7] file descriptor passing using pass-fd

2012-07-09 Thread Corey Bryant
On 07/09/2012 10:04 AM, Kevin Wolf wrote: Am 06.07.2012 19:40, schrieb Corey Bryant: On 07/06/2012 05:11 AM, Kevin Wolf wrote: Am 05.07.2012 19:00, schrieb Eric Blake: On 07/05/2012 10:35 AM, Corey Bryant wrote: 1. client calls 'add-fd', qemu is now tracking fd=4 in fdset1 with refcount o

Re: [Qemu-devel] [PATCH 23/25] fdc: Move floppy geometry guessing back from block.c

2012-07-09 Thread Kevin Wolf
Am 09.07.2012 17:01, schrieb Anthony Liguori: > On 07/09/2012 09:16 AM, Kevin Wolf wrote: >> From: Markus Armbruster >> >> Commit 5bbdbb46 moved it to block.c because "other geometry guessing >> functions already reside in block.c". Device-specific functionality >> should be kept in device code, n

[Qemu-devel] [PATCH 03/25] blockdev: warn when copy_on_read=on and readonly=on

2012-07-09 Thread Kevin Wolf
From: Stefan Hajnoczi If the image is read-only then it's not possible to copy read data into it. Therefore copy-on-read is automatically disabled for read-only images. Up until now this behavior was silent, add a warning so the user knows why copy-on-read is not working. Signed-off-by: Stefan

  1   2   3   >