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

2012-07-09 Thread Orit Wasserman
Signed-off-by: Benoit Hudzia benoit.hud...@sap.com Signed-off-by: Petter Svard pett...@cs.umu.se Signed-off-by: Aidan Shribman aidan.shrib...@sap.com Signed-off-by: Orit Wasserman owass...@redhat.com --- arch_init.c | 66 ++ hmp.c

[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

[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 s...@weilnetz.de --- 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 @@

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

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 h...@lst.de --- block/sheepdog.c | 37 ++--- 1 file changed, 18 insertions(+), 19 deletions(-)

[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 benoit.hud...@sap.com Signed-off-by: Petter Svard pett...@cs.umu.se Signed-off-by: Aidan Shribman aidan.shrib...@sap.com

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 aligu...@us.ibm.com 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

[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

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

2012-07-09 Thread Orit Wasserman
Signed-off-by: Orit Wasserman owass...@redhat.com --- 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

[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

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

2012-07-09 Thread minyard
From: Corey Minyard cminy...@mvista.com 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

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

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

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

2012-07-09 Thread minyard
From: Corey Minyard cminy...@mvista.com 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 cminy...@mvista.com ---

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

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

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

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

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

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

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

2012-07-09 Thread minyard
From: Corey Minyard cminy...@mvista.com 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 cminy...@mvista.com --- hw/pc.c | 22

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

2012-07-09 Thread minyard
From: Corey Minyard cminy...@mvista.com 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 cminy...@mvista.com --- default-configs/i386-softmmu.mak |1 +

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

2012-07-09 Thread minyard
From: Corey Minyard cminy...@mvista.com 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 cminy...@mvista.com ---

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

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 normal monitor,

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 catal...@google.com 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

[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] [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

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 benoit.hud...@sap.com Signed-off-by: Petter Svard pett...@cs.umu.se Signed-off-by:

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 catal...@google.com 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

[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] [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? :)

[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.

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.

[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

[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

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 default is

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 benoit.hud...@sap.com Signed-off-by:

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

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

2012-07-09 Thread Stefan Weil
Cc: Hannes Reinecke h...@suse.de Signed-off-by: Stefan Weil s...@weilnetz.de --- 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

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

[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

[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 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

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 71ea2e016131a9fcde6f1ffd3e0e34a64c21f593: bsd-user:

<    1   2   3