[Qemu-devel] [PATCH 1/2] pc: add pc-0.15

2011-12-19 Thread Anthony Liguori
Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- hw/pc_piix.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/hw/pc_piix.c b/hw/pc_piix.c index 166c2fc..265ccb2 100644 --- a/hw/pc_piix.c +++ b/hw/pc_piix.c @@ -321,6 +321,14 @@ static QEMUMachine

[Qemu-devel] [PATCH 2/2] pc: fix event_idx compatibility for virtio devices

2011-12-19 Thread Anthony Liguori
event_idx was introduced in 0.15 and must be disabled for all virtio-pci devices (including virtio-balloon-pci). Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- hw/pc_piix.c | 32 1 files changed, 32 insertions(+), 0 deletions(-) diff --git

Re: [Qemu-devel] [PATCH 01/23] memory: introduce memory_region_find()

2011-12-19 Thread Anthony Liguori
On 12/19/2011 08:13 AM, Avi Kivity wrote: Given an address space (represented by the top-level memory region), returns the memory region that maps a given range. Useful for implementing DMA. The implementation is a simplistic binary search. Once we have a tree representation this can be

Re: [Qemu-devel] [PATCH 12/23] fixup: listener fixes

2011-12-19 Thread Avi Kivity
On 12/19/2011 04:32 PM, Peter Maydell wrote: On 19 December 2011 14:13, Avi Kivity a...@redhat.com wrote: --- This is a rather uninformative commit message -- was this patch intended to be in this series? It was intended to be merged into patch 9. Will fix for the next round. -- error

[Qemu-devel] [PATCH 22/23] sparc: avoid cpu_get_physical_page_desc()

2011-12-19 Thread Avi Kivity
This reaches into the innards of the memory core, which are being changed. Switch to a memory API version. Signed-off-by: Avi Kivity a...@redhat.com --- target-sparc/mmu_helper.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/target-sparc/mmu_helper.c

Re: [Qemu-devel] [PATCH 00/23] Remove cpu_get_physical_page_desc()

2011-12-19 Thread Anthony Liguori
On 12/19/2011 08:13 AM, Avi Kivity wrote: cpu_get_physical_page_desc() exposes the internals of the memory core to callers; as such it prevents the refactoring planned there. This patchset converts all callers memory API equivalents and removes the function. The conversion leaves a lot of

[Qemu-devel] [PATCH 16/23] memory: temporarily add memory_region_get_ram_addr()

2011-12-19 Thread Avi Kivity
This is a layering violation, but needed while the code contains naked calls to qemu_get_ram_ptr() and the like. Signed-off-by: Avi Kivity a...@redhat.com --- memory.c |6 ++ memory.h | 10 ++ 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/memory.c b/memory.c

Re: [Qemu-devel] [PULL 0/2] Plan obsolescense of exec.c memory functions

2011-12-19 Thread Anthony Liguori
On 12/15/2011 07:35 AM, Avi Kivity wrote: Exile some exec.c functions to a private header, to prevent accidental reuse. Please pull from git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/exec-obsolete This breaks the Xen build. Perhaps we need to merge your patches to convert Xen

Re: [Qemu-devel] [PATCH 01/23] memory: introduce memory_region_find()

