Re: [Qemu-devel] [PATCH][RFC 0/14] implement power chip

2013-03-18 Thread li guang
ping ... 在 2013-03-15五的 08:59 +0800,li guang写道: Hi, Anthony Sorry to bother you, can you please help to see it this work is worth to go on, or ... or someone else can help to see this patch-set. Thanks All. 在 2013-03-13三的 16:01 +0800,liguang写道: By now, all devices of QEMU do

[Qemu-devel] [PATCH] sheepdog: show error message for halt status

2013-03-18 Thread Liu Yuan
From: Liu Yuan tailai...@taobao.com Sheepdog (neither quorum nor unsafe mode) will refuse to serve IO requests when number of alive nodes is less than that of copies specified by users. This will return 0x19 to QEMU client which currently doesn't recognize it. This patch adds an error

[Qemu-devel] [PATCH] HLFS driver for QEMU

2013-03-18 Thread harryxiyou
From: Harry Wei harryxi...@gmail.com HLFS is HDFS-based(Hadoop Distributed File System) Log-Structured File System. Actually, HLFS, currently, is not a FS but a block-storage system, which we simplify LFS to fit block-level storage. So you could also call HLFS as HLBS (HDFS-based Log-Structured

Re: [Qemu-devel] [RFC] qmp interface for save vmstate to image

2013-03-18 Thread Wenchao Xia
于 2013-3-15 22:51, Stefan Hajnoczi 写道: On Fri, Mar 15, 2013 at 03:24:38PM +0800, Wenchao Xia wrote: I'd like to add a new way to save vmstate, which will based on the migration thread, but will write contents to block images, instead of fd as stream. Following is the method to add API:

[Qemu-devel] [PATCH] HLFS driver for QEMU

2013-03-18 Thread harryxiyou
From: Harry Wei harryxi...@gmail.com HLFS is HDFS-based(Hadoop Distributed File System) Log-Structured File System. Actually, HLFS, currently, is not a FS but a block-storage system, which we simplify LFS to fit block-level storage. So you could also call HLFS as HLBS (HDFS-based Log-Structured

Re: [Qemu-devel] [PATCH] sheepdog: show error message for halt status

2013-03-18 Thread MORITA Kazutaka
At Mon, 18 Mar 2013 14:27:55 +0800, Liu Yuan wrote: From: Liu Yuan tailai...@taobao.com Sheepdog (neither quorum nor unsafe mode) will refuse to serve IO requests when number of alive nodes is less than that of copies specified by users. This will return 0x19 to QEMU client which

[Qemu-devel] [Bug 1155403] Re: virtio cdrom detected as hard disk

2013-03-18 Thread Laszlo Ersek
Consider filing a Debian/Ubuntu bug so that their initramfs / installer / live disk comes with virtio-scsi. See eg. https://bugzilla.redhat.com/show_bug.cgi?id=864012 ** Bug watch added: Red Hat Bugzilla #864012 https://bugzilla.redhat.com/show_bug.cgi?id=864012 -- You received this bug

Re: [Qemu-devel] [PATCH][RFC 02/14] qdev: add power management method

2013-03-18 Thread Andreas Färber
Am 13.03.2013 09:01, schrieb liguang: In fact, every devices have to be aware of it's power management, so it can decide what to do when platform board switch it's power state between on/off/suspend/wakeup. Signed-off-by: liguang lig.f...@cn.fujitsu.com --- hw/qdev-core.h |6 ++

Re: [Qemu-devel] [PATCH][RFC 03/14] qdev: remove redundant abort()

2013-03-18 Thread Andreas Färber
Am 13.03.2013 09:01, schrieb liguang: Signed-off-by: liguang lig.f...@cn.fujitsu.com --- hw/qdev.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c index 689cd54..2bed9d8 100644 --- a/hw/qdev.c +++ b/hw/qdev.c @@ -116,11 +116,10 @@

Re: [Qemu-devel] [PATCH][RFC 04/14] qdev: add power on/off/suspend/wakeup handler

2013-03-18 Thread Andreas Färber
Am 13.03.2013 09:01, schrieb liguang: Signed-off-by: liguang lig.f...@cn.fujitsu.com --- hw/qdev-core.h |9 + hw/qdev.c | 96 2 files changed, 105 insertions(+), 0 deletions(-) diff --git a/hw/qdev-core.h

Re: [Qemu-devel] [PATCH] hw/vexpress: set default block type to SD

2013-03-18 Thread Paolo Bonzini
Il 17/03/2013 19:54, Peter Maydell ha scritto: On 17 March 2013 18:51, Paolo Bonzini pbonz...@redhat.com wrote: Il 17/03/2013 01:04, Aurelien Jarno ha scritto: | boot | install build-dep | build lm-sensors |

Re: [Qemu-devel] [PATCH][RFC 0/14] implement power chip

2013-03-18 Thread Andreas Färber
Am 13.03.2013 09:01, schrieb liguang: Li Guang (14) gitignore: ignore more files qdev: add power management method qdev: remove redundant abort() qdev: add power on/off/suspend/wakeup handler power: add power chip emulation This patch seems to be missing,

Re: [Qemu-devel] SSD Trim Support- Current State?

2013-03-18 Thread Paolo Bonzini
Il 17/03/2013 21:58, d hee ha scritto: What is the current state of SSD Trim/Discard support for a Qemu/KVM guests? I run a Qemi/ KVM host wtih these kvm guests...they are all Linux os's and use raw images: 1) 20 gig Linux web-server 2) Subsonic music streaming server for my Android phone

Re: [Qemu-devel] [RFC PATCH RDMA support v4: 09/10] check for QMP string and bypass nonblock() calls

2013-03-18 Thread Paolo Bonzini
Il 18/03/2013 04:19, mrhi...@linux.vnet.ibm.com ha scritto: From: Michael R. Hines mrhi...@us.ibm.com Since we're not using TCP anymore, we skip these calls. Also print a little extra text while debugging, like gbps which is helpful to know how the link is being utilized. Signed-off-by:

Re: [Qemu-devel] [RFC PATCH RDMA support v4: 04/10] iterators for getting the RAMBlocks

2013-03-18 Thread Paolo Bonzini
Il 18/03/2013 04:18, mrhi...@linux.vnet.ibm.com ha scritto: From: Michael R. Hines mrhi...@us.ibm.com This introduces: 1. qemu_ram_foreach_block 2. qemu_ram_count_blocks Both used in communicating the RAMBlocks to each side for later memory registration. Signed-off-by: Michael R.

[Qemu-devel] Re: SSD Trim Support- Current State?

2013-03-18 Thread Nicolas Sebrecht
The 17/03/13, d hee wrote: What is the current state of SSD Trim/Discard support  for a Qemu/KVM guests?  I run a Qemi/ KVM host wtih these kvm guests...they are all Linux os's and use raw images: 1) 20 gig Linux web-server 2) Subsonic music streaming server for my Android phone 3)

Re: [Qemu-devel] [RFC PATCH RDMA support v4: 07/10] connection-establishment for RDMA

2013-03-18 Thread Paolo Bonzini
Il 18/03/2013 04:19, mrhi...@linux.vnet.ibm.com ha scritto: From: Michael R. Hines mrhi...@us.ibm.com Signed-off-by: Michael R. Hines mrhi...@us.ibm.com --- migration-rdma.c | 205 ++ 1 file changed, 205 insertions(+) create mode

Re: [Qemu-devel] [PATCH v9 03/10] virtio-blk: don't use pointer for configuration.

2013-03-18 Thread Kevin Wolf
Am 15.03.2013 um 19:48 hat fred.kon...@greensocs.com geschrieben: From: KONRAD Frederic fred.kon...@greensocs.com The configuration field must not be a pointer as it will be used for virtio-blk properties. So *blk is replaced by blk in VirtIOBlock structure. Signed-off-by: KONRAD

Re: [Qemu-devel] [PATCH][RFC 0/14] implement power chip

2013-03-18 Thread li guang
在 2013-03-18一的 09:34 +0100,Andreas Färber写道: Am 13.03.2013 09:01, schrieb liguang: Li Guang (14) gitignore: ignore more files qdev: add power management method qdev: remove redundant abort() qdev: add power on/off/suspend/wakeup handler power: add power chip

Re: [Qemu-devel] [PATCH][RFC 04/14] qdev: add power on/off/suspend/wakeup handler

2013-03-18 Thread li guang
在 2013-03-18一的 09:31 +0100,Andreas Färber写道: Am 13.03.2013 09:01, schrieb liguang: Signed-off-by: liguang lig.f...@cn.fujitsu.com --- hw/qdev-core.h |9 + hw/qdev.c | 96 2 files changed, 105 insertions(+), 0

Re: [Qemu-devel] [PATCH][RFC 02/14] qdev: add power management method

2013-03-18 Thread li guang
Thanks! 在 2013-03-18一的 09:25 +0100,Andreas Färber写道: Am 13.03.2013 09:01, schrieb liguang: In fact, every devices have to be aware of it's power management, so it can decide what to do when platform board switch it's power state between on/off/suspend/wakeup. Signed-off-by: liguang

Re: [Qemu-devel] [RFC] qmp interface for save vmstate to image

2013-03-18 Thread Kevin Wolf
Am 18.03.2013 um 07:40 hat Wenchao Xia geschrieben: 于 2013-3-15 22:51, Stefan Hajnoczi 写道: On Fri, Mar 15, 2013 at 03:24:38PM +0800, Wenchao Xia wrote: I'd like to add a new way to save vmstate, which will based on the migration thread, but will write contents to block images, instead

Re: [Qemu-devel] [RFC PATCH RDMA support v4: 08/10] introduce QEMUFileRDMA

2013-03-18 Thread Paolo Bonzini
Il 18/03/2013 04:19, mrhi...@linux.vnet.ibm.com ha scritto: From: Michael R. Hines mrhi...@us.ibm.com This compiles with and without --enable-rdma. Signed-off-by: Michael R. Hines mrhi...@us.ibm.com --- include/migration/qemu-file.h | 10 +++ savevm.c | 172

[Qemu-devel] [PATCH][RFC 05/14] power: add power chip emulation

2013-03-18 Thread liguang
this power chip manage on/off/wakeup/suspend power state transition, when state changed, it will trigger all callbacks embedded in all device object. This just like power action in real world. Signed-off-by: liguang lig.f...@cn.fujitsu.com --- Makefile.objs |1 + power.c | 133

[Qemu-devel] [Bug 1155403] Re: virtio cdrom detected as hard disk

2013-03-18 Thread Paolo Bonzini
It seems the installer does not consider virtio devices when doing its search. That's another bug in the installer then. it seems a bit wasteful to go through a layer of scsi emulation. Indeed treating the virtio disk similarly to installation from a USB stick is better, but SCSI emulation is

Re: [Qemu-devel] slow virtio network with vhost=on and multiple cores

2013-03-18 Thread Alexandre DERUMIER
Hello, about this bug, Last Proxmox distrib use 2.6.32 rhel 6.3 kernel + qemu 1.4 , and have this problem with guest with 2.6.32 kernel. do you think that +x2apic in guest cpu could help ? (I think it's enable by default in RHEV/OVIRT ? but not in proxmox) - Mail original - De:

Re: [Qemu-devel] slow virtio network with vhost=on and multiple cores

2013-03-18 Thread Michael S. Tsirkin
Do you see all interrupts going to the same CPU? If yes is irqbalance in guest running? On Mon, Mar 18, 2013 at 10:50:19AM +0100, Alexandre DERUMIER wrote: Hello, about this bug, Last Proxmox distrib use 2.6.32 rhel 6.3 kernel + qemu 1.4 , and have this problem with guest with 2.6.32

Re: [Qemu-devel] [Bug 1155403] Re: virtio cdrom detected as hard disk

2013-03-18 Thread Markus Armbruster
Phillip Susi ps...@ubuntu.com writes: It seems the installer does not consider virtio devices when doing its search. It also seems the installer does not have the virtio-scsi module, and it seems a bit wasteful to go through a layer of scsi emulation. virtio-scsi performs just fine.

Re: [Qemu-devel] [PATCH] pvevent: pvevent device driver

2013-03-18 Thread Paolo Bonzini
Il 15/03/2013 20:35, Matthew Garrett ha scritto: On Thu, 2013-03-14 at 16:51 +0800, Hu Tao wrote: +{ MSFT0001, 0}, This seems wrong, and it looks like qemu agrees. Can you resubmit when there's agreement on the name? +acpi_evaluate_object(handle, WRPT, arg_list, NULL); Is

Re: [Qemu-devel] [PATCH v8 05/24] hw/arm: add FTDDRII030 DDRII controller support

2013-03-18 Thread Kuo-Jung Su
2013/3/18 Peter Crosthwaite peter.crosthwa...@xilinx.com: On Mon, Mar 18, 2013 at 11:12 AM, Kuo-Jung Su dant...@gmail.com wrote: 2013/3/16 Peter Crosthwaite peter.crosthwa...@xilinx.com: Hi Kuo-Jung, On Fri, Mar 15, 2013 at 11:13 PM, Kuo-Jung Su dant...@gmail.com wrote: From: Kuo-Jung Su

Re: [Qemu-devel] [PATCH 0/4] Fix JSON string formatter

2013-03-18 Thread Markus Armbruster
Blue Swirl blauwir...@gmail.com writes: On Thu, Mar 14, 2013 at 5:49 PM, Markus Armbruster arm...@redhat.com wrote: This should unbreak make check on machines where char is unsigned. Blue, please give it a whirl. With the patches applied there are no errors, thanks. Tested-by: Blue Swirl

Re: [Qemu-devel] [PATCH V2 07/10] snapshot: qmp use new internal API for external snapshot transaction

2013-03-18 Thread Wenchao Xia
于 2013-3-14 16:22, Kevin Wolf 写道: Am 14.03.2013 um 06:08 hat Wenchao Xia geschrieben: 于 2013-3-13 18:18, Kevin Wolf 写道: Am 12.03.2013 um 09:30 hat Wenchao Xia geschrieben: I redesigned the structure, Following is the fake code: typedef struct BdrvActionOps { /* check the request's

Re: [Qemu-devel] [PATCH v3 0/2] bridge helper: includedir conf arg

2013-03-18 Thread Stefan Hajnoczi
On Sun, Mar 17, 2013 at 11:17:19PM -0500, Doug Goldstein wrote: The goal is to support an 'includedir' to include all files within a directory specified in the bridge.conf file. The rationale is to allow libvirt to be able to configure interfaces to for use by unprivileged users by just simply

Re: [Qemu-devel] [RFC] qmp interface for save vmstate to image

2013-03-18 Thread Stefan Hajnoczi
On Mon, Mar 18, 2013 at 02:40:50PM +0800, Wenchao Xia wrote: 于 2013-3-15 22:51, Stefan Hajnoczi 写道: On Fri, Mar 15, 2013 at 03:24:38PM +0800, Wenchao Xia wrote: I'd like to add a new way to save vmstate, which will based on the migration thread, but will write contents to block images,

Re: [Qemu-devel] [RFC] qmp interface for save vmstate to image

2013-03-18 Thread Paolo Bonzini
Il 18/03/2013 10:04, Kevin Wolf ha scritto: Oh, seems I misread this then. I thought this was about internal live snapshots, which is a feature that I consider really useful. I'm not so sure if saving the VM state as the disk contents of a qcow2 image is really helpful. If zero clusters

Re: [Qemu-devel] [PATCH v8 05/24] hw/arm: add FTDDRII030 DDRII controller support

2013-03-18 Thread Peter Maydell
On 18 March 2013 09:56, Kuo-Jung Su dant...@gmail.com wrote: The FTDDRII030 is responsible for SDRAM initialization. Which means the DDRII SDRAM would not be stabilized until the SDRAM is correctly initialized. = In QEMU, the memory_region_add_subregion() is used to perform this emulation.

Re: [Qemu-devel] [PATCH V9 00/14] qmp/hmp interfaces for internal snapshot info

2013-03-18 Thread Wenchao Xia
于 2013-3-15 16:07, Kevin Wolf 写道: Am 15.03.2013 um 07:07 hat Wenchao Xia geschrieben: 于 2013-3-13 20:40, Stefan Hajnoczi 写道: The same applies for VMDK where one .vmdk can reference multiple extent files. I'd like to confirm: This means a block device can have multiple images at top level,

Re: [Qemu-devel] [RFC PATCH RDMA support v4: 03/10] more verbose documentation of the RDMA transport

2013-03-18 Thread Michael S. Tsirkin
On Sun, Mar 17, 2013 at 11:18:56PM -0400, mrhi...@linux.vnet.ibm.com wrote: From: Michael R. Hines mrhi...@us.ibm.com This tries to cover all the questions I got the last time. Please do tell me what is not clear, and I'll revise again. Signed-off-by: Michael R. Hines mrhi...@us.ibm.com

Re: [Qemu-devel] [RFC] qmp interface for save vmstate to image

2013-03-18 Thread Wenchao Xia
于 2013-3-18 17:04, Kevin Wolf 写道: Am 18.03.2013 um 07:40 hat Wenchao Xia geschrieben: 于 2013-3-15 22:51, Stefan Hajnoczi 写道: On Fri, Mar 15, 2013 at 03:24:38PM +0800, Wenchao Xia wrote: I'd like to add a new way to save vmstate, which will based on the migration thread, but will write

Re: [Qemu-devel] [RFC] qmp interface for save vmstate to image

2013-03-18 Thread Wenchao Xia
于 2013-3-18 18:08, Paolo Bonzini 写道: Il 18/03/2013 10:04, Kevin Wolf ha scritto: Oh, seems I misread this then. I thought this was about internal live snapshots, which is a feature that I consider really useful. I'm not so sure if saving the VM state as the disk contents of a qcow2 image is

Re: [Qemu-devel] [PATCH 3/5] pseries: Fixes and enhancements to L1 cache properties

2013-03-18 Thread Andreas Färber
Am 15.03.2013 13:27, schrieb Alexander Graf: On 14.03.2013, at 02:53, David Gibson wrote: PAPR requires that the device tree's CPU nodes have several properties with information about the L1 cache. We already create two of these properties, but with incorrect names - [id]cache-block-size

Re: [Qemu-devel] [PATCH 3/5] pseries: Fixes and enhancements to L1 cache properties

2013-03-18 Thread Alexander Graf
On 18.03.2013, at 11:54, Andreas Färber wrote: Am 15.03.2013 13:27, schrieb Alexander Graf: On 14.03.2013, at 02:53, David Gibson wrote: PAPR requires that the device tree's CPU nodes have several properties with information about the L1 cache. We already create two of these

[Qemu-devel] qemu segfault parsing iscsi options

2013-03-18 Thread Peter Lieven
Hi, with recent qemu from git qemu segfaults with the following commandline: x86_64-softmmu/qemu-system-x86_64 -iscsi test qemu-system-x86_64: -iscsi test: There is no option group 'iscsi' Speicherzugriffsfehler (Speicherabzug geschrieben) It seems that there is something missing regarding

Re: [Qemu-devel] [PATCH][RFC 0/14] implement power chip

2013-03-18 Thread Peter Maydell
On 13 March 2013 08:01, liguang lig.f...@cn.fujitsu.com wrote: By now, all devices of QEMU do not have much more power management consideration, for example, if system do suspend, it will call all registered notifiers, this was loosely required, and the code to do power management state

Re: [Qemu-devel] [Qemu-ppc] [PATCH 3/5] pseries: Fixes and enhancements to L1 cache properties

2013-03-18 Thread Andreas Färber
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 16.03.2013 08:10, schrieb David Gibson: On Fri, Mar 15, 2013 at 01:27:09PM +0100, Alexander Graf wrote: On 14.03.2013, at 02:53, David Gibson wrote: PAPR requires that the device tree's CPU nodes have several properties with information about

Re: [Qemu-devel] [PATCH] HLFS driver for QEMU

2013-03-18 Thread Stefan Hajnoczi
On Mon, Mar 18, 2013 at 02:47:44PM +0800, harryxi...@gmail.com wrote: From: Harry Wei harryxi...@gmail.com HLFS is HDFS-based(Hadoop Distributed File System) Log-Structured File System. Actually, HLFS, currently, is not a FS but a block-storage system, which we simplify LFS to fit

[Qemu-devel] [PULL 0/5] ipxe: add efi support

2013-03-18 Thread Gerd Hoffmann
Hi, This pull adds efi support to our nic roms. Patches have been posted here for review: https://lists.nongnu.org/archive/html/qemu-devel/2013-03/msg00344.html As there have been no changes (other than a rebase to master) I'm not posting the patches again. please pull, Gerd The following

[Qemu-devel] KVM call agenda for 2013-03-19

2013-03-18 Thread Juan Quintela
Hi Please send in any agenda topics you are interested in. Later, Juan.

[Qemu-devel] [PULL 00/18] console: data structures overhaul

2013-03-18 Thread Gerd Hoffmann
Hi, This pull sorts the qemu console data structures. Current state is that DisplayState is used pretty much everywhere. Which is bad. With this patch series applied it looks like this instead: DisplaySurface Central framebuffer data structure. ui frontents (gtk, sdl, vnc,

[Qemu-devel] [PATCH 1/2] virtio-ccw: Add missing blk chs properties.

2013-03-18 Thread Cornelia Huck
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/s390x/virtio-ccw.c |1 + 1 file changed, 1 insertion(+) diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c index d4361f6..70aba41 100644 --- a/hw/s390x/virtio-ccw.c +++ b/hw/s390x/virtio-ccw.c @@ -755,6 +755,7 @@ static

[Qemu-devel] [PATCH 2/2] s390-virtio, virtio-ccw: Add config_wce for virtio-blk.

2013-03-18 Thread Cornelia Huck
There's no reason why we wouldn't want to make the cache mode configurable. CC: Alexander Graf ag...@suse.de Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/s390x/s390-virtio-bus.c |1 + hw/s390x/virtio-ccw.c |1 + 2 files changed, 2 insertions(+) diff --git

[Qemu-devel] [PATCH 0/2] virtio-ccw queue as of 03/18/13

2013-03-18 Thread Cornelia Huck
The following patches can be found in my git tree at git://github.com/cohuck/qemu virtio-ccw-upstr Current patches in the virtio-ccw queue deal both with adding some missing properties for virtio-blk. Alex: Could you please ack patch 2 for s390-virtio, or would you prefer to take it through

Re: [Qemu-devel] [PATCH 2/2] s390-virtio, virtio-ccw: Add config_wce for virtio-blk.

2013-03-18 Thread Alexander Graf
On 18.03.2013, at 12:42, Cornelia Huck wrote: There's no reason why we wouldn't want to make the cache mode configurable. CC: Alexander Graf ag...@suse.de Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com Acked-by: Alexander Graf ag...@suse.de Let's hope this whole bug category goes

[Qemu-devel] [PATCH 11/15] console: zap g_width + g_height

2013-03-18 Thread Gerd Hoffmann
We have a surface per QemuConsole now, so there is no need to keep track of the QemuConsole size any more as we can query the surface size directly at any time. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- ui/console.c | 32 +--- 1 file changed, 9

[Qemu-devel] [PATCH 03/15] console: use pixman for fill+blit

2013-03-18 Thread Gerd Hoffmann
Zap homegrown pixel shuffeling code, use pixman calls instead. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- ui/console.c | 65 +- 1 file changed, 10 insertions(+), 55 deletions(-) diff --git a/ui/console.c b/ui/console.c index

[Qemu-devel] [PATCH 00/15] console: overhaul continued.

2013-03-18 Thread Gerd Hoffmann
Hi, Next round of console cleanup patches for review. What is in there? (1) qemu text consoles are rendered using pixman now. (2) Each QemuConsole has its own DisplaySurface now, so we can switch consoles without re-rendering the QemuConsole and update non-active consoles.

[Qemu-devel] [PATCH 07/15] console: displaystate init revamp

2013-03-18 Thread Gerd Hoffmann
We have only one DisplayState, so there is no need for the next linking, rip it. Also consolidate all displaystate initialization into init_displaystate(). This function is called by vl.c after creating the devices (and thus all QemuConsoles) and before initializing DisplayChangeListensers (aka

[Qemu-devel] [PATCH 04/15] console: use pixman for font rendering

2013-03-18 Thread Gerd Hoffmann
Zap homegrown font rendering code, use pixman calls instead. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- ui/console.c | 110 ++ 1 file changed, 11 insertions(+), 99 deletions(-) diff --git a/ui/console.c b/ui/console.c index

[Qemu-devel] [PATCH 02/15] pixman: render vgafont glyphs into pixman images

2013-03-18 Thread Gerd Hoffmann
Add helper functions to create pixman mask images for glyphs and to render these glyphs into a pixman image. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- include/ui/qemu-pixman.h |7 +++ ui/qemu-pixman.c | 43 +++ 2 files changed,

[Qemu-devel] [PATCH 06/15] console: add trace events

2013-03-18 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann kra...@redhat.com --- trace-events |3 +++ ui/console.c |4 2 files changed, 7 insertions(+) diff --git a/trace-events b/trace-events index 406fe5f..c241985 100644 --- a/trace-events +++ b/trace-events @@ -958,6 +958,9 @@ dma_bdrv_cb(void *dbs, int ret)

[Qemu-devel] [PATCH 09/15] console: give each QemuConsole its own DisplaySurface

2013-03-18 Thread Gerd Hoffmann
Go away from the global DisplaySurface, give one to each QemuConsole instead. With this patch applied it is possible to call graphics_hw_* functions with qemu consoles which are not the current foreground console. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- include/ui/console.h |1 -

[Qemu-devel] [PATCH 12/15] console: move gui_update+gui_setup_refresh from vl.c into console.c

2013-03-18 Thread Gerd Hoffmann
Pure code motion, no functional changes. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- include/ui/console.h |2 -- ui/console.c | 50 ++ vl.c | 49 - 3 files

[Qemu-devel] [PATCH 15/15] console: gui timer fixes

2013-03-18 Thread Gerd Hoffmann
Make gui update rate adaption code in gui_update() actually work. Sprinkle in a tracepoint so you can see the code at work. Remove the update rate adaption code in vnc and make vnc simply use the generic bits instead. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- include/ui/console.h |

[Qemu-devel] [PATCH 13/15] console: make DisplayState private to console.c

2013-03-18 Thread Gerd Hoffmann
With gui_* being moved to console.c nobody outside console.c needs access to DisplayState fields any more. Make the struct private. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- include/ui/console.h |8 ui/console.c |8 2 files changed, 8 insertions(+), 8

[Qemu-devel] [PATCH 01/15] pixman: add qemu_pixman_color()

2013-03-18 Thread Gerd Hoffmann
Helper function to map qemu colors (32bit integer + matching PixelFormat) into pixman_color_t. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- include/ui/qemu-pixman.h |2 ++ ui/qemu-pixman.c | 11 +++ 2 files changed, 13 insertions(+) diff --git

[Qemu-devel] [PATCH 05/15] console: switch color_table_rgb to pixman_color_t

2013-03-18 Thread Gerd Hoffmann
Now that all text console rendering uses pixman we can easily switch the color tables to use pixman_color_t directly. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- ui/console.c | 24 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/ui/console.c

[Qemu-devel] [PATCH 10/15] console: simplify screendump

2013-03-18 Thread Gerd Hoffmann
Screendumps are alot simpler as we can update non-active QemuConsoles now. So we only need to update the QemuConsole we want write out, then dump the DisplaySurface content into a ppm file. Done. No console switching needed. No special support code in the gfx card emulation needed. Zap it

[Qemu-devel] [PATCH] qcow2: Fix segfault in qcow2_invalidate_cache

2013-03-18 Thread Kevin Wolf
Need to pass an options QDict to qcow2_open() now. This fixes a segfault on the migration target with qcow2. Signed-off-by: Kevin Wolf kw...@redhat.com --- block/qcow2.c | 12 ++-- block/qcow2.h | 3 +++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/block/qcow2.c

Re: [Qemu-devel] [PATCH 2/8] virtio-console: Remove any pending watches on close

2013-03-18 Thread Amit Shah
On (Thu) 14 Mar 2013 [17:36:51], Hans de Goede wrote: Signed-off-by: Hans de Goede hdego...@redhat.com Acked-by: Amit Shah amit.s...@redhat.com Amit

[Qemu-devel] [PATCH v3] migration: Improve QMP documentation

2013-03-18 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com Reviewed-by: Eric Blake ebl...@redhat.com --- v2: Add Markus suggestions: v3: More Markus suggestions Eric Suggestions and reviewed-by Learn the --- trick for comments for reviewers qmp-commands.hx | 54

Re: [Qemu-devel] Spice / usb-redir chardev flowcontrol patches v2

2013-03-18 Thread Amit Shah
On (Thu) 14 Mar 2013 [17:36:49], Hans de Goede wrote: Here is v2 of the series adding watch support to the spicevmc chardev backend and flowcontrol support to the usb-redir device. It also includes a few virtio-consoled bugfixes which were found during the development of this series. Note

[Qemu-devel] [PATCH 08/15] console: rename vga_hw_*, add QemuConsole param

2013-03-18 Thread Gerd Hoffmann
Add QemuConsole parameter to vga_hw_*, so the interface allows to update non-active consoles (the actual code can't handle this yet, see next patch). Passing NULL is allowed and updates the active console, like the functions do today. While touching all vga_hw_* calls anyway rename that to the

[Qemu-devel] [PATCHv3] QEMU(upstream): Disable xen's use of O_DIRECT by default as it results in crashes.

2013-03-18 Thread Alex Bligh
Due to what is almost certainly a kernel bug, writes with O_DIRECT may continue to reference the page after the write has been marked as completed, particularly in the case of TCP retransmit. In other scenarios, this merely risks data corruption on the write, but with Xen pages from domU are only

Re: [Qemu-devel] [PATCH qom-cpu-next 00/10 v7] target-i386: convert CPU features into properties

2013-03-18 Thread Igor Mammedov
ping

Re: [Qemu-devel] [PATCH qom-cpu-next 00/10 v7] target-i386: convert CPU features into properties

2013-03-18 Thread Andreas Färber
Am 18.03.2013 13:31, schrieb Igor Mammedov: ping Thanks. First day back at work here. :) Cheers, Andreas -- SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

[Qemu-devel] [PULL] virtio,pci,qom

2013-03-18 Thread Michael S. Tsirkin
The following changes since commit b1999e87b4d42305419329cae459e1b43f706d96: Fix TAGS creation (2013-03-15 11:36:49 -0500) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git tags/for_anthony for you to fetch changes up to

Re: [Qemu-devel] [PATCH] qcow2: Fix segfault in qcow2_invalidate_cache

2013-03-18 Thread Paolo Bonzini
Il 18/03/2013 13:10, Kevin Wolf ha scritto: Need to pass an options QDict to qcow2_open() now. This fixes a segfault on the migration target with qcow2. Signed-off-by: Kevin Wolf kw...@redhat.com --- block/qcow2.c | 12 ++-- block/qcow2.h | 3 +++ 2 files changed, 13

Re: [Qemu-devel] [PATCH v6 0/2] qdev: Detect duplicate device properties

2013-03-18 Thread Paolo Bonzini
Il 16/03/2013 17:39, Peter Maydell ha scritto: Detect and abort on duplicate properties in a qdev Property array. This patchset actually dates back to October last year (and got reviewed then, hence Anthony's r-b tags) but it didn't get applied (maybe we were in codefreeze) and I forgot

[Qemu-devel] [PATCH 14/15] console: add GraphicHwOps

2013-03-18 Thread Gerd Hoffmann
Pass a single GraphicHwOps struct pointer to graphic_console_init, instead of a bunch of function pointers. Signed-off-by: Gerd Hoffmann kra...@redhat.com --- hw/arm/musicpal.c|8 ++-- hw/blizzard.c|9 ++--- hw/cirrus_vga.c |8 ++-- hw/exynos4210_fimd.c |

[Qemu-devel] [PATCH] s390-virtio: Add virtio-rng properties.

2013-03-18 Thread Cornelia Huck
Add the same 'max-bytes' and 'period' properties that are supported for virtio-pci and virtio-ccw to make things consistent. Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com --- hw/s390x/s390-virtio-bus.c | 9 + 1 file changed, 9 insertions(+) diff --git

[Qemu-devel] [PATCH] s390-virtio property aligning.

2013-03-18 Thread Cornelia Huck
Hi Alex, one more instance where a virtio driver on s390 missed properties present on other transports. Please consider applying. Cornelia Huck (1): s390-virtio: Add virtio-rng properties. hw/s390x/s390-virtio-bus.c | 9 + 1 file changed, 9 insertions(+) -- 1.7.12.4

Re: [Qemu-devel] qemu segfault parsing iscsi options

2013-03-18 Thread Markus Armbruster
Peter Lieven p...@dlhnet.de writes: Hi, with recent qemu from git qemu segfaults with the following commandline: x86_64-softmmu/qemu-system-x86_64 -iscsi test qemu-system-x86_64: -iscsi test: There is no option group 'iscsi' Speicherzugriffsfehler (Speicherabzug geschrieben) It seems

Re: [Qemu-devel] [PATCH v3] migration: Improve QMP documentation

2013-03-18 Thread Markus Armbruster
Juan Quintela quint...@redhat.com writes: Signed-off-by: Juan Quintela quint...@redhat.com Reviewed-by: Eric Blake ebl...@redhat.com Reviewed-by: Markus Armbruster arm...@redhat.com

Re: [Qemu-devel] [PATCH v9 05/10] virtio-blk-pci: switch to new API.

2013-03-18 Thread Anthony Liguori
fred.kon...@greensocs.com writes: From: KONRAD Frederic fred.kon...@greensocs.com Here the virtio-blk-pci is modified for the new API. The device virtio-blk-pci extends virtio-pci. It creates and connects a virtio-blk during the init. The properties are not changed. Signed-off-by: KONRAD

Re: [Qemu-devel] [PATCHv3] QEMU(upstream): Disable xen's use of O_DIRECT by default as it results in crashes.

2013-03-18 Thread Stefan Hajnoczi
On Mon, Mar 18, 2013 at 12:18:43PM +, Alex Bligh wrote: Due to what is almost certainly a kernel bug, writes with O_DIRECT may continue to reference the page after the write has been marked as completed, particularly in the case of TCP retransmit. In other scenarios, this merely risks

Re: [Qemu-devel] [PATCH V27 1/7] Support for TPM command line options

2013-03-18 Thread Markus Armbruster
Stefan Berger stef...@linux.vnet.ibm.com writes: On 03/15/2013 03:36 AM, Markus Armbruster wrote: I missed this one, because it wasn't cc'ed to QMP maintainers, the subject mentions only command line, not QMP, and even the body talks only about the human monitor command, not QMP. Noticed it

[Qemu-devel] [PATCH 00/26] ccid and libcacard fixes for windows/mingw

2013-03-18 Thread Alon Levy
This series: 1. fixes windows guests to show the ccid device 2. changes libcacard to use glib 3. makes libcacard build under mingw 4. does some cleanups It contains a few patches already posted to the list (the two Jim Meyering patches) which were already acked. I'll make a pull request once

[Qemu-devel] [PATCH 02/26] ccid-card-emul: do not crash if backend is not provided

2013-03-18 Thread Alon Levy
From: Marc-André Lureau marcandre.lur...@gmail.com Program received signal SIGSEGV, Segmentation fault. __strcmp_sse42 () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:164 164 movdqu(%rsi), %xmm2 (gdb) bt at /home/elmarco/320g/src/qemu/hw/ccid-card-emulated.c:477 at

[Qemu-devel] [PATCH 05/26] libcacard: use system config directory for nss db on win32

2013-03-18 Thread Alon Levy
From: Marc-André Lureau marcandre.lur...@gmail.com It's a bit nicer to look for default database under CSIDL_COMMON_APPDATA\pki\nss rather that /etc/pki/nss. Signed-off-by: Marc-André Lureau marcandre.lur...@redhat.com --- libcacard/vcard_emul_nss.c | 18 +- 1 file changed, 17

[Qemu-devel] [PATCH 03/26] ccid: make backend_enum_table static const and adjust users

2013-03-18 Thread Alon Levy
From: Jim Meyering meyer...@redhat.com Signed-off-by: Jim Meyering meyer...@redhat.com --- hw/ccid-card-emulated.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hw/ccid-card-emulated.c b/hw/ccid-card-emulated.c index 210433e..cb9ef10 100644 ---

[Qemu-devel] [PATCH 01/26] libcacard: correct T0 historical bytes size

2013-03-18 Thread Alon Levy
From: Marc-André Lureau marcandre.lur...@gmail.com The VCARD_ATR_PREFIX macro adds a prefix of 6 characters only. pcsc_scan was complaining before the patch: + Historical bytes: 56 43 41 52 44 5F 4E 53 53 ERROR! ATR is truncated: 2 byte(s) is/are missing --- libcacard/vcardt.h | 2 +- 1 file

[Qemu-devel] [PATCH 11/26] libcacard: teach vscclient to use GMainLoop for portability

2013-03-18 Thread Alon Levy
From: Marc-André Lureau marcandre.lur...@gmail.com This version handles non-blocking sending and receiving from the socket. Signed-off-by: Marc-André Lureau marcandre.lur...@redhat.com --- libcacard/vscclient.c | 391 +++--- 1 file changed, 246

[Qemu-devel] [PATCH 16/26] hw/usb/dev-smartcard-reader.c: remove aborts (never triggered, but just in case)

2013-03-18 Thread Alon Levy
From: Alon Levy a...@pobox.com Signed-off-by: Alon Levy al...@redhat.com --- hw/usb/dev-smartcard-reader.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/hw/usb/dev-smartcard-reader.c b/hw/usb/dev-smartcard-reader.c index 4ff0641..8f69a55 100644 ---

[Qemu-devel] [PATCH 04/26] ccid: declare DEFAULT_ATR table to be static const

2013-03-18 Thread Alon Levy
From: Jim Meyering meyer...@redhat.com Signed-off-by: Jim Meyering meyer...@redhat.com --- hw/ccid-card-passthru.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ccid-card-passthru.c b/hw/ccid-card-passthru.c index 984bd0b..3566e55 100644 --- a/hw/ccid-card-passthru.c +++

[Qemu-devel] [PATCH 06/26] util: move socket_init() to osdep.c

2013-03-18 Thread Alon Levy
From: Marc-André Lureau marcandre.lur...@redhat.com vscclient needs to call socket_init() for portability. Moving to osdep.c since it has no internal dependency. Signed-off-by: Marc-André Lureau marcandre.lur...@redhat.com --- util/osdep.c| 23 +++

[Qemu-devel] [PATCH 20/26] hw/usb/dev-smartcard-reader: support windows guest

2013-03-18 Thread Alon Levy
From: Alon Levy a...@pobox.com By not advertising USB wakeup support (which we don't). Signed-off-by: Alon Levy al...@redhat.com --- hw/usb/dev-smartcard-reader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/usb/dev-smartcard-reader.c

[Qemu-devel] [PATCH 08/26] libcacard: fix mingw64 cross-compilation

2013-03-18 Thread Alon Levy
From: Marc-André Lureau marcandre.lur...@gmail.com Compile and link with version.lo Signed-off-by: Marc-André Lureau marcandre.lur...@redhat.com --- Makefile | 8 ++-- rules.mak | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index

[Qemu-devel] [PATCH 07/26] build-sys: must link with -fstack-protector

2013-03-18 Thread Alon Levy
From: Marc-André Lureau marcandre.lur...@gmail.com It is needed to give that flag to the linker as well, but latest libtool 2.4.2 still swallows that argument, so let's pass it with libtool -Wc argument. qemu-1.4.0/stubs/arch-query-cpu-def.c:6: undefined reference to `__stack_chk_guard'

[Qemu-devel] [PATCH 15/26] hw/usb/dev-smartcard-reader.c: nicer debug messages

2013-03-18 Thread Alon Levy
From: Alon Levy a...@pobox.com Signed-off-by: Alon Levy al...@redhat.com --- hw/usb/dev-smartcard-reader.c | 69 +++ 1 file changed, 63 insertions(+), 6 deletions(-) diff --git a/hw/usb/dev-smartcard-reader.c b/hw/usb/dev-smartcard-reader.c index

[Qemu-devel] [PATCH 22/26] libcacard/vreader: add debugging messages for apdu

2013-03-18 Thread Alon Levy
From: Alon Levy a...@pobox.com controllable by environment variable LIBCACARD_DEBUG. Signed-off-by: Alon Levy al...@redhat.com --- libcacard/cac.c | 7 - libcacard/cac.h | 8 + libcacard/vreader.c | 89 + 3 files changed, 97

  1   2   3   >