Re: [Qemu-devel] [PATCH] qemu: new option for snapshot_blkdev to avoid image creation

2011-10-11 Thread Federico Simoncelli
- Original Message - From: Dor Laor dl...@redhat.com To: Federico Simoncelli fsimo...@redhat.com Cc: qemu-devel@nongnu.org, aba...@redhat.com, Kevin Wolf kw...@redhat.com Sent: Friday, October 7, 2011 12:45:06 AM Subject: Re: [Qemu-devel] [PATCH] qemu: new option for snapshot_blkdev

[Qemu-devel] [PATCH 19/36] migration: Refactor MigrationState creation

2011-10-11 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com Reviewed-by: Anthony Liguori aligu...@us.ibm.com --- migration-exec.c | 16 +--- migration-fd.c | 16 +--- migration-tcp.c | 15 +-- migration-unix.c | 15 +-- migration.c | 29

[Qemu-devel] [PATCH 13/13] simplify main loop functions

2011-10-11 Thread Paolo Bonzini
Provide a clean example of how to use the main loop in the tools. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- cpus.c |5 cpus.h |1 - vl.c | 79 +-- 3 files changed, 41 insertions(+), 44 deletions(-) diff

[Qemu-devel] [PATCH v2 00/13] allow tools to use the QEMU main loop

2011-10-11 Thread Paolo Bonzini
This patch series makes the QEMU main loop usable out of the executable, and especially in tools and possibly unit tests. The series already starts using the refactored main loop in qemu-nbd. This is cleaner because it avoids introducing partial transitions to GIOChannel. Interfacing with the

[Qemu-devel] [PATCH 29/36] migration: create accessor for current_migration

2011-10-11 Thread Juan Quintela
Signed-off-by: Juan Quintela quint...@redhat.com --- migration.c | 116 --- 1 files changed, 55 insertions(+), 61 deletions(-) diff --git a/migration.c b/migration.c index 73d66d9..8422ec3 100644 --- a/migration.c +++ b/migration.c @@

Re: [Qemu-devel] [PATCH] qemu: new option for snapshot_blkdev to avoid image creation

2011-10-11 Thread Dor Laor
On 10/11/2011 01:56 PM, Federico Simoncelli wrote: - Original Message - From: Dor Laordl...@redhat.com To: Federico Simoncellifsimo...@redhat.com Cc: qemu-devel@nongnu.org, aba...@redhat.com, Kevin Wolfkw...@redhat.com Sent: Friday, October 7, 2011 12:45:06 AM Subject: Re: [Qemu-devel]

[Qemu-devel] [PATCH 04/13] qemu-timer: more clock functions

2011-10-11 Thread Paolo Bonzini
These will be used when moving icount accounting to cpus.c. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- qemu-timer.c | 25 + qemu-timer.h |3 +++ 2 files changed, 28 insertions(+), 0 deletions(-) diff --git a/qemu-timer.c b/qemu-timer.c index

[Qemu-devel] [PATCH 09/13] qemu-timer: do not use RunState change handlers

2011-10-11 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- qemu-timer.c | 12 1 files changed, 4 insertions(+), 8 deletions(-) diff --git a/qemu-timer.c b/qemu-timer.c index 58926dd..f11a28d 100644 --- a/qemu-timer.c +++ b/qemu-timer.c @@ -273,7 +273,11 @@ static QEMUClock

[Qemu-devel] [PATCH 20/36] migration: Make all posible migration functions static

2011-10-11 Thread Juan Quintela
I have to move two functions postions to avoid forward declarations Signed-off-by: Juan Quintela quint...@redhat.com --- migration.c | 72 +- migration.h | 12 - 2 files changed, 36 insertions(+), 48 deletions(-) diff --git

[Qemu-devel] [PATCH 02/13] qemu-timer: remove active_timers array

2011-10-11 Thread Paolo Bonzini
Embed the list in the QEMUClock instead. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- qemu-timer.c | 59 +++-- 1 files changed, 28 insertions(+), 31 deletions(-) diff --git a/qemu-timer.c b/qemu-timer.c index ad1fc8b..acf7a15 100644

Re: [Qemu-devel] [Spice-devel] viewing continuous guest virtual memory as continuous in qemu

2011-10-11 Thread Alon Levy
On Tue, Oct 11, 2011 at 01:28:12PM +0200, Gerd Hoffmann wrote: Hi, AFAIU this works only when the guest allocates a continuous range of physical pages. This is a large requirement from the guest, which I'd like to drop. Is it? The world is moving to huge pages, with all the stuff

Re: [Qemu-devel] New option for snapshot_blkdev to avoid image creation