2011-12-19 Thread Avi Kivity
On 12/19/2011 04:50 PM, Anthony Liguori wrote: +static int cmp_flatrange_addr(const void *_addr, const void *_fr) +{ +const AddrRange *addr = _addr; +const FlatRange *fr = _fr; Please don't prefix with an underscore. Why not? It's legal according to the standards, if that's your

Re: [Qemu-devel] [PULL 0/2] Plan obsolescense of exec.c memory functions

2011-12-19 Thread Avi Kivity
On 12/19/2011 05:01 PM, Anthony Liguori wrote: On 12/15/2011 07:35 AM, Avi Kivity wrote: Exile some exec.c functions to a private header, to prevent accidental reuse. Please pull from git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git memory/exec-obsolete This breaks the Xen build.

Re: [Qemu-devel] [PATCH 01/23] memory: introduce memory_region_find()

2011-12-19 Thread Anthony Liguori
On 12/19/2011 09:04 AM, Avi Kivity wrote: On 12/19/2011 04:50 PM, Anthony Liguori wrote: +static int cmp_flatrange_addr(const void *_addr, const void *_fr) +{ +const AddrRange *addr = _addr; +const FlatRange *fr = _fr; Please don't prefix with an underscore. Why not? It's legal

[Qemu-devel] [PATCH 10/23] memory: add memory_region_is_logging()

2011-12-19 Thread Avi Kivity
Signed-off-by: Avi Kivity a...@redhat.com --- memory.c |5 + memory.h |9 + 2 files changed, 14 insertions(+), 0 deletions(-) diff --git a/memory.c b/memory.c index ee9053a..2e5ff43 100644 --- a/memory.c +++ b/memory.c @@ -1107,6 +1107,11 @@ bool

Re: [Qemu-devel] [PATCH 01/23] memory: introduce memory_region_find()

2011-12-19 Thread Avi Kivity
On 12/19/2011 05:10 PM, Anthony Liguori wrote: On 12/19/2011 09:04 AM, Avi Kivity wrote: On 12/19/2011 04:50 PM, Anthony Liguori wrote: +static int cmp_flatrange_addr(const void *_addr, const void *_fr) +{ +const AddrRange *addr = _addr; +const FlatRange *fr = _fr; Please don't

[Qemu-devel] [PATCH 17/23] xen: convert to MemoryListener API

2011-12-19 Thread Avi Kivity
Signed-off-by: Avi Kivity a...@redhat.com --- trace-events |2 +- xen-all.c| 137 ++ 2 files changed, 81 insertions(+), 58 deletions(-) diff --git a/trace-events b/trace-events index bf1cf57..728df97 100644 --- a/trace-events +++

[Qemu-devel] [PATCH 21/23] virtio-balloon: avoid cpu_get_physical_page_desc()

2011-12-19 Thread Avi Kivity
This reaches into the innards of the memory core, which are being changed. Switch to a memory API version. Signed-off-by: Avi Kivity a...@redhat.com --- hw/virtio-balloon.c | 14 ++ 1 files changed, 10 insertions(+), 4 deletions(-) diff --git a/hw/virtio-balloon.c

[Qemu-devel] [PATCH 20/23] vhost: avoid cpu_get_physical_page_desc()

2011-12-19 Thread Avi Kivity
This reaches into the innards of the memory core, which are being changed. Switch to a memory API version. Signed-off-by: Avi Kivity a...@redhat.com --- hw/vhost.c | 47 +++ hw/vhost.h |2 ++ 2 files changed, 41 insertions(+), 8 deletions(-)

Re: [Qemu-devel] [PATCH 01/23] memory: introduce memory_region_find()

2011-12-19 Thread Anthony Liguori
On 12/19/2011 09:17 AM, Avi Kivity wrote: On 12/19/2011 05:10 PM, Anthony Liguori wrote: On 12/19/2011 09:04 AM, Avi Kivity wrote: On 12/19/2011 04:50 PM, Anthony Liguori wrote: +static int cmp_flatrange_addr(const void *_addr, const void *_fr) +{ +const AddrRange *addr = _addr; +

[Qemu-devel] [PATCH 03/23] memory: add memory_region_is_ram()

2011-12-19 Thread Avi Kivity
Signed-off-by: Avi Kivity a...@redhat.com --- memory.c |8 memory.h | 10 ++ 2 files changed, 18 insertions(+), 0 deletions(-) diff --git a/memory.c b/memory.c index d8b7c27..6fd31d4 100644 --- a/memory.c +++ b/memory.c @@ -831,6 +831,7 @@ void

[Qemu-devel] [Bug 894037] Re: With VNC, -usbdevice tablet no longer makes mouse pointers line up

2011-12-19 Thread Timothy Miller
This bug isn't getting any attention, but it's a total show-stopper for me. It priority should be raised to Critical. I cannot use any of my VMs at all. Please help! Thanks. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

[Qemu-devel] [PATCH 23/23] Remove cpu_get_physical_page_desc()

2011-12-19 Thread Avi Kivity
No longer used. Signed-off-by: Avi Kivity a...@redhat.com --- cpu-common.h |1 - exec.c | 11 --- 2 files changed, 0 insertions(+), 12 deletions(-) diff --git a/cpu-common.h b/cpu-common.h index eee2faf..3fe44d2 100644 --- a/cpu-common.h +++ b/cpu-common.h @@ -38,7 +38,6 @@

[Qemu-devel] [PATCH 08/23] memory: replace cpu_physical_sync_dirty_bitmap() with a memory API

2011-12-19 Thread Avi Kivity
The function is still used as the implementation. Signed-off-by: Avi Kivity a...@redhat.com --- arch_init.c |6 ++ cpu-all.h |3 --- exec-obsolete.h |3 +++ memory.c|4 memory.h| 10 ++ 5 files changed, 19 insertions(+), 7 deletions(-)

[Qemu-devel] [PATCH 07/23] framebuffer: drop use of cpu_physical_sync_dirty_bitmap()

2011-12-19 Thread Avi Kivity
Replace with memory API equivalent. Signed-off-by: Avi Kivity a...@redhat.com --- hw/framebuffer.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/framebuffer.c b/hw/framebuffer.c index 3f4e773..b43bcdf 100644 --- a/hw/framebuffer.c +++ b/hw/framebuffer.c @@ -50,7

Re: [Qemu-devel] [PULL 0/2] Plan obsolescense of exec.c memory functions

2011-12-19 Thread Avi Kivity
On 12/19/2011 05:06 PM, Avi Kivity wrote: On 12/19/2011 05:01 PM, Anthony Liguori wrote: On 12/15/2011 07:35 AM, Avi Kivity wrote: Exile some exec.c functions to a private header, to prevent accidental reuse. Please pull from git://git.kernel.org/pub/scm/virt/kvm/qemu-kvm.git

Re: [Qemu-devel] [PATCH 1/2] pc: add pc-0.15

2011-12-19 Thread Anthony Liguori
On 12/19/2011 08:45 AM, Anthony Liguori wrote: Signed-off-by: Anthony Liguorialigu...@us.ibm.com I should add that both of these are stable candidates. The second one in particular. Regards, Anthony Liguori --- hw/pc_piix.c |9 + 1 files changed, 9 insertions(+), 0

[Qemu-devel] [PATCH 15/23] xen, vga: add API for registering the framebuffer

2011-12-19 Thread Avi Kivity
Xen currently uses the name of a memory region to determine whether it is the framebuffer. Replace with an explicit API. Signed-off-by: Avi Kivity a...@redhat.com --- hw/vga.c |2 ++ hw/xen.h |3 +++ xen-all.c |6 ++ xen-stub.c |4 4 files changed, 15

Re: [Qemu-devel] [RFC] Device isolation infrastructure v2

2011-12-19 Thread Joerg Roedel
On Mon, Dec 19, 2011 at 11:11:25AM +1100, David Gibson wrote: Well.. that's not where it is in Alex's code either. The iommu layer (to the extent that there is such a layer) supplies the group info, but the group management is in vfio, not the iommu layer. With mine it is in the driver core

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

2011-12-19 Thread Anthony Liguori
On 12/15/2011 08:09 AM, Kevin Wolf wrote: The following changes since commit 222f23f508a8d778f56eddef14752dfd26d225b4: tcg/arm: remove fixed map code buffer restriction (2011-12-14 21:58:18 +0100) are available in the git repository at: git://repo.or.cz/qemu/kevin.git for-anthony

Re: [Qemu-devel] [PULL v3 0/7] Memory API mutators

2011-12-19 Thread Anthony Liguori
On 12/15/2011 09:18 AM, Avi Kivity wrote: [repost w/ qemu-devel copied this time] This patchset introduces memory_region_set_enabled() and memory_region_set_address() to avoid the requirement on memory routers to track the internal state of the memory API (so they know whether they need to add

Re: [Qemu-devel] [PULL 00/17] Trivial patches for 7 to 19 December 2011

2011-12-19 Thread Anthony Liguori
On 12/19/2011 05:12 AM, Stefan Hajnoczi wrote: The following changes since commit 5ab97b7f81dee03a3f1d03a4d09a27f0eeff: phys_page_find_alloc: Use correct initial region_offset. (2011-12-15 10:22:40 -0600) Pulled. Thanks. Regards, Anthony Liguori are available in the git

Re: [Qemu-devel] [RFC] Device isolation infrastructure v2

2011-12-19 Thread David Woodhouse
On Mon, 2011-12-19 at 11:11 +1100, David Gibson wrote: They have no inbuilt concept of domains (though we could fake in software in some circumstances). That sentence doesn't make much sense to me. Either you're saying that every device behind a given IOMMU is in *one* domain (i.e. there's

Re: [Qemu-devel] [PATCH 01/23] memory: introduce memory_region_find()

2011-12-19 Thread Avi Kivity
On 12/19/2011 05:28 PM, Avi Kivity wrote: But it should be at least be documented and used consistently. Will update both. Updated patchset in qemu-kvm.git page_desc. Will refrain from reposting until some time has passed for review. -- error compiling committee.c: too many arguments to

Re: [Qemu-devel] [PULL 0/2] Plan obsolescense of exec.c memory functions

2011-12-19 Thread Anthony Liguori
On 12/19/2011 09:34 AM, Avi Kivity wrote: On 12/19/2011 05:06 PM, Avi Kivity wrote: On 12/19/2011 05:01 PM, Anthony Liguori wrote: On 12/15/2011 07:35 AM, Avi Kivity wrote: Exile some exec.c functions to a private header, to prevent accidental reuse. Please pull from

Re: [Qemu-devel] [Bug 894037] Re: With VNC, -usbdevice tablet no longer makes mouse pointers line up

2011-12-19 Thread Stefan Hajnoczi
On Mon, Dec 19, 2011 at 3:23 PM, Timothy Miller theo...@gmail.com wrote: This bug isn't getting any attention, but it's a total show-stopper for me.  It priority should be raised to Critical.  I cannot use any of my VMs at all.  Please help! Have you checked that the guest operating system is

[Qemu-devel] [PATCH] hw/integratorcp: Simplify flash remap code, fix sense of REMAP bit

2011-12-19 Thread Peter Maydell
Use the new memory mutator API to simplify the flash remap code; this allows us to drop the flash_mapped flag. This patch also fixes the sense of the REMAP bit, which was reversed. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- hw/integratorcp.c | 26 +- 1

Re: [Qemu-devel] [PULL 0/2] Plan obsolescense of exec.c memory functions

2011-12-19 Thread Avi Kivity
On 12/19/2011 06:15 PM, Anthony Liguori wrote: Pulled both of these. Thanks. I notice the merge logs are fairly silent. You can make them more interesting by setting the git config variable merge.log to true. -- error compiling committee.c: too many arguments to function

[Qemu-devel] [ANNOUNCE] qemu-test: a set of tests scripts for QEMU

2011-12-19 Thread Anthony Liguori
Hi, I've published a set of tests I wrote over the weekend on qemu.org. My motivations were 1) to prevent regressions like the libguestfs one and 2) to have an easier way to do development testing as I work on QEMU Object Model. Now before sending the obligatory, What about using KVM

Re: [Qemu-devel] [SeaBIOS] insmod virtio-blk is broken in qemu 1.0

2011-12-19 Thread Fred .
On Mon, Dec 19, 2011 at 11:31 AM, Daniel P. Berrange berra...@redhat.com wrote: Sigh, we really need to be better about updating SeaBIOS in QEMU before release. We had plenty of time to pull in a newer SeaBIOS before 1.0 that would have fixed this :-( We've had multiple releases now where

Re: [Qemu-devel] [SeaBIOS] insmod virtio-blk is broken in qemu 1.0

2011-12-19 Thread Fred .
On Mon, Dec 19, 2011 at 11:31 AM, Daniel P. Berrange berra...@redhat.com wrote: Sigh, we really need to be better about updating SeaBIOS in QEMU before release. We had plenty of time to pull in a newer SeaBIOS before 1.0 that would have fixed this :-( We've had multiple releases now where

Re: [Qemu-devel] [PATCH V2 3/5] Introduce premigrate RunState.

2011-12-19 Thread Anthony PERARD
On Thu, 15 Dec 2011, Luiz Capitulino wrote: On Thu, 15 Dec 2011 09:14:00 -0600 Anthony Liguori anth...@codemonkey.ws wrote: On 12/09/2011 03:54 PM, Anthony PERARD wrote: This new state will be used by Xen functions to know QEMU will wait for a migration. This is important to know for

Re: [Qemu-devel] USB continuous reset / unplug cleanup not done properly

2011-12-19 Thread Erik Rull
Hi Gerd, Gerd Hoffmann wrote: Hi, 1) Devices get resetted again and again on the host side and do not work properly on the guest side - they work fine on the host side outside qemu. I see those too. Not clear what is going on here. usbfs requests seem to get stuck now and then for

Re: [Qemu-devel] [PATCH] usb-host: rip out legacy procfs support

2011-12-19 Thread Erik Rull
Gerd Hoffmann wrote: This patch removes support for parsing /proc/bus/usb/devices for device discovery. The code lacks a few features compared to the sysfs code and is also bitrotting as everybody has sysfs these days. This implies having sysfs mounted is mandatory now to use the usb-host

Re: [Qemu-devel] insmod virtio-blk is broken in qemu 1.0

2011-12-19 Thread Anthony Liguori
On 12/19/2011 04:31 AM, Daniel P. Berrange wrote: On Sat, Dec 17, 2011 at 11:49:56AM -0500, Kevin O'Connor wrote: On Sat, Dec 17, 2011 at 10:24:07AM -0600, Anthony Liguori wrote: On 12/17/2011 09:25 AM, Richard W.M. Jones wrote: On Sat, Dec 17, 2011 at 09:22:45AM -0600, Anthony Liguori wrote:

Re: [Qemu-devel] [PATCH v2] multiboot: Fix bss segment support

2011-12-19 Thread Alexander Graf
On 24.07.2011, at 17:55, Göran Weinholt wrote: Multiboot images can specify a bss segment. The boot loader must clear the memory of the bss and ensure that no modules or structures are allocated inside it. Several fields are provided in the Multiboot header that were previously not used

Re: [Qemu-devel] [ANNOUNCE] qemu-test: a set of tests scripts for QEMU

2011-12-19 Thread Avi Kivity
On 12/19/2011 07:13 PM, Anthony Liguori wrote: Hi, I've published a set of tests I wrote over the weekend on qemu.org. My motivations were 1) to prevent regressions like the libguestfs one and 2) to have an easier way to do development testing as I work on QEMU Object Model. Now before

[Qemu-devel] [Bug 902148] Re: qemu-img V1.0 hangs on creating Image (0.15.1 runs)

2011-12-19 Thread Michael Niehren
Hi Stefan, i got the following output with your patch: Formatting 'test.img', fmt=qcow2 size=1073741824 encryption=off cluster_size=65536 bdrv_rw_co_entry is_write 0 sector_num 0 nb_sectors 1 =waiting for rwco.ret != NOT_DONE waiting for rwco.ret != NOT_DONE 0 bdrv_rw_co_entry is_write 1

Re: [Qemu-devel] insmod virtio-blk is broken in qemu 1.0

2011-12-19 Thread Daniel P. Berrange
On Mon, Dec 19, 2011 at 11:34:13AM -0600, Anthony Liguori wrote: On 12/19/2011 04:31 AM, Daniel P. Berrange wrote: On Sat, Dec 17, 2011 at 11:49:56AM -0500, Kevin O'Connor wrote: On Sat, Dec 17, 2011 at 10:24:07AM -0600, Anthony Liguori wrote: On 12/17/2011 09:25 AM, Richard W.M. Jones wrote:

Re: [Qemu-devel] Improve QEMU performance with LLVM codegen and other techniques

2011-12-19 Thread Alexander Graf
On 06.12.2011, at 08:39, 陳韋任 wrote: If you want to be more exotic (minix found a lot of bugs for me back in the day!) you can try the os zoo: http://www.oszoo.org/ The website seems down? Yeah, looks like it's down :(. Too bad. Alex

Re: [Qemu-devel] [ANNOUNCE] qemu-test: a set of tests scripts for QEMU

2011-12-19 Thread Anthony Liguori
On 12/19/2011 11:39 AM, Avi Kivity wrote: On 12/19/2011 07:13 PM, Anthony Liguori wrote: Hi, I've published a set of tests I wrote over the weekend on qemu.org. My motivations were 1) to prevent regressions like the libguestfs one and 2) to have an easier way to do development testing as I

Re: [Qemu-devel] insmod virtio-blk is broken in qemu 1.0

2011-12-19 Thread Anthony Liguori
On 12/19/2011 11:43 AM, Daniel P. Berrange wrote: On Mon, Dec 19, 2011 at 11:34:13AM -0600, Anthony Liguori wrote: On 12/19/2011 04:31 AM, Daniel P. Berrange wrote: Sigh, we really need to be better about updating SeaBIOS in QEMU before release. We had plenty of time to pull in a newer SeaBIOS

Re: [Qemu-devel] [PATCH] pc: map pc ram from user-specified file

2011-12-19 Thread Peter Feiner
Hi, Is there any interest in this feature? BTW, as far as I can tell, on qemu-devel I'm not supposed to re-post the patch or post a v2 if there haven't been any specific requests for changes to v1. Please let me know if you'd like me to submit a new patch! Thanks, Peter Feiner

Re: [Qemu-devel] [PATCH v9 0/3] PC system flash support

2011-12-19 Thread Jordan Justen
On Sun, Dec 18, 2011 at 02:04, Avi Kivity a...@redhat.com wrote: On 12/15/2011 11:02 PM, Jordan Justen wrote: I verified that 'info mtree' and 'info qdev' are equivalent for pc-1.0 when using master and with my patches. However, I did discover that v1.0 seems to differ from master for this

[Qemu-devel] Clave de Operaciones

2011-12-19 Thread Banco BBVA
Title: BBVA Net Reactivación online Estimado cliente, Nos dirigimos a usted para informarle que su clave de operaciones BBVA Net

Re: [Qemu-devel] insmod virtio-blk is broken in qemu 1.0

2011-12-19 Thread Richard W.M. Jones
On Mon, Dec 19, 2011 at 12:02:59PM -0600, Anthony Liguori wrote: I would like to point out that August - October is a pretty long time period for a regression like this to exist. I think that really indicates that the primary problem is testing, not frequency of SeaBIOS updates. Fair point.

[Qemu-devel] [Bug 894037] Re: With VNC, -usbdevice tablet no longer makes mouse pointers line up

2011-12-19 Thread Timothy Miller
Ok, I'm seeing two devices that Windows XP doesn't recognize. One is QEMU USB Tablet, and the other is VGA Controller (VGA Compatible). It doesn't appear to have drivers for these. Both of these used to work just fine. I'm not sure why it's complaining about either one, since things were fine

[Qemu-devel] [Bug 894037] Re: With VNC, -usbdevice tablet no longer makes mouse pointers line up

2011-12-19 Thread Anthony Liguori
Can you please upgrade to 1.0 and see if that fixes the problem. The following patch should fix your problem (and is present in 1.0): commit 21635e121ae0f0ab7874152a7c2f96e9d8cd642f Author: Gerd Hoffmann kra...@redhat.com Date: Tue Aug 9 12:35:57 2011 +0200 usb/hid: add

[Qemu-devel] [Bug 894037] Re: With VNC, -usbdevice tablet no longer makes mouse pointers line up

2011-12-19 Thread Timothy Miller
That's easier said than done, because it's pretty unusable. And as I said, the OS didn't change. QEMU got updated, and then it broke. So if it was or wasn't using the tablet before, then it still is or isn't now. Either way, it used to work. I'll see what I can figure out about what it thinks

Re: [Qemu-devel] [PATCH] pc: map pc ram from user-specified file

2011-12-19 Thread Anthony Liguori
On 12/19/2011 12:26 PM, Peter Feiner wrote: Hi, Is there any interest in this feature? BTW, as far as I can tell, on qemu-devel I'm not supposed to re-post the patch or post a v2 if there haven't been any specific requests for changes to v1. Please let me know if you'd like me to submit a new

Re: [Qemu-devel] insmod virtio-blk is broken in qemu 1.0

2011-12-19 Thread Daniel P. Berrange
On Mon, Dec 19, 2011 at 07:04:54PM +, Richard W.M. Jones wrote: On Mon, Dec 19, 2011 at 12:02:59PM -0600, Anthony Liguori wrote: I would like to point out that August - October is a pretty long time period for a regression like this to exist. I think that really indicates that the

Re: [Qemu-devel] insmod virtio-blk is broken in qemu 1.0

2011-12-19 Thread Daniel P. Berrange
On Mon, Dec 19, 2011 at 12:02:59PM -0600, Anthony Liguori wrote: On 12/19/2011 11:43 AM, Daniel P. Berrange wrote: I hadn't raised it again, because I had mistakenly assumed QEMU will automatically pull in the newer SeaBios release before 1.0 came out. I could have more aggresively bugged

[Qemu-devel] [Bug 894037] Re: With VNC, -usbdevice tablet no longer makes mouse pointers line up

2011-12-19 Thread Timothy Miller
This is strange. On a lark, I right-clicked the unknown tablet device and told Windows to find a driver for it. It told me it couldn't find a better one than what I already had, and then it appeared as a HID- compliant device. Now it works fine! I'm thinking that what has happened is that some

[Qemu-devel] [Bug 894037] Re: With VNC, -usbdevice tablet no longer makes mouse pointers line up

2011-12-19 Thread Anthony Liguori
Windows XP does not have a VESA compatible driver by default. -std vga therefore won't work out of the box for Windows XP. This is not a regression, this has always been the case. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

Re: [Qemu-devel] insmod virtio-blk is broken in qemu 1.0

2011-12-19 Thread Anthony Liguori
On 12/19/2011 01:19 PM, Daniel P. Berrange wrote: On Mon, Dec 19, 2011 at 12:02:59PM -0600, Anthony Liguori wrote: I would like to point out that August - October is a pretty long time period for a regression like this to exist. I think that really indicates that the primary problem is

[Qemu-devel] [Bug 894037] Re: With VNC, -usbdevice tablet no longer makes mouse pointers line up

2011-12-19 Thread Michael Chudobiak
Is qemu 1.0 headed for fedora-rawhide any time soon? I only see qemu-0.15.1-3.fc17 available... -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/894037 Title: With VNC, -usbdevice tablet no longer

Re: [Qemu-devel] [PATCH v6 4/4] Add support for net bridge

2011-12-19 Thread Anthony Liguori
On 12/19/2011 07:11 AM, Corey Bryant wrote: The most common use of -net tap is to connect a tap device to a bridge. This requires the use of a script and running qemu as root in order to allocate a tap device to pass to the script. This model is great for portability and flexibility but it's

Re: [Qemu-devel] insmod virtio-blk is broken in qemu 1.0

2011-12-19 Thread Richard W.M. Jones
On Mon, Dec 19, 2011 at 07:16:02PM +, Daniel P. Berrange wrote: On Mon, Dec 19, 2011 at 07:04:54PM +, Richard W.M. Jones wrote: On Mon, Dec 19, 2011 at 12:02:59PM -0600, Anthony Liguori wrote: I would like to point out that August - October is a pretty long time period for a

[Qemu-devel] Consulting Opportunity

2011-12-19 Thread john humphreys
Anyone out there interested in working on a qemu side project? If so, please contact me directly. jhnhumphr...@gmail.com John

Re: [Qemu-devel] [PATCH v9 3/3] pc: Support system flash memory with pflash

2011-12-19 Thread Anthony Liguori
On 12/15/2011 02:51 PM, Jordan Justen wrote: If a pflash image is found, then it is used for the system firmware image. If a pflash image is not initially found, then a read-only pflash device is created using the -bios filename. KVM cannot execute from a pflash region currently. Therefore,

Re: [Qemu-devel] insmod virtio-blk is broken in qemu 1.0

2011-12-19 Thread Richard W.M. Jones
On Mon, Dec 19, 2011 at 07:40:05PM +, Richard W.M. Jones wrote: In reply to Anthony: the reason Fedora does this is because binary blobs aren't permitted, no matter what the origin. We have to build SeaBIOS from source, and the choice is made to build from the upstream SeaBIOS source, not

Re: [Qemu-devel] insmod virtio-blk is broken in qemu 1.0

2011-12-19 Thread Anthony Liguori
On 12/19/2011 01:40 PM, Richard W.M. Jones wrote: On Mon, Dec 19, 2011 at 07:16:02PM +, Daniel P. Berrange wrote: On Mon, Dec 19, 2011 at 07:04:54PM +, Richard W.M. Jones wrote: On Mon, Dec 19, 2011 at 12:02:59PM -0600, Anthony Liguori wrote: I would like to point out that August -

Re: [Qemu-devel] [PATCH v3 0/8] qom: introduce non-legacy static properties

2011-12-19 Thread Anthony Liguori
On 12/18/2011 10:05 AM, Paolo Bonzini wrote: QOM right now does not have a way to communicate values for qdev properties except as strings. This is bad. This patch improves the Property implementation so that properties export a visitor-based interface in addition to the string-based

Re: [Qemu-devel] [PATCH v3 0/3] remove sysbus_init_mmio_cb2 usage

2011-12-19 Thread Anthony Liguori
On 12/16/2011 04:37 PM, Benoît Canet wrote: These patches remove sysbus_init_mmio_cb2 usage from the codebase. v2: dont't change ppce500 initialisation method (peter) v3: remove unused variable (anthony) Applied all. Thanks. Regards, Anthony Liguori Benoît Canet (3): sh_pci: remove

Re: [Qemu-devel] [PATCH 1/3] vl.c: Move option generation logic into a wrapper file

2011-12-19 Thread Anthony Liguori
On 12/19/2011 12:19 AM, y...@ozlabs.org wrote: From: Michael Ellermanmich...@ellerman.id.au In vl.c and qemu-options.h we define macros and include qemu-options.def in order to generate different content. Move the bulk of the def'ing and undef'ing into a wrapper, this will make it cleaner when

[Qemu-devel] [PATCH] hw/sysbus.c: Remove unnecessary conditionals

2011-12-19 Thread Peter Maydell
Now that all sysbus MMIO regions are MemoryRegions, mmio[n].memory is never NULL, and we can remove some unnecessary conditionals. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- A minor tidyup following Benoît's now-applied patches to remove sysbus_init_mmio_cb2(). hw/sysbus.c | 18

Re: [Qemu-devel] [PATCH v5 00/16] uq/master: Introduce basic irqchip support

2011-12-19 Thread Marcelo Tosatti
Anthony, Can you please review ACK? You could even apply directly but well do a kvm-autotest run through uq/master. Still, your review is needed. Thanks On Thu, Dec 15, 2011 at 01:33:15PM +0100, Jan Kiszka wrote: Changes in v5: - properly introduce apic_report_irq_delivered (instead of

Re: [Qemu-devel] [PATCH v9 3/3] pc: Support system flash memory with pflash

2011-12-19 Thread Jordan Justen
On Mon, Dec 19, 2011 at 11:41, Anthony Liguori aligu...@us.ibm.com wrote: On 12/15/2011 02:51 PM, Jordan Justen wrote: If a pflash image is found, then it is used for the system firmware image. If a pflash image is not initially found, then a read-only pflash device is created using the

[Qemu-devel] bad USB tablet update rate on qemu-1.0

2011-12-19 Thread Erik Rull
Hi all, coming from qemu 0.14 the usbdevice tablet update rate gets really bad in qemu-1.0 with the same guest. The cursor more jumps with some delay than moving smoothly. What could be the reason? Are there tablet options that might remove the jumping? Best regards, Erik

Re: [Qemu-devel] bad USB tablet update rate on qemu-1.0

2011-12-19 Thread Anthony Liguori
On 12/19/2011 03:33 PM, Erik Rull wrote: Hi all, coming from qemu 0.14 the usbdevice tablet update rate gets really bad in qemu-1.0 with the same guest. What's the specific guest? Regards, Anthony Liguori The cursor more jumps with some delay than moving smoothly. What could be the

Re: [Qemu-devel] bad USB tablet update rate on qemu-1.0

2011-12-19 Thread Erik Rull
Anthony Liguori wrote: On 12/19/2011 03:33 PM, Erik Rull wrote: Hi all, coming from qemu 0.14 the usbdevice tablet update rate gets really bad in qemu-1.0 with the same guest. What's the specific guest? Regards, Anthony Liguori It's a Windows XP guest. It was fine in 0.14 Thanks. Best

Re: [Qemu-devel] [PATCH v2] multiboot: Fix bss segment support

2011-12-19 Thread Anthony Liguori
On 12/19/2011 11:35 AM, Alexander Graf wrote: On 24.07.2011, at 17:55, Göran Weinholt wrote: Multiboot images can specify a bss segment. The boot loader must clear the memory of the bss and ensure that no modules or structures are allocated inside it. Several fields are provided in the

[Qemu-devel] [PATCH] hw/pl181.c: Add save/load support

2011-12-19 Thread Peter Maydell
Add save/load support to the PL181. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- This isn't terribly useful until hw/sd.c has save/load support, of course; I have a patch cooking for that. hw/pl181.c | 49 - 1 files changed, 40

[Qemu-devel] [PATCH] hw/lan9118: Add save/load support

2011-12-19 Thread Peter Maydell
Implement save/load for the LAN9118. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- Does anybody have a nicer solution to the can't put an enum in a VMStateDescription problem? hw/lan9118.c | 126 +++--- 1 files changed, 103

[Qemu-devel] [PATCH] hw/pl110.c: Add post-load hook to invalidate display

2011-12-19 Thread Peter Maydell
Add a post-load hook which invalidates the display. In particular, if we don't do this and the display size we've just reloaded is larger than the default then we will segfault trying to read off the end of the buffer. Signed-off-by: Peter Maydell peter.mayd...@linaro.org --- hw/pl110.c | 11

Re: [Qemu-devel] [PATCH v5 06/16] apic: Introduce backend/frontend infrastructure for KVM reuse

2011-12-19 Thread Anthony Liguori
On 12/15/2011 06:33 AM, Jan Kiszka wrote: The KVM in-kernel APIC model will reuse parts of the user space model while providing the same frontend view to guest and most management interfaces. Introduce an APIC backend concept to encapsulate those parts that will tell user space and KVM model

Re: [Qemu-devel] [PATCH v9 3/3] pc: Support system flash memory with pflash

2011-12-19 Thread Anthony Liguori
On 12/19/2011 03:25 PM, Jordan Justen wrote: On Mon, Dec 19, 2011 at 11:41, Anthony Liguorialigu...@us.ibm.com wrote: On 12/15/2011 02:51 PM, Jordan Justen wrote: If a pflash image is found, then it is used for the system firmware image. If a pflash image is not initially found, then a

Re: [Qemu-devel] [PATCH v5 07/16] apic: Open-code timer save/restore

2011-12-19 Thread Anthony Liguori
On 12/15/2011 06:33 AM, Jan Kiszka wrote: To enable migration between accelerated and non-accelerated APIC models, we will need to handle the timer saving and restoring specially and can no longer rely on the automatics of VMSTATE_TIMER. Specifically, accelerated model will not start any

Re: [Qemu-devel] [PATCH v5 00/16] uq/master: Introduce basic irqchip support

2011-12-19 Thread Anthony Liguori
On 12/19/2011 03:17 PM, Marcelo Tosatti wrote: Anthony, Can you please review ACK? You could even apply directly but well do a kvm-autotest run through uq/master. Still, your review is needed. Overall, it looks good except for the backend/frontend split. This should be done in terms of

Re: [Qemu-devel] [Bug 894037] Re: With VNC, -usbdevice tablet no longer makes mouse pointers line up

2011-12-19 Thread Rick Vernam
From the Qemu Monitor, try looking at info mice I'm not exactly sure ho to access the Qemu Monitor from VNC. You might have to start qemu with additional parameters: -monitor telnet:localhost:12341,server,nowait then use telnet localhost 12341 to access the monitor... On Monday 19 December

Re: [Qemu-devel] [PATCH v2] multiboot: Fix bss segment support

2011-12-19 Thread Alexander Graf
On 19.12.2011, at 23:01, Anthony Liguori wrote: On 12/19/2011 11:35 AM, Alexander Graf wrote: On 24.07.2011, at 17:55, Göran Weinholt wrote: Multiboot images can specify a bss segment. The boot loader must clear the memory of the bss and ensure that no modules or structures are

[Qemu-devel] [PATCH] qdev: fix hotplug when no -device is specified

2011-12-19 Thread Anthony Liguori
The peripheral[-anon] containers are initialized lazily but since they sit on sysbus, they can not be created after realize. This was causing an abort() to occur during hotplug if no -device option was used. This was spotted by qemu-test::device-add.sh Signed-off-by: Anthony Liguori

[Qemu-devel] [Bug 897750] Re: libvirt/kvm problem with disk attach/detach/reattach on running virt

2011-12-19 Thread Justin L Werner
Some incremental findings: In 'qemu-kvm' the DeviceState for the peer device of the BlockDeviceState that gets created when a disk attached by 'virsh attach-disk' references the 'QemuOpts' options structure that lists the options and the device ID string (ex: as 'virtio-disk4') that will (on a

Re: [Qemu-devel] [RFC] Device isolation infrastructure v2

2011-12-19 Thread David Gibson
On Mon, Dec 19, 2011 at 03:46:38PM +, David Woodhouse wrote: On Mon, 2011-12-19 at 11:11 +1100, David Gibson wrote: They have no inbuilt concept of domains (though we could fake in software in some circumstances). That sentence doesn't make much sense to me. Either you're saying

[Qemu-devel] [PATCH] qemu-test: add test for device_add

2011-12-19 Thread Anthony Liguori
This does a simple test using device_add to add a block device. It uses a mix of hmp and qmp commands because there is not yet a drive_add equivalent for qmp. Signed-off-by: Anthony Liguori aligu...@us.ibm.com --- kernel-3.0.config |2 +- tests/device-add.sh | 70

Re: [Qemu-devel] [PATCH v6 4/4] Add support for net bridge

2011-12-19 Thread Corey Bryant
On 12/19/2011 02:36 PM, Anthony Liguori wrote: On 12/19/2011 07:11 AM, Corey Bryant wrote: The most common use of -net tap is to connect a tap device to a bridge. This requires the use of a script and running qemu as root in order to allocate a tap device to pass to the script. This model is

Re: [Qemu-devel] [RFC] Device isolation infrastructure v2

2011-12-19 Thread David Woodhouse
On Tue, 2011-12-20 at 09:31 +1100, David Gibson wrote: When we're running paravirtualized under pHyp, it's impossible to merge multiple PEs into one domain per se. We could fake it rather nastily by replicating all map/unmaps across mutiple PEs. When running bare metal, we could do so a bit

Re: [Qemu-devel] [PATCH v6 4/4] Add support for net bridge

2011-12-19 Thread Anthony Liguori
On 12/19/2011 04:55 PM, Corey Bryant wrote: diff --git a/net.c b/net.c index f7bebf8..9296224 100644 --- a/net.c +++ b/net.c @@ -952,6 +952,14 @@ static const struct { .type = QEMU_OPT_STRING, .help = script to shut down the interface, }, { + .name = br, + .type = QEMU_OPT_STRING, + .help =

Re: [Qemu-devel] [PATCH v5 06/16] apic: Introduce backend/frontend infrastructure for KVM reuse

2011-12-19 Thread Jan Kiszka
[ Please strip your replies a bit. I always worry to miss a comment when scrolling down dozens of pages. ] On 2011-12-19 23:14, Anthony Liguori wrote: + +struct APICBackend { +const char *name; +void (*init)(APICState *s); +void (*set_base)(APICState *s, uint64_t val); +void

Re: [Qemu-devel] [PATCH v5 07/16] apic: Open-code timer save/restore

2011-12-19 Thread Jan Kiszka
On 2011-12-19 23:21, Anthony Liguori wrote: On 12/15/2011 06:33 AM, Jan Kiszka wrote: To enable migration between accelerated and non-accelerated APIC models, we will need to handle the timer saving and restoring specially and can no longer rely on the automatics of VMSTATE_TIMER.

Re: [Qemu-devel] [PATCH v5 00/16] uq/master: Introduce basic irqchip support

2011-12-19 Thread Jan Kiszka
On 2011-12-19 23:24, Anthony Liguori wrote: On 12/19/2011 03:17 PM, Marcelo Tosatti wrote: Anthony, Can you please review ACK? You could even apply directly but well do a kvm-autotest run through uq/master. Still, your review is needed. Overall, it looks good except for the

Re: [Qemu-devel] [RFC] Device isolation infrastructure v2

2011-12-19 Thread David Gibson
On Mon, Dec 19, 2011 at 10:56:40PM +, David Woodhouse wrote: On Tue, 2011-12-20 at 09:31 +1100, David Gibson wrote: When we're running paravirtualized under pHyp, it's impossible to merge multiple PEs into one domain per se. We could fake it rather nastily by replicating all map/unmaps

Re: [Qemu-devel] [PATCH v5 06/16] apic: Introduce backend/frontend infrastructure for KVM reuse

2011-12-19 Thread Anthony Liguori
On 12/19/2011 05:32 PM, Jan Kiszka wrote: struct APICCommonInfo { DeviceInfo qdev; void (*init)(APICState *s); void (*set_base)(APICState *s, uint64_t val); void (*set_tpr)(APICState *s, uint8_t val); void (*external_nmi)(APICState *s); }; Take a look at SCSIDevice for

  1   2   >