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

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

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 > --- > hw/qdev-core.h |6 ++ > 1 files change

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 > --- > 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 @@ DeviceState *qdev_cre

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 > --- > hw/qdev-core.h |9 + > hw/qdev.c | 96 > > 2 files changed, 105 insertions(+), 0 deletions(-) > > diff --git a/hw/qdev-core.h b/hw/qdev-core.h > index e

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

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

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" > > 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: Michae

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" > > 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. Hines > --

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

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" > > > Signed-off-by: Michael R. Hines > --- > migration-rdma.c | 205 > ++ > 1 file changed, 205 insertions(+) > create mode 100644 migration-rdma.c >

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 > > 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 Frederic > Reviewed-by: P

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: a

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 > > --- > > hw/qdev-core.h |9 + > > hw/qdev.c | 96 > > > > 2 files changed, 105 insertions(+), 0 deletions(-)

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-

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, in

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" > > This compiles with and without --enable-rdma. > > Signed-off-by: Michael R. Hines > --- > 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 --- 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 i

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: "Mi

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 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. > Shouldn't qemu at

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, NU

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 : > On Mon, Mar 18, 2013 at 11:12 AM, Kuo-Jung Su wrote: >> 2013/3/16 Peter Crosthwaite : >>> Hi Kuo-Jung, >>> >>> On Fri, Mar 15, 2013 at 11:13 PM, Kuo-Jung Su wrote: From: Kuo-Jung Su The FTDDRII030 is a DDRII SDRAM controller which is responsible for

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

2013-03-18 Thread Markus Armbruster
Blue Swirl writes: > On Thu, Mar 14, 2013 at 5:49 PM, Markus Armbruster 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 Thanks! > Though test-corou

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 val

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 sim

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 i

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 cluster

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 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. If you want t

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" > > 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 > --- > docs/rdma.txt | 20

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 cont

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 real

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

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 the

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

2013-03-18 Thread Peter Maydell
On 13 March 2013 08:01, liguang 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 transition seems just do

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 informa

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