2011-10-11 Thread Kevin Wolf
Am 03.10.2011 18:09, schrieb Federico Simoncelli: In some situations might be useful to let qemu use an image that was prepared for a live snapshot. The advantage is that creating the snapshot file outside of the qemu process we can use the whole range of options provided by the format (eg

[Qemu-devel] [Bug 658152] Re: jp106 keyboard cannot input _ key

2011-10-11 Thread Nozomu
A small patch to qemu-0.15.0/ui/x_keymap.c fixed this one: http://patchwork.ozlabs.org/patch/38145/ nm -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/658152 Title: jp106 keyboard cannot

Re: [Qemu-devel] FYI: Need to a make clean due to recently pushed commit

2011-10-11 Thread Andreas Färber
Am 10.10.2011 16:49, schrieb Anthony Liguori: Due to: commit e3193601c84558c303b1773379da76fce80c0a56 Author: Anthony Liguori aligu...@us.ibm.com Date: Fri Sep 2 12:34:47 2011 -0500 qapi: use middle mode in QMP server It'll be necessary to do a make clean if you have a tree that has a build

Re: [Qemu-devel] KVM call agenda for October 11th

2011-10-11 Thread Anthony Liguori
On 10/11/2011 06:36 AM, Paolo Bonzini wrote: On 10/10/2011 01:35 PM, Juan Quintela wrote: Hi Please send in any agenda items you are interested in covering. Planning the feature freeze: - what is left to merge? - test day? Great topic. Just a reminder, we're looking at release dates

Re: [Qemu-devel] KVM call agenda for October 11th

2011-10-11 Thread Anthony Liguori
On 10/11/2011 06:48 AM, Avi Kivity wrote: On 10/10/2011 01:35 PM, Juan Quintela wrote: Hi Please send in any agenda items you are interested in covering. Subsections, version numbers, migration to older releases. Problem with subsections: The encoding of a subsection within an embedded

Re: [Qemu-devel] Slow kernel/initrd loading via fw_cfg; Was Re: Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-11 Thread Anthony Liguori
On 10/11/2011 04:38 AM, Alexander Graf wrote: On 11.10.2011, at 11:26, Avi Kivity wrote: On 10/11/2011 11:19 AM, Alexander Graf wrote: Of this, 1.4 seconds is the time required by LinuxBoot to copy the kernel+initrd. If I used an uncompressed initrd, which I really want to, to avoid

Re: [Qemu-devel] Slow kernel/initrd loading via fw_cfg; Was Re: Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-11 Thread Alexander Graf
On 11.10.2011, at 15:12, Anthony Liguori wrote: On 10/11/2011 04:38 AM, Alexander Graf wrote: On 11.10.2011, at 11:26, Avi Kivity wrote: On 10/11/2011 11:19 AM, Alexander Graf wrote: Of this, 1.4 seconds is the time required by LinuxBoot to copy the kernel+initrd. If I used an

Re: [Qemu-devel] Slow kernel/initrd loading via fw_cfg; Was Re: Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-11 Thread Anthony Liguori
On 10/11/2011 04:55 AM, Avi Kivity wrote: On 10/11/2011 11:50 AM, Gleb Natapov wrote: On Tue, Oct 11, 2011 at 11:26:14AM +0200, Avi Kivity wrote: rep/ins is exactly like dma+wait for this use case: provide an address, get a memory image in return. There's no need to add another interface, we

Re: [Qemu-devel] Slow kernel/initrd loading via fw_cfg; Was Re: Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-11 Thread Gleb Natapov
On Tue, Oct 11, 2011 at 03:14:52PM +0200, Alexander Graf wrote: rep/ins is effectively equivalent to DMA except in how it's handled within QEMU. No, DMA has a lot bigger granularities in kvm/user interaction. We can easily DMA a 50MB region with a single kvm/user exit. For PIO we can at

Re: [Qemu-devel] Slow kernel/initrd loading via fw_cfg; Was Re: Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-11 Thread Anthony Liguori
On 10/11/2011 08:14 AM, Alexander Graf wrote: And I don't see the point why we would have to shoot yet another hole into the guest just because we're too unwilling to make an interface that's perfectly valid horribly slow. rep/ins is exactly like dma+wait for this use case: provide an

Re: [Qemu-devel] [Spice-devel] viewing continuous guest virtual memory as continuous in qemu

2011-10-11 Thread Gerd Hoffmann
Hi, Another option we can think about is a 64bit PCI bar for the surfaces which can be moved out of the low 4G. I heard this suggested by Avi, so this would allow us to allocate a large chunk without requiring any memory hole? You still need some address space for it, but as it isn't

Re: [Qemu-devel] KVM call agenda for October 11th

2011-10-11 Thread Avi Kivity
On 10/11/2011 03:01 PM, Anthony Liguori wrote: On 10/11/2011 06:48 AM, Avi Kivity wrote: On 10/10/2011 01:35 PM, Juan Quintela wrote: Hi Please send in any agenda items you are interested in covering. Subsections, version numbers, migration to older releases. Problem with subsections:

Re: [Qemu-devel] Slow kernel/initrd loading via fw_cfg; Was Re: Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-11 Thread Gleb Natapov
On Tue, Oct 11, 2011 at 08:17:28AM -0500, Anthony Liguori wrote: On 10/11/2011 04:55 AM, Avi Kivity wrote: On 10/11/2011 11:50 AM, Gleb Natapov wrote: On Tue, Oct 11, 2011 at 11:26:14AM +0200, Avi Kivity wrote: rep/ins is exactly like dma+wait for this use case: provide an address, get a

Re: [Qemu-devel] Slow kernel/initrd loading via fw_cfg; Was Re: Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-11 Thread Avi Kivity
On 10/11/2011 03:19 PM, Anthony Liguori wrote: No, DMA has a lot bigger granularities in kvm/user interaction. We can easily DMA a 50MB region with a single kvm/user exit. For PIO we can at most do page granularity. So make a proper PCI device for kernel loading. It's a much more natural

Re: [Qemu-devel] Slow kernel/initrd loading via fw_cfg; Was Re: Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-11 Thread Gleb Natapov
On Tue, Oct 11, 2011 at 03:23:36PM +0200, Avi Kivity wrote: On 10/11/2011 03:19 PM, Anthony Liguori wrote: No, DMA has a lot bigger granularities in kvm/user interaction. We can easily DMA a 50MB region with a single kvm/user exit. For PIO we can at most do page granularity. So make a

Re: [Qemu-devel] [PULL 00/24] Memory API, batch 11

2011-10-11 Thread Anthony Liguori
On 10/10/2011 09:59 AM, Avi Kivity wrote: Please pull from: git://github.com/avikivity memory/batch This has been on the list for a bit, with no comments so far. CClibhw64/vl.o In file included from /home/anthony/git/qemu/hw/pc.h:5:0, from

Re: [Qemu-devel] KVM call agenda for October 11th

2011-10-11 Thread Anthony Liguori
On 10/11/2011 08:21 AM, Avi Kivity wrote: On 10/11/2011 03:01 PM, Anthony Liguori wrote: On 10/11/2011 06:48 AM, Avi Kivity wrote: On 10/10/2011 01:35 PM, Juan Quintela wrote: Hi Please send in any agenda items you are interested in covering. Subsections, version numbers, migration to

Re: [Qemu-devel] KVM call agenda for October 11th

2011-10-11 Thread Juan Quintela
Avi Kivity a...@redhat.com wrote: On 10/10/2011 01:35 PM, Juan Quintela wrote: Hi Please send in any agenda items you are interested in covering. Subsections, version numbers, migration to older releases. Subsections --- - Current subsections are a mess (TM). The idea was to only

Re: [Qemu-devel] Slow kernel/initrd loading via fw_cfg; Was Re: Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-11 Thread Anthony Liguori
On 10/11/2011 08:23 AM, Avi Kivity wrote: On 10/11/2011 03:19 PM, Anthony Liguori wrote: No, DMA has a lot bigger granularities in kvm/user interaction. We can easily DMA a 50MB region with a single kvm/user exit. For PIO we can at most do page granularity. So make a proper PCI device for

Re: [Qemu-devel] [PATCH 0/3] block: zero write detection

2011-10-11 Thread Kevin Wolf
Am 07.10.2011 17:49, schrieb Stefan Hajnoczi: Image streaming copies data from the backing file into the image file. It is important to represent zero regions from the backing file efficiently during streaming, otherwise the image file grows to the full virtual disk size and loses sparseness.

Re: [Qemu-devel] Slow kernel/initrd loading via fw_cfg; Was Re: Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-11 Thread Avi Kivity
On 10/11/2011 03:29 PM, Anthony Liguori wrote: On 10/11/2011 08:23 AM, Avi Kivity wrote: On 10/11/2011 03:19 PM, Anthony Liguori wrote: No, DMA has a lot bigger granularities in kvm/user interaction. We can easily DMA a 50MB region with a single kvm/user exit. For PIO we can at most do page

Re: [Qemu-devel] KVM call agenda for October 11th

2011-10-11 Thread Avi Kivity
On 10/11/2011 03:27 PM, Anthony Liguori wrote: 5) Implement subsections through the wire as top-level sections (as originally intended). Keep existing subsections with (1). That was (3). Yes, sorry. btw, it's reasonable to require that backwards migration is only to a fully updated

Re: [Qemu-devel] [PULL 00/24] Memory API, batch 11

2011-10-11 Thread Avi Kivity
On 10/11/2011 03:25 PM, Anthony Liguori wrote: On 10/10/2011 09:59 AM, Avi Kivity wrote: Please pull from: git://github.com/avikivity memory/batch This has been on the list for a bit, with no comments so far. CClibhw64/vl.o In file included from

Re: [Qemu-devel] KVM call agenda for October 11th

2011-10-11 Thread Anthony Liguori
On 10/11/2011 08:27 AM, Juan Quintela wrote: Avi Kivitya...@redhat.com wrote: On 10/10/2011 01:35 PM, Juan Quintela wrote: Hi Please send in any agenda items you are interested in covering. Subsections, version numbers, migration to older releases. Subsections --- - Current

Re: [Qemu-devel] KVM call agenda for October 11th

2011-10-11 Thread Anthony Liguori
On 10/11/2011 08:47 AM, Avi Kivity wrote: On 10/11/2011 03:27 PM, Anthony Liguori wrote: 5) Implement subsections through the wire as top-level sections (as originally intended). Keep existing subsections with (1). That was (3). Yes, sorry. btw, it's reasonable to require that

Re: [Qemu-devel] Slow kernel/initrd loading via fw_cfg; Was Re: Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-11 Thread Anthony Liguori
On 10/11/2011 08:45 AM, Avi Kivity wrote: On 10/11/2011 03:29 PM, Anthony Liguori wrote: On 10/11/2011 08:23 AM, Avi Kivity wrote: On 10/11/2011 03:19 PM, Anthony Liguori wrote: No, DMA has a lot bigger granularities in kvm/user interaction. We can easily DMA a 50MB region with a single