[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 --- 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 const TypeInfo virtio_ccw_ne

[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 Signed-off-by: Cornelia Huck --- hw/s390x/s390-virtio-bus.c |1 + hw/s390x/virtio-ccw.c |1 + 2 files changed, 2 insertions(+) diff --git a/hw/s390x/s390-virtio-bus.c b/hw/s390x/s390-vir

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

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 > Signed-off-by: Cornelia Huck Acked-by: Alexander Graf Let's hope this whole bug category goes away with Fred's revamp of virtio :) Alex >

[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 --- ui/console.c | 32 +--- 1 file changed, 9 insertions(+), 23 deletions(-)

[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 --- ui/console.c | 65 +- 1 file changed, 10 insertions(+), 55 deletions(-) diff --git a/ui/console.c b/ui/console.c index eb7a2bc..0ec0911 10064

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

[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 --- ui/console.c | 110 ++ 1 file changed, 11 insertions(+), 99 deletions(-) diff --git a/ui/console.c b/ui/console.c index 0ec0911..4e79268 100644

[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 --- include/ui/qemu-pixman.h |7 +++ ui/qemu-pixman.c | 43 +++ 2 files changed, 50 insertions(+) d

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

2013-03-18 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- 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) "dbs=%p ret=%d" d

[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 --- include/ui/console.h |1 - ui/console.c

[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 --- include/ui/console.h |2 -- ui/console.c | 50 ++ vl.c | 49 - 3 files changed, 50 insertions(

[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 --- include/ui/console.h |9 --- trace-e

[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 --- include/ui/console.h |8 ui/console.c |8 2 files changed, 8 insertions(+), 8 deletions(-) diff

[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 --- include/ui/qemu-pixman.h |2 ++ ui/qemu-pixman.c | 11 +++ 2 files changed, 13 insertions(+) diff --git a/include/ui/qemu-pixman.h b/include/ui/q

[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 --- ui/console.c | 24 1 file changed, 8 insertions(+), 16 deletions(-) diff --git a/ui/console.c b/ui/console.c index 4e

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

[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 --- block/qcow2.c | 12 ++-- block/qcow2.h | 3 +++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/block/qcow2.c b/block/qcow2.c index

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 Acked-by: Amit Shah Amit

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

2013-03-18 Thread Juan Quintela
Signed-off-by: Juan Quintela Reviewed-by: Eric Blake --- v2: Add Markus suggestions: v3: More Markus suggestions Eric Suggestions and reviewed-by Learn the "---" trick for comments for reviewers qmp-commands.hx | 54 -- 1 file changed, 3

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

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

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

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 > --- > block/qcow2.c | 12 ++-- > block/qcow2.h | 3 +++ > 2 files changed, 13 insertions(+), 2 del

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 --- hw/arm/musicpal.c|8 ++-- hw/blizzard.c|9 ++--- hw/cirrus_vga.c |8 ++-- hw/exynos4210_fimd.c |8 ++-- hw

[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 --- hw/s390x/s390-virtio-bus.c | 9 + 1 file changed, 9 insertions(+) diff --git a/hw/s390x/s390-virtio-bus.c b/hw/s390x/s390-virtio-

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

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

2013-03-18 Thread Markus Armbruster
Juan Quintela writes: > Signed-off-by: Juan Quintela > Reviewed-by: Eric Blake Reviewed-by: Markus Armbruster

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 > > 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 Frederic > Reviewed

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 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 only when >> git-pul

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

[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 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 /home/elmarco/320g/src/qemu

[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 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 --- libcacard/vcard_emul_nss.c | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/libcacard/vc

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

2013-03-18 Thread Alon Levy
From: Jim Meyering Signed-off-by: Jim Meyering --- 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 --- a/hw/ccid-card-emulated.c +++ b/hw/ccid-card-emulated.c @@ -46

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

2013-03-18 Thread Alon Levy
From: Marc-André Lureau 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 changed, 1 insertion(+), 1

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

2013-03-18 Thread Alon Levy
From: Marc-André Lureau This version handles non-blocking sending and receiving from the socket. Signed-off-by: Marc-André Lureau --- libcacard/vscclient.c | 391 +++--- 1 file changed, 246 insertions(+), 145 deletions(-) diff --git a/libcacard/vscc

[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 Signed-off-by: Alon Levy --- 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 --- a/hw/usb/dev-smartcard-reader.c ++

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

2013-03-18 Thread Alon Levy
From: Jim Meyering Signed-off-by: Jim Meyering --- 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 +++ b/hw/ccid-card-passthru.c @@ -27,7 +27

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

2013-03-18 Thread Alon Levy
From: Marc-André Lureau vscclient needs to call socket_init() for portability. Moving to osdep.c since it has no internal dependency. Signed-off-by: Marc-André Lureau --- util/osdep.c| 23 +++ util/qemu-sockets.c | 24 2 files changed, 23 in

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

2013-03-18 Thread Alon Levy
From: Alon Levy By not advertising USB wakeup support (which we don't). Signed-off-by: Alon Levy --- hw/usb/dev-smartcard-reader.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/usb/dev-smartcard-reader.c b/hw/usb/dev-smartcard-reader.c index 7b319b1..48bd519 100644

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

2013-03-18 Thread Alon Levy
From: Marc-André Lureau Compile and link with version.lo Signed-off-by: Marc-André Lureau --- Makefile | 8 ++-- rules.mak | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 6915178..10abfee 100644 --- a/Makefile +++ b/Makefile @@ -151,11 +15

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

2013-03-18 Thread Alon Levy
From: Marc-André Lureau 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' Signed-off-by: Marc-André Lureau

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

2013-03-18 Thread Alon Levy
From: Alon Levy Signed-off-by: Alon Levy --- 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 7205613..4ff0641 100644 --- a/hw/usb/de

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

2013-03-18 Thread Alon Levy
From: Alon Levy controllable by environment variable LIBCACARD_DEBUG. Signed-off-by: Alon Levy --- libcacard/cac.c | 7 - libcacard/cac.h | 8 + libcacard/vreader.c | 89 + 3 files changed, 97 insertions(+), 7 deletions(-)

[Qemu-devel] [PATCH 09/26] libcacard: split vscclient main() from socket reading

2013-03-18 Thread Alon Levy
From: Marc-André Lureau --- libcacard/vscclient.c | 314 ++ 1 file changed, 162 insertions(+), 152 deletions(-) diff --git a/libcacard/vscclient.c b/libcacard/vscclient.c index 9b744f2..5e00db3 100644 --- a/libcacard/vscclient.c +++ b/libcacard/vs

[Qemu-devel] [PATCH 10/26] libcacard: vscclient to use QemuThread for portability

2013-03-18 Thread Alon Levy
From: Marc-André Lureau --- libcacard/vscclient.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/libcacard/vscclient.c b/libcacard/vscclient.c index 5e00db3..5f47634 100644 --- a/libcacard/vscclient.c +++ b/libcacard/vscclient.c @@ -218,8 +218,7 @@ on_host_init(VSCM

[Qemu-devel] [PATCH 17/26] hw/usb/dev-smartcard-reader.c: define structs for CCID_Parameter internals

2013-03-18 Thread Alon Levy
From: Alon Levy Signed-off-by: Alon Levy --- hw/usb/dev-smartcard-reader.c | 76 +++ 1 file changed, 48 insertions(+), 28 deletions(-) diff --git a/hw/usb/dev-smartcard-reader.c b/hw/usb/dev-smartcard-reader.c index 8f69a55..6894f36 100644 --- a/hw/usb/d

[Qemu-devel] [PATCH 23/26] libcacard: change default ATR

2013-03-18 Thread Alon Levy
Signed-off-by: Alon Levy --- libcacard/vcardt.h | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libcacard/vcardt.h b/libcacard/vcardt.h index 538bdde..3b9a619 100644 --- a/libcacard/vcardt.h +++ b/libcacard/vcardt.h @@ -26,9 +26,17 @@ typedef struct VCardEmulStru

[Qemu-devel] [PATCH 13/26] ccid-card-passthru, dev-smartcard-reader: add debug environment variables

2013-03-18 Thread Alon Levy
From: Alon Levy This overrides whatever debug value is set on the corresponding devices from the command line, and is meant to ease the usage with any management stack. For libvirt you can set environment variables by extending the dom namespace, i.e: Signed-off-by: Alon Levy

  1   2   3   >