Re: [Qemu-devel] [PULL 00/24] Memory API, batch 11

2011-10-11 Thread Avi Kivity
On 10/11/2011 03:51 PM, Avi Kivity wrote: For some reason I'm the only one that doesn't get this... will try to work around it. Please re-pull - I changed the code to use plain structs, not the typedefs. git://github.com/avikivity/qemu.git memory/batch -- error compiling committee.c: too

Re: [Qemu-devel] KVM call agenda for October 11th

2011-10-11 Thread Avi Kivity
On 10/11/2011 03:57 PM, Anthony Liguori wrote: What I'm trying to avoid is making choices today that close the door on better fixes in the future. I think Juan made a really good point in his earlier post. We need to focus on better testing for migration. With a solid migration torture

Re: [Qemu-devel] Slow kernel/initrd loading via fw_cfg; Was Re: Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-11 Thread Daniel P. Berrange
On Tue, Oct 11, 2011 at 08:19:14AM -0500, Anthony Liguori wrote: On 10/11/2011 08:14 AM, Alexander Graf wrote: And I don't see the point why we would have to shoot yet another hole into the guest just because we're too unwilling to make an interface that's perfectly valid horribly slow.

Re: [Qemu-devel] [PATCH] qed: fix use-after-free during l2 cache commit

2011-10-11 Thread Kevin Wolf
Am 30.09.2011 17:49, schrieb Amit Shah: On (Fri) 30 Sep 2011 [16:23:30], Stefan Hajnoczi wrote: On Fri, Sep 30, 2011 at 12:27 PM, Amit Shah amit.s...@redhat.com wrote: On (Fri) 30 Sep 2011 [11:39:11], Stefan Hajnoczi wrote: QED's metadata caching strategy allows two parallel requests to race

Re: [Qemu-devel] Slow kernel/initrd loading via fw_cfg; Was Re: Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-11 Thread Anthony Liguori
On 10/11/2011 09:01 AM, Daniel P. Berrange wrote: On Tue, Oct 11, 2011 at 08:19:14AM -0500, Anthony Liguori wrote: On 10/11/2011 08:14 AM, Alexander Graf wrote: And I don't see the point why we would have to shoot yet another hole into the guest just because we're too unwilling to make an

Re: [Qemu-devel] KVM call agenda for October 11th

2011-10-11 Thread Anthony Liguori
On 10/11/2011 09:01 AM, Avi Kivity wrote: On 10/11/2011 03:57 PM, Anthony Liguori wrote: What I'm trying to avoid is making choices today that close the door on better fixes in the future. I think Juan made a really good point in his earlier post. We need to focus on better testing for

Re: [Qemu-devel] Slow kernel/initrd loading via fw_cfg; Was Re: Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-11 Thread Alexander Graf
On 11.10.2011, at 16:33, Anthony Liguori wrote: On 10/11/2011 09:01 AM, Daniel P. Berrange wrote: On Tue, Oct 11, 2011 at 08:19:14AM -0500, Anthony Liguori wrote: On 10/11/2011 08:14 AM, Alexander Graf wrote: And I don't see the point why we would have to shoot yet another hole into the

Re: [Qemu-devel] Slow kernel/initrd loading via fw_cfg; Was Re: Hack integrating SeaBios / LinuxBoot option rom with QEMU trace backends

2011-10-11 Thread Daniel P. Berrange
On Tue, Oct 11, 2011 at 09:33:49AM -0500, Anthony Liguori wrote: On 10/11/2011 09:01 AM, Daniel P. Berrange wrote: On Tue, Oct 11, 2011 at 08:19:14AM -0500, Anthony Liguori wrote: On 10/11/2011 08:14 AM, Alexander Graf wrote: And I don't see the point why we would have to shoot yet another

Re: [Qemu-devel] KVM call agenda for October 11th

2011-10-11 Thread Avi Kivity
On 10/11/2011 04:34 PM, Anthony Liguori wrote: On 10/11/2011 09:01 AM, Avi Kivity wrote: On 10/11/2011 03:57 PM, Anthony Liguori wrote: What I'm trying to avoid is making choices today that close the door on better fixes in the future. I think Juan made a really good point in his earlier

[Qemu-devel] [PATCH] console: console_select: check for nop

2011-10-11 Thread Alon Levy
Signed-off-by: Alon Levy al...@redhat.com --- qxl screen_dump is broken since f81bdefb6. That commit didn't introduce the problem, the problem is in qxl. But I've not managed to figure out the real problem yet. This patch works around it, but in a nice way - if you only have a single console or

Re: [Qemu-devel] KVM call agenda for October 11th

2011-10-11 Thread Stefan Berger
On 10/11/2011 09:54 AM, Anthony Liguori wrote: On 10/11/2011 08:27 AM, Juan Quintela wrote: I've been thinking about it this morning. I think it's solvable. We need to be able to save off the qdev construction properties right before init. This is just a matter of storing a list of

[Qemu-devel] Polling for QEMU 1.0 test day

2011-10-11 Thread Paolo Bonzini
Hi all, please go here to cast your vote on when QEMU 1.0 test day will be help. http://www.doodle.com/35ae4zk7e4ndb5qq Having an official date will make it easier to put people in contact and have someone reproducing other people's failure or quickly cooking up a patch. Anyway, if

Re: [Qemu-devel] Polling for QEMU 1.0 test day

2011-10-11 Thread Rick Vernam
On Tuesday 11 October 2011 10:45:14 Paolo Bonzini wrote: Hi all, please go here to cast your vote on when QEMU 1.0 test day will be help. http://www.doodle.com/35ae4zk7e4ndb5qq Having an official date will make it easier to put people in contact and have someone reproducing other

Re: [Qemu-devel] Polling for QEMU 1.0 test day

2011-10-11 Thread Paolo Bonzini
On 10/11/2011 06:02 PM, Rick Vernam wrote: On Tuesday 11 October 2011 10:45:14 Paolo Bonzini wrote: Hi all, please go here to cast your vote on when QEMU 1.0 test day will be help. http://www.doodle.com/35ae4zk7e4ndb5qq Having an official date will make it easier to put people in

Re: [Qemu-devel] Hang when using 9p mounts after last Seabios update

2011-10-11 Thread Chris Krumme
On 10/11/2011 03:30 AM, Daniel P. Berrange wrote: On Sat, Oct 01, 2011 at 12:50:43PM -0400, Kevin O'Connor wrote: On Thu, Sep 22, 2011 at 12:45:11PM +0100, Daniel P. Berrange wrote: On 0.14, 0.15 releaes, this all works just fine. On current GIT master, the guest OS will hang during boot.

[Qemu-devel] [PATCH 1/1 V2] kernel/kvm: fix improper nmi emulation

2011-10-11 Thread Lai Jiangshan
From: Kenji Kaneshige kaneshige.ke...@jp.fujitsu.com Currently, NMI interrupt is blindly sent to all the vCPUs when NMI button event happens. This doesn't properly emulate real hardware on which NMI button event triggers LINT1. Because of this, NMI is sent to the processor even when LINT1 is

[Qemu-devel] [PATCH 1/2 V2] qemu-kvm: Synchronize kernel headers

2011-10-11 Thread Lai Jiangshan
Synchronize newest kernel headers which have KVM_CAP_IRQCHIP_LAPIC_NMI by ./scripts/update-linux-headers.sh Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- linux-headers/asm|1 + linux-headers/asm-powerpc/kvm.h | 19 +--

[Qemu-devel] [PATCH 2/2 V2] qemu-kvm: fix improper nmi emulation

2011-10-11 Thread Lai Jiangshan
From: Kenji Kaneshige kaneshige.ke...@jp.fujitsu.com Currently, NMI interrupt is blindly sent to all the vCPUs when NMI button event happens. This doesn't properly emulate real hardware on which NMI button event triggers LINT1. Because of this, NMI is sent to the processor even when LINT1 is

[Qemu-devel] [PATCH] spice-input: migrate ledstate

2011-10-11 Thread Alon Levy
The caps/scroll/num lock state is not tracked by the ps2 device, but by spice-input QemuSpiceKbd-ledstate. To fix losing it across migration, and then having the server send caps/scroll/nums keys when the client sends a SPICE_MSGC_INPUTS_KEY_MODIFIERS, migrate it. RHBZ# 729294 Signed-off-by:

[Qemu-devel] [PATCH V12 0/8] Qemu Trusted Platform Module (TPM) integration

2011-10-11 Thread Stefan Berger
The following series of patches adds TPM (Trusted Platform Module) support to Qemu. An emulator for the TIS (TPM Interface Spec) interface is added that provides the basis for accessing a 'backend' implementing the actual TPM functionality. The TIS emulator serves as a 'frontend' enabling for

[Qemu-devel] [PATCH V12 2/8] Add TPM (frontend) hardware interface (TPM TIS) to Qemu

2011-10-11 Thread Stefan Berger
This patch adds the main code of the TPM frontend driver, the TPM TIS interface, to Qemu. The code is largely based on the previous implementation for Xen but has been significantly extended to meet the standard's requirements, such as the support for changing of localities and all the

[Qemu-devel] [PATCH V12 8/8] Add fd parameter for TPM passthrough driver

2011-10-11 Thread Stefan Berger
Enable the passing of a file descriptor via fd=.. to access the host's TPM device using the TPM passthrough driver. v12: - added documentation part Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com --- hw/tpm_passthrough.c | 74 +--

[Qemu-devel] [PATCH V12 7/8] Move parsing of filedescriptor into common function

2011-10-11 Thread Stefan Berger
Move the parsing of a filedescriptor into a common function qemu_parse_fd(). Have the code in net.c call this function. Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com --- cutils.c | 12 net.c |7 +-- qemu-common.h |1 + 3 files changed, 14

Re: [Qemu-devel] console: Properly switch consoles for screen dumps breaks qxl screen dump

2011-10-11 Thread Jan Kiszka
On 2011-10-11 11:36, Alon Levy wrote: Hi Jan, I've recently found the $SUBJECT, it's commit f81bdefb63243e82d16ce49332f7cf74d10b8f27. I'd like to fix it without breaking anything, can you provide me with the test that your original patch fixed? Have monitor on virtual console,

[Qemu-devel] [PATCH V12 4/8] Build the TPM frontend code

2011-10-11 Thread Stefan Berger
Build the TPM frontend code that has been added so far. Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com --- Makefile.target |1 + configure | 11 +++ 2 files changed, 12 insertions(+) Index: qemu-git.pt/Makefile.target

[Qemu-devel] [PATCH V12 6/8] Introduce --enable-tpm-passthrough configure option

2011-10-11 Thread Stefan Berger
Introduce --enable-tpm-passthrough configure option. Signed-off-by: Stefan Berger stef...@linux.vnet.ibm.com --- configure | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) Index: qemu-git.pt/configure ===

[Qemu-devel] [PATCH] tcg: Fix spelling in comment (varables - variables)

2011-10-11 Thread sw
From: Stefan Weil s...@weilnetz.de Signed-off-by: Stefan Weil s...@weilnetz.de --- tcg/tcg.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tcg/tcg.h b/tcg/tcg.h index de8a1d5..015f88a 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -175,7 +175,7 @@ typedef enum TCGType {

Re: [Qemu-devel] console: Properly switch consoles for screen dumps breaks qxl screen dump

2011-10-11 Thread Alon Levy
On Tue, Oct 11, 2011 at 07:36:27PM +0200, Jan Kiszka wrote: On 2011-10-11 11:36, Alon Levy wrote: Hi Jan, I've recently found the $SUBJECT, it's commit f81bdefb63243e82d16ce49332f7cf74d10b8f27. I'd like to fix it without breaking anything, can you provide me with the test

[Qemu-devel] [PATCH V12 1/8] Support for TPM command line options

2011-10-11 Thread Stefan Berger
This patch adds support for TPM command line options. The command line options supported here are ./qemu-... -tpmdev passthrough,path=path to TPM device,id=id -device tpm-tis,tpmdev=id and ./qemu-... -tpmdev ? where the latter works similar to -soundhw ? and shows a list of

Re: [Qemu-devel] [PATCH] spice-input: migrate ledstate

2011-10-11 Thread Alon Levy
On Tue, Oct 11, 2011 at 06:42:48PM +0200, Alon Levy wrote: The caps/scroll/num lock state is not tracked by the ps2 device, but by spice-input QemuSpiceKbd-ledstate. To fix losing it across migration, and then having the server send caps/scroll/nums keys when the client sends a

Re: [Qemu-devel] [PATCH v2] runstate: add more valid transitions

2011-10-11 Thread Luiz Capitulino
On Tue, 11 Oct 2011 09:22:42 +0200 Paolo Bonzini pbonz...@redhat.com wrote: This patch adds more valid transitions to the table, and avoids that the VM remains stuck in RSTATE_SAVEVM state when savevm is done on a paused virtual machine. Signed-off-by: Paolo Bonzini pbonz...@redhat.com

[Qemu-devel] [PATCH V12 3/8] Add a debug register

2011-10-11 Thread Stefan Berger
This patch uses the possibility to add a vendor-specific register and adds a debug register useful for dumping the TIS's internal state. This register is only active in a debug build (#define DEBUG_TIS). v9: - prefixing all function with tpm_tis_ and all constants with TPM_TIS_ v3: - all

Re: [Qemu-devel] [PATCH 1/1 V2] kernel/kvm: fix improper nmi emulation

2011-10-11 Thread Jan Kiszka
[ dropped unaffected seabios from CC ] On 2011-10-11 19:00, Lai Jiangshan wrote: From: Kenji Kaneshige kaneshige.ke...@jp.fujitsu.com Currently, NMI interrupt is blindly sent to all the vCPUs when NMI button event happens. This doesn't properly emulate real hardware on which NMI button

[Qemu-devel] [PATCH] spice-input: migrate ledstate

2011-10-11 Thread Alon Levy
The caps/scroll/num lock state is not tracked by the ps2 device, but by spice-input QemuSpiceKbd-ledstate. To fix losing it across migration, and then having the server send caps/scroll/nums keys when the client sends a SPICE_MSGC_INPUTS_KEY_MODIFIERS, migrate it. RHBZ# 729294 Signed-off-by:

[Qemu-devel] [PATCH v2] spice-input: migrate ledstate

2011-10-11 Thread Alon Levy
The caps/scroll/num lock state is not tracked by the ps2 device, but by spice-input QemuSpiceKbd-ledstate. To fix losing it across migration, and then having the server send caps/scroll/nums keys when the client sends a SPICE_MSGC_INPUTS_KEY_MODIFIERS, migrate it. RHBZ# 729294 Signed-off-by:

Re: [Qemu-devel] [PATCH 2/2 V2] qemu-kvm: fix improper nmi emulation

2011-10-11 Thread Jan Kiszka
On 2011-10-11 19:03, Lai Jiangshan wrote: From: Kenji Kaneshige kaneshige.ke...@jp.fujitsu.com Currently, NMI interrupt is blindly sent to all the vCPUs when NMI button event happens. This doesn't properly emulate real hardware on which NMI button event triggers LINT1. Because of this, NMI

[Qemu-devel] [Bug 864490] Re: Windows 2008 x64 (SBS Server) freezes randomly when using more than 1 CPU core

2011-10-11 Thread Attila Megyeri
Hi, Is this bug tracker active or I posted to the wrong place? thx -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/864490 Title: Windows 2008 x64 (SBS Server) freezes randomly when using more than

Re: [Qemu-devel] [PATCH] spice-input: migrate ledstate

2011-10-11 Thread Anthony Liguori
On 10/11/2011 11:28 AM, Alon Levy wrote: The caps/scroll/num lock state is not tracked by the ps2 device, but by spice-input QemuSpiceKbd-ledstate. To fix losing it across migration, and then having the server send caps/scroll/nums keys when the client sends a SPICE_MSGC_INPUTS_KEY_MODIFIERS,

Re: [Qemu-devel] [PATCH] spice-input: migrate ledstate

2011-10-11 Thread Alon Levy
On Tue, Oct 11, 2011 at 01:23:00PM -0500, Anthony Liguori wrote: On 10/11/2011 11:28 AM, Alon Levy wrote: The caps/scroll/num lock state is not tracked by the ps2 device, but by spice-input QemuSpiceKbd-ledstate. To fix losing it across migration, and then having the server send

Re: [Qemu-devel] console: Properly switch consoles for screen dumps breaks qxl screen dump

2011-10-11 Thread Jan Kiszka
On 2011-10-11 19:44, Alon Levy wrote: On Tue, Oct 11, 2011 at 07:36:27PM +0200, Jan Kiszka wrote: On 2011-10-11 11:36, Alon Levy wrote: Hi Jan, I've recently found the $SUBJECT, it's commit f81bdefb63243e82d16ce49332f7cf74d10b8f27. I'd like to fix it without breaking anything, can you

[Qemu-devel] Delete request of an question

2011-10-11 Thread christoph.funda
Hello, please delete my questions at: http://www.mail-archive.com/qemu-devel@nongnu.org/msg27762.html http://www.mail-archive.com/qemu-devel@nongnu.org/msg27819.html Best regards, Christoph Funda

Re: [Qemu-devel] Delete request of an question

2011-10-11 Thread Christian Leber
On Tue, Oct 11, 2011 at 11:04:01PM +0200, christoph.fu...@tu-ilmenau.de wrote: Hello please delete my questions at: Did the german armed forces finally buy the drones with un old ubuntu running in windows XP? http://www.mail-archive.com/qemu-devel@nongnu.org/msg27762.html

[Qemu-devel] [PATCH V12 5/8] Add a TPM Passthrough backend driver implementation

2011-10-11 Thread Stefan Berger
From Andreas Niederl's original posting with adaptations where necessary: This patch is based of off version 9 of Stefan Berger's patch series Qemu Trusted Platform Module (TPM) integration and adds a new backend driver for it. This patch adds a passthrough backend driver for passing commands

[Qemu-devel] [PATCH] Memory API bugfix - abolish addrrrange_end()

2011-10-11 Thread David Gibson
The memory API currently manipulates address range start and size values as signed integers. Because memory ranges with size INT64_MAX are very common, we must be careful to to trigger integer overflows. I already fixed such an integer overflow bug in commit

Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA

2011-10-11 Thread David Gibson
On Mon, Oct 03, 2011 at 08:17:05AM -0500, Anthony Liguori wrote: On 10/02/2011 07:14 AM, Michael S. Tsirkin wrote: On Sun, Oct 02, 2011 at 02:01:10PM +0200, Avi Kivity wrote: Hmm, not entirely virtio specific, some devices use stX macros to do the conversion. E.g. stw_be_phys and stl_le_phys

Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA

2011-10-11 Thread David Gibson
On Sun, Oct 02, 2011 at 12:52:39PM +0200, Michael S. Tsirkin wrote: On Sun, Oct 02, 2011 at 12:29:08PM +0200, Avi Kivity wrote: On 10/02/2011 12:25 PM, Michael S. Tsirkin wrote: On Mon, Sep 05, 2011 at 02:34:56PM +1000, David Gibson wrote: This patch adds functions to pci.[ch] to perform

Re: [Qemu-devel] [PATCH 1/9] Add stub functions for PCI device models to do PCI DMA

2011-10-11 Thread David Gibson
On Sun, Oct 02, 2011 at 02:14:28PM +0200, Michael S. Tsirkin wrote: On Sun, Oct 02, 2011 at 02:01:10PM +0200, Avi Kivity wrote: On 10/02/2011 01:17 PM, Michael S. Tsirkin wrote: On Sun, Oct 02, 2011 at 12:58:35PM +0200, Avi Kivity wrote: On 10/02/2011 12:52 PM, Michael S. Tsirkin wrote:

[Qemu-devel] [PATCH v3] Sort the help info shown in monitor at runtime

2011-10-11 Thread Wayne Xia
This patch would try sort the command list in monitor at runtime. As a result, command help and help info would show a more friendly sorted command list. For eg: (qemu)help acl_add acl_policy acl_remove acl_reset acl_show balloon block_passwd ... the command list is sorted. v3: using qsort

Re: [Qemu-devel] [PATCH v2] Sort the help info shown in monitor at runtime

2011-10-11 Thread Wayne Xia
于 2011-10-11 17:09, Markus Armbruster 写道: Wayne Xiaxiaw...@linux.vnet.ibm.com writes: Introduced two queues to save sorted command list in it. As a result, command help and help info would show a more friendly sorted command list. For eg: (qemu)help acl_add acl_policy acl_remove acl_reset

<    1   2