Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API

2011-05-22 Thread Avi Kivity
On 05/20/2011 05:31 PM, Anthony Liguori wrote: Several alpha system chips MCE when accessed with incorrect sizes. E.g. only 64-bit accesses are allowed. But is this a characteristic of devices or is this a characteristic of the chipset/CPU? The chipset is modelled by a MemoryRegion too.

Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API

2011-05-22 Thread Avi Kivity
On 05/20/2011 05:46 PM, Anthony Liguori wrote: On 05/20/2011 09:40 AM, Richard Henderson wrote: On 05/20/2011 07:31 AM, Anthony Liguori wrote: But is this a characteristic of devices or is this a characteristic of the chipset/CPU? Chipset. So if the chipset only allows accesses that are

Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API

2011-05-22 Thread Avi Kivity
On 05/20/2011 09:16 PM, Blue Swirl wrote: On Fri, May 20, 2011 at 5:46 PM, Anthony Liguorianth...@codemonkey.ws wrote: On 05/20/2011 09:40 AM, Richard Henderson wrote: On 05/20/2011 07:31 AM, Anthony Liguori wrote: But is this a characteristic of devices or is this a characteristic of

Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API

2011-05-22 Thread Avi Kivity
On 05/20/2011 08:59 PM, Blue Swirl wrote: On Thu, May 19, 2011 at 5:12 PM, Avi Kivitya...@redhat.com wrote: The memory API separates the attributes of a memory region (its size, how reads or writes are handled, dirty logging, and coalescing) from where it is mapped and whether it is

Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API

2011-05-22 Thread Avi Kivity
On 05/20/2011 05:06 PM, Richard Henderson wrote: Is this structure honestly any better than 4 function pointers? I can't see that it is, myself. That was requested by Anthony. And in fact we have two bits of information per access size, one is whether the access is allowed or not, the

Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API

2011-05-22 Thread Avi Kivity
On 05/20/2011 08:59 PM, Blue Swirl wrote: On Thu, May 19, 2011 at 5:12 PM, Avi Kivitya...@redhat.com wrote: The memory API separates the attributes of a memory region (its size, how reads or writes are handled, dirty logging, and coalescing) from where it is mapped and whether it is

Re: [Qemu-devel] [RFC] Memory API

2011-05-22 Thread Avi Kivity
On 05/20/2011 08:30 PM, Blue Swirl wrote: Another case would be the cache-as-ram mode for some x86 CPUs, which Coreboot people would like to see IIRC. That's probably best handled as a cache emulation layer, as this is not associated with any specific address range. -- I have a truly

Re: [Qemu-devel] [RFC] Memory API

2011-05-22 Thread Avi Kivity
On 05/20/2011 05:51 PM, Anthony Liguori wrote: Of course there is overlap. PCI BARs overlap each other, the VGA windows and ROM overlap RAM. Here's what I'm still struggling with: If children normally overlap their parents, but child priorities are always less than their parents, then

Re: [Qemu-devel] [RFC] Memory API

2011-05-22 Thread Avi Kivity
On 05/20/2011 02:57 PM, Gleb Natapov wrote: On Fri, May 20, 2011 at 11:59:58AM +0300, Avi Kivity wrote: On 05/19/2011 07:27 PM, Gleb Natapov wrote: Think of how a window manager folds windows with priorities onto a flat framebuffer. You do a depth-first walk of the tree. For

Re: [Qemu-devel] [RFC] Memory API

2011-05-22 Thread Avi Kivity
On 05/20/2011 06:59 PM, Jan Kiszka wrote: Jan had mentioned previously about registering a new temporary window. I assume the registration always gets highest_priority++, or do you have to explicitly specify that PCI container gets priority=1? The latter. And I really prefer to have

Re: [Qemu-devel] [RFC] Memory API

2011-05-22 Thread Avi Kivity
On 05/20/2011 02:25 PM, Gleb Natapov wrote: A) Removing regions will change significantly. So far this is done by setting a region to IO_MEM_UNASSIGNED, keeping truncation. With the new API that will be a true removal which will additionally restore hidden regions. And what problem do

Re: [Qemu-devel] [RFC] Memory API

2011-05-22 Thread Avi Kivity
On 05/20/2011 03:08 PM, Gleb Natapov wrote: On Fri, May 20, 2011 at 12:10:22PM +0300, Avi Kivity wrote: On 05/19/2011 09:22 PM, Gleb Natapov wrote: BARs may overlap with other BARs or with RAM. That's well-known, so PCI bridged need to register their regions with the _overlap

Re: [Qemu-devel] mouse doesn't work on guest OS

2011-05-22 Thread John Haxby
On 22 May 2011, at 00:32, Brad Hards wrote: My problem is that, mouse is hanged in the middle of the screen. I still don't understand the problem. I'm guessing you see the cursor in the guest, but the host mouse isn't having any effect on that guest cursor. I do :-) I'm pretty sure that

[Qemu-devel] [Bug 786440] [NEW] qcow2 double free

2011-05-22 Thread Andrew Kroll
Public bug reported: version 0.14.1 when using qcow2 images, after some time, glibc detects a double free or corruption. ** Affects: qemu Importance: Undecided Status: New -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to

Re: [Qemu-devel] [RFC] Memory API

2011-05-22 Thread Gleb Natapov
On Sun, May 22, 2011 at 10:37:48AM +0300, Avi Kivity wrote: On 05/20/2011 02:57 PM, Gleb Natapov wrote: On Fri, May 20, 2011 at 11:59:58AM +0300, Avi Kivity wrote: On 05/19/2011 07:27 PM, Gleb Natapov wrote: Think of how a window manager folds windows with priorities onto a flat

Re: [Qemu-devel] [RFC] Memory API

2011-05-22 Thread Avi Kivity
On 05/22/2011 11:06 AM, Gleb Natapov wrote: On Sun, May 22, 2011 at 10:37:48AM +0300, Avi Kivity wrote: On 05/20/2011 02:57 PM, Gleb Natapov wrote: On Fri, May 20, 2011 at 11:59:58AM +0300, Avi Kivity wrote: On 05/19/2011 07:27 PM, Gleb Natapov wrote: Think of how a window

[Qemu-devel] [Bug 786442] [NEW] GCC -O2 causes segfaults

2011-05-22 Thread Andrew Kroll
Public bug reported: unless compiled without optimizations, no system may be ran except the default with -kvm-enabled I had to modify config-host.mak and remove -O2 from CFLAGS to be able to work without kvm. GCC 4.4.4 qemu-0.14.1 ***NOTE: this has been an issue for several versions. **

Re: [Qemu-devel] [RFC] Memory API

2011-05-22 Thread Gleb Natapov
On Sun, May 22, 2011 at 10:50:22AM +0300, Avi Kivity wrote: On 05/20/2011 02:25 PM, Gleb Natapov wrote: A) Removing regions will change significantly. So far this is done by setting a region to IO_MEM_UNASSIGNED, keeping truncation. With the new API that will be a true removal which

Re: [Qemu-devel] [RFC] Memory API

2011-05-22 Thread Gleb Natapov
On Sun, May 22, 2011 at 11:09:08AM +0300, Avi Kivity wrote: On 05/22/2011 11:06 AM, Gleb Natapov wrote: On Sun, May 22, 2011 at 10:37:48AM +0300, Avi Kivity wrote: On 05/20/2011 02:57 PM, Gleb Natapov wrote: On Fri, May 20, 2011 at 11:59:58AM +0300, Avi Kivity wrote: On 05/19/2011

Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API

2011-05-22 Thread Blue Swirl
On Sun, May 22, 2011 at 9:45 AM, Avi Kivity a...@redhat.com wrote: On 05/20/2011 08:59 PM, Blue Swirl wrote: On Thu, May 19, 2011 at 5:12 PM, Avi Kivitya...@redhat.com  wrote:  The memory API separates the attributes of a memory region (its size, how  reads or writes are handled, dirty

Re: [Qemu-devel] [RFC] live snapshot, live merge, live block migration

2011-05-22 Thread Dor Laor
On 05/20/2011 03:19 PM, Stefan Hajnoczi wrote: I'm interested in what the API for snapshots would look like. Specifically how does user software do the following: 1. Create a snapshot 2. Delete a snapshot 3. List snapshots 4. Access data from a snapshot There are plenty of options there: -

[Qemu-devel] [Bug 618533] Re: OpenSolaris guest fails to see the Solaris partitions of a physical disk in qemu-kvm-9999 (GIT)

2011-05-22 Thread Brad Hards
Did this change get submitted? Is it still an issue? -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/618533 Title: OpenSolaris guest fails to see the Solaris partitions of a physical disk in

Re: [Qemu-devel] [RFC] Memory API

2011-05-22 Thread Jan Kiszka
On 2011-05-22 10:41, Gleb Natapov wrote: The chipset knows about the priorities. How to communicate them to the core? - at runtime, with hierarchical dispatch of -read() and -write(): slow, and doesn't work at all for RAM. - using registration order: fragile - using priorities - by

Re: [Qemu-devel] [PATCH 02/11] Delete unused tb_invalidate_page_range

2011-05-22 Thread Blue Swirl
On Tue, May 17, 2011 at 5:42 PM, Richard Henderson r...@twiddle.net wrote: On 05/14/2011 12:37 PM, Blue Swirl wrote: tb_invalidate_page_range() was intended to be used to invalidate an area of a TB which the guest explicitly flushes from i-cache. However, QEMU detects writes to code areas

[Qemu-devel] [PATCH v2 1/2] Generalize -machine command line option

2011-05-22 Thread Jan Kiszka
From: Jan Kiszka jan.kis...@siemens.com -machine somehow suggests that it selects the machine, but it doesn't. Fix that before this command is set in stone. Actually, -machine should supersede -M and allow to introduce arbitrary per-machine options to the command line. That will change the

[Qemu-devel] [PATCH 1/2] cpu-exec: prepare for user and softmmu split

2011-05-22 Thread Blue Swirl
There is little in common with user and softmmu versions of cpu_resume_signal(), split them. Fix coding style for the user emulator part. Signed-off-by: Blue Swirl blauwir...@gmail.com --- cpu-exec.c | 303 ++-- 1 files changed, 172

[Qemu-devel] [PATCH 6/9] cpu-exec: unify do_interrupt call

2011-05-22 Thread Blue Swirl
Now that all targets use common function signature for do_interrupt(), there is no need for the #ifdeffery anymore. Signed-off-by: Blue Swirl blauwir...@gmail.com --- cpu-exec.c | 26 -- 1 files changed, 0 insertions(+), 26 deletions(-) diff --git a/cpu-exec.c

[Qemu-devel] [PATCH/RFC 0/9] AREG0 series

2011-05-22 Thread Blue Swirl
This is still RFC. All except 9 seem to be OK, but 9 needs review. M68k patch (5) is untested. Patch 9 seems to be OK for x86_64 and Sparc64, but i386 crashes for some reason I can't see. Other architectures are untested, especially ia64 could be wrong. Blue Swirl (9): cpu_loop_exit: avoid

[Qemu-devel] [PATCH 1/9] cpu_loop_exit: avoid using AREG0

2011-05-22 Thread Blue Swirl
Make cpu_loop_exit() take a parameter for CPUState instead of relying on global env. Signed-off-by: Blue Swirl blauwir...@gmail.com --- cpu-exec.c| 16 exec-all.h|2 +- hw/alpha_palcode.c|2 +-

[Qemu-devel] [PATCH 2/9] sparc: fix coding style of the area to be moved

2011-05-22 Thread Blue Swirl
Before the next patch, fix coding style of the areas affected. Signed-off-by: Blue Swirl blauwir...@gmail.com --- target-sparc/op_helper.c | 31 +-- 1 files changed, 17 insertions(+), 14 deletions(-) diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c

[Qemu-devel] [PATCH 4/9] x86: use caller supplied CPUState for interrupt related stuff

2011-05-22 Thread Blue Swirl
Several x86 specific functions are called from cpu-exec.c with the assumption that global env register is valid. This will be changed later, so make the functions use caller supplied CPUState parameter. It would be cleaner to move the functions to helper.c, but there are quite a lot of

[Qemu-devel] [PATCH 5/9] m68k: use caller supplied CPUState for interrupt related stuff

2011-05-22 Thread Blue Swirl
Pass CPUState to do_interrupt(). This is needed by later patches. It would be cleaner to move the function to helper.c, but there are a few dependencies between do_interrupt() and other functions. Signed-off-by: Blue Swirl blauwir...@gmail.com --- cpu-exec.c |4 ++--

[Qemu-devel] [PATCH 3/9] sparc: move do_interrupt to helper.c

2011-05-22 Thread Blue Swirl
do_interrupt() was mixing CPUState pointer passed from caller and global env (AREG0). Fix by moving the function to helper.c. Introduce a helper for calling change_pstate() safely from outside of execution context. Signed-off-by: Blue Swirl blauwir...@gmail.com --- target-sparc/cpu.h |

[Qemu-devel] [PATCH 7/9] exec.h: fix coding style of the area to be moved

2011-05-22 Thread Blue Swirl
Before the next patch, fix coding style of the areas affected. Signed-off-by: Blue Swirl blauwir...@gmail.com --- target-alpha/exec.h |2 +- target-arm/exec.h|4 ++-- target-cris/exec.h |2 +- target-m68k/exec.h |2 +- target-microblaze/exec.h |2 +-

[Qemu-devel] [PATCH 9/9] cpu-exec.c: avoid AREG0 use

2011-05-22 Thread Blue Swirl
Make functions take a parameter for CPUState instead of relying on global env. Pass CPUState pointer to TCG prologue, which moves it to AREG0. Revert the hacks to avoid AREG0 use on Sparc hosts. Move cpu_has_work() and cpu_pc_from_tb() from exec.h to cpu.h. Compile the file without

[Qemu-devel] [PATCH 8/9] Move cpu_has_work and cpu_pc_from_tb to cpu.h

2011-05-22 Thread Blue Swirl
Move functions cpu_has_work() and cpu_pc_from_tb() from exec.h to cpu.h. This is needed by later patches. Signed-off-by: Blue Swirl blauwir...@gmail.com --- exec-all.h |1 + target-alpha/cpu.h | 12 +++ target-alpha/exec.h | 10 - target-arm/cpu.h

Re: [Qemu-devel] [RFC] Memory API

2011-05-22 Thread Avi Kivity
On 05/22/2011 01:53 PM, Jan Kiszka wrote: On 2011-05-22 10:41, Gleb Natapov wrote: The chipset knows about the priorities. How to communicate them to the core? - at runtime, with hierarchical dispatch of -read() and -write(): slow, and doesn't work at all for RAM. - using

Re: [Qemu-devel] [PATCH 7/9] exec.h: fix coding style of the area to be moved

2011-05-22 Thread Jan Kiszka
On 2011-05-22 13:18, Blue Swirl wrote: Before the next patch, fix coding style of the areas affected. Signed-off-by: Blue Swirl blauwir...@gmail.com --- target-alpha/exec.h |2 +- target-arm/exec.h|4 ++-- target-cris/exec.h |2 +- target-m68k/exec.h

[Qemu-devel] [PATCH] Remove unneeded kvm.h from cpu-exec.c

2011-05-22 Thread Jan Kiszka
From: Jan Kiszka jan.kis...@siemens.com This was obsoleted by 6792a57bf1. Signed-off-by: Jan Kiszka jan.kis...@siemens.com --- Noticed while reading your split-up patches. cpu-exec.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/cpu-exec.c b/cpu-exec.c index

Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API

2011-05-22 Thread Avi Kivity
On 05/22/2011 12:32 PM, Blue Swirl wrote: +void memory_region_add_coalescing(MemoryRegion *mr, + target_phys_addr_t offset, + target_phys_addr_t size); +/* Disable MMIO coalescing for the region. */

[Qemu-devel] [PATCH] XBRLE page delta compression for live migration of large memory apps

2011-05-22 Thread Shribman, Aidan
Subject: [PATCH] XBRLE page delta compression for live migration of large memory apps From: Aidan Shribman aidan.shrib...@sap.com By using XBRLE (Xor Based Run-Length-Encoding) we can reduce required bandwidth for transfering of dirty memory pages during live migration

[Qemu-devel] [PATCH 2/2] Fix spelling in comment (additon - addition)

2011-05-22 Thread Stefan Weil
Signed-off-by: Stefan Weil w...@mail.berlios.de --- tcg/tcg.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tcg/tcg.h b/tcg/tcg.h index cecef63..183a446 100644 --- a/tcg/tcg.h +++ b/tcg/tcg.h @@ -129,7 +129,7 @@ typedef tcg_target_ulong TCGArg; We use plain int by

[Qemu-devel] [PATCH 1/2] pflash_cfi02: Fix a typo in debug code (TARGET_FMT_pld - TARGET_FMT_plx)

2011-05-22 Thread Stefan Weil
Thanks to Tobias Hoffmann t...@gmx.de for this patch. Signed-off-by: Stefan Weil w...@mail.berlios.de --- hw/pflash_cfi02.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/pflash_cfi02.c b/hw/pflash_cfi02.c index 8fdafe6..725cd1e 100644 --- a/hw/pflash_cfi02.c +++

Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API

2011-05-22 Thread Blue Swirl
On Sun, May 22, 2011 at 2:36 PM, Avi Kivity a...@redhat.com wrote: On 05/22/2011 12:32 PM, Blue Swirl wrote:      +void memory_region_add_coalescing(MemoryRegion *mr,      +                                  target_phys_addr_t offset,      +                                  

Re: [Qemu-devel] [PATCH] block/rbd: Remove unused local variable

2011-05-22 Thread Stefan Weil
Am 07.05.2011 22:15, schrieb Stefan Weil: cppcheck report: rbd.c:246: style: Variable 'snap' is assigned a value that is never used Remove snap and the related code. Cc: Christian Brunnerc...@muc.de Cc: Kevin Wolfkw...@redhat.com Signed-off-by: Stefan Weilw...@mail.berlios.de --- block/rbd.c

Re: [Qemu-devel] [PATCH 21/26] target-xtensa: implement unaligned exception option

2011-05-22 Thread Max Filippov
+static void gen_load_store_alignment(DisasContext *dc, int shift, TCGv_i32 addr) +{ +TCGv_i32 tmp = tcg_temp_local_new_i32(); +tcg_gen_mov_i32(tmp, addr); +tcg_gen_andi_i32(addr, addr, ~0 shift); +if (option_enabled(dc, XTENSA_OPTION_UNALIGNED_EXCEPTION)) { +

Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API

2011-05-22 Thread Avi Kivity
On 05/22/2011 03:06 PM, Blue Swirl wrote: On Sun, May 22, 2011 at 2:36 PM, Avi Kivitya...@redhat.com wrote: On 05/22/2011 12:32 PM, Blue Swirl wrote: +void memory_region_add_coalescing(MemoryRegion *mr, + target_phys_addr_t offset,

Re: [Qemu-devel] [PATCH v7 3/4] piix_pci: optimize set irq path

2011-05-22 Thread Stefan Weil
Am 01.04.2011 13:43, schrieb Isaku Yamahata: optimize irq routing in piix_pic.c which has been a TODO. So far piix3 tracks each pirq level and checks whether a given pic pins is asserted by seeing if each pirq is mapped into the pic pin. This is independent on irq routing, but data path is on

Re: [Qemu-devel] [RFC] Memory API

2011-05-22 Thread Avi Kivity
On 05/22/2011 11:59 AM, Gleb Natapov wrote: There is no problem. If the PCI bus priority is higher than RAM priority, then PCI BARs will override RAM. So if memory region has no subregion that covers part of the region lower prio region is used? Now the same with the pictures: -- root

Re: [Qemu-devel] [PATCH v7 3/4] piix_pci: optimize set irq path

2011-05-22 Thread TeLeMan
I did a patch for it. http://lists.gnu.org/archive/html/qemu-devel/2011-05/msg01239.html On Sun, May 22, 2011 at 20:24, Stefan Weil w...@mail.berlios.de wrote: Hi, I got a regression report which was obviously caused by this commit: $ git bisect bad ab431c283e7055bcd6fb622f212bb29e84a6a134

Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API

2011-05-22 Thread Blue Swirl
On Sun, May 22, 2011 at 3:18 PM, Avi Kivity a...@redhat.com wrote: On 05/22/2011 03:06 PM, Blue Swirl wrote: On Sun, May 22, 2011 at 2:36 PM, Avi Kivitya...@redhat.com  wrote:  On 05/22/2011 12:32 PM, Blue Swirl wrote:            +void memory_region_add_coalescing(MemoryRegion *mr,      

Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API

2011-05-22 Thread Avi Kivity
On 05/22/2011 06:32 PM, Blue Swirl wrote: Can you suggest an alternative naming for the API? How about memory_region_container_init() memory_region_add() I'm neutral. If someone seconds this, I'll make it so. -- I have a truly marvellous patch that fixes the bug which this signature is

Re: [Qemu-devel] [Bug 618533] Re: OpenSolaris guest fails to see the Solaris partitions of a physical disk in qemu-kvm-9999 (GIT)

2011-05-22 Thread Blue Swirl
On Sun, May 22, 2011 at 1:43 PM, Brad Hards br...@frogmouth.net wrote: Did this change get submitted? Is it still an issue? At least the patch hasn't been applied. I don't remember seeing it in the list.

Re: [Qemu-devel] [RFC] Memory API

2011-05-22 Thread Anthony Liguori
On 05/22/2011 02:38 AM, Avi Kivity wrote: On 05/20/2011 06:59 PM, Jan Kiszka wrote: Jan had mentioned previously about registering a new temporary window. I assume the registration always gets highest_priority++, or do you have to explicitly specify that PCI container gets priority=1? The

Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API

2011-05-22 Thread Anthony Liguori
On 05/22/2011 01:38 AM, Avi Kivity wrote: On 05/20/2011 05:31 PM, Anthony Liguori wrote: Several alpha system chips MCE when accessed with incorrect sizes. E.g. only 64-bit accesses are allowed. But is this a characteristic of devices or is this a characteristic of the chipset/CPU? The

Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API

2011-05-22 Thread Anthony Liguori
On 05/22/2011 01:39 AM, Avi Kivity wrote: On 05/20/2011 05:46 PM, Anthony Liguori wrote: On 05/20/2011 09:40 AM, Richard Henderson wrote: On 05/20/2011 07:31 AM, Anthony Liguori wrote: But is this a characteristic of devices or is this a characteristic of the chipset/CPU? Chipset. So if

Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API

2011-05-22 Thread Avi Kivity
On 05/22/2011 06:46 PM, Anthony Liguori wrote: MemoryRegion *is* the dispatch path. Only done declaratively so we can flatten it whenever it changes. We don't want dispatch to be 100% declarative. That's what will cause the API to get horrendously ugly. An example is PCI-bus level

Re: [Qemu-devel] [RFC v1] Add declarations for hierarchical memory region API

2011-05-22 Thread Avi Kivity
On 05/22/2011 06:44 PM, Anthony Liguori wrote: At any rate, I'm fairly sure it doesn't belong in the MemoryRegion structure. Since it isn't a global property, where does it belong? The chipset should have an intercept in the dispatch path that enforces this (this assumes hierarchical

[Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl

2011-05-22 Thread Boris Derzhavets
apt-get install gobject-introspection libgirepository1.0-dev ./configure --prefix=/usr --build=x86_64-linux-gnu \ --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share \ --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/bin \ --with-python --disable-static

[Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl

2011-05-22 Thread Boris Derzhavets
# dpkg -i --force-overwrite ./spice-gtk_0.6-1_amd64.deb Generates :- root@boris-System-P5Q3:/usr/src/SPICE_GTK_0.6/WORK/usr# ls -CR .: bin include lib share ./bin: snappy spicy ./include: spice-client-glib-2.0 spice-client-gtk-2.0 spice-controller ./include/spice-client-glib-2.0:

Re: [Qemu-devel] [PATCH 9/9] cpu-exec.c: avoid AREG0 use

2011-05-22 Thread Blue Swirl
On Sun, May 22, 2011 at 2:18 PM, Blue Swirl blauwir...@gmail.com wrote: Make functions take a parameter for CPUState instead of relying on global env. Pass CPUState pointer to TCG prologue, which moves it to AREG0. I found the problem with this patch on i386, TCG assumes that its caller is

Re: [Qemu-devel] [PATCH 21/26] target-xtensa: implement unaligned exception option

2011-05-22 Thread Richard Henderson
On 05/22/2011 05:10 AM, Max Filippov wrote: There are three alignment possibilities for xtensa: no unaligned exception, unaligned exception and hardware alignment. In the first case unaligned access silently goes to aligned address. It looks like it cannot be done via do_unaligned_access, can

Re: [Qemu-devel] [PATCH 9/9] cpu-exec.c: avoid AREG0 use

2011-05-22 Thread Peter Maydell
On 22 May 2011 17:55, Blue Swirl blauwir...@gmail.com wrote: For ARM, the handcrafted instructions below need to be changed to save also r7:    /* stmdb sp!, { r4 - r6, r8 - r11, lr } */    tcg_out32(s, (COND_AL 28) | 0x092d4f70);    /* ldmia sp!, { r4 - r6, r8 - r11, pc } */    

Re: [Qemu-devel] [PATCH 9/9] cpu-exec.c: avoid AREG0 use

2011-05-22 Thread Laurent Desnogues
On Sun, May 22, 2011 at 7:10 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 22 May 2011 17:55, Blue Swirl blauwir...@gmail.com wrote: For ARM, the handcrafted instructions below need to be changed to save also r7:    /* stmdb sp!, { r4 - r6, r8 - r11, lr } */    tcg_out32(s, (COND_AL

Re: [Qemu-devel] [PATCH 9/9] cpu-exec.c: avoid AREG0 use

2011-05-22 Thread Peter Maydell
On 22 May 2011 18:33, Laurent Desnogues laurent.desnog...@gmail.com wrote: On Sun, May 22, 2011 at 7:10 PM, Peter Maydell peter.mayd...@linaro.org wrote: On 22 May 2011 17:55, Blue Swirl blauwir...@gmail.com wrote: For ARM, the handcrafted instructions below need to be changed to save also

Re: [Qemu-devel] [PATCH] piix_pci: fix piix3_set_irq_pic()

2011-05-22 Thread Michael S. Tsirkin
On Mon, May 16, 2011 at 07:50:55PM +0800, TeLeMan wrote: If pic_irq is greater than 7, the irq level is always 0 on 32bits. Signed-off-by: TeLeMan gele...@gmail.com Good catch Acked-by: Michael S. Tsirkin m...@redhat.com --- hw/piix_pci.c |2 +- 1 files changed, 1 insertions(+), 1

Re: [Qemu-devel] [PATCH] piix_pci: fix piix3_set_irq_pic()

2011-05-22 Thread Stefan Weil
Am 22.05.2011 21:06, schrieb Michael S. Tsirkin: On Mon, May 16, 2011 at 07:50:55PM +0800, TeLeMan wrote: If pic_irq is greater than 7, the irq level is always 0 on 32bits. Signed-off-by: TeLeMan gele...@gmail.com Good catch Acked-by: Michael S. Tsirkin m...@redhat.com The patch fixes

[Qemu-devel] [Bug 723871] Re: qemu-kvm-0.14.0 Aborts with -vga qxl

2011-05-22 Thread Boris Derzhavets
** Attachment added: spice-gtk-0.6-1ubuntu1_0.6-1_amd64.deb https://bugs.launchpad.net/qemu/+bug/723871/+attachment/2138919/+files/spice-gtk-0.6-1ubuntu1_0.6-1_amd64.deb -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU.

Re: [Qemu-devel] [PATCH 21/26] target-xtensa: implement unaligned exception option

2011-05-22 Thread Max Filippov
There are three alignment possibilities for xtensa: no unaligned exception, unaligned exception and hardware alignment. In the first case unaligned access silently goes to aligned address. It looks like it cannot be done via do_unaligned_access, can it? In the third case most unaligned

[Qemu-devel] [PATCH 2/4] hw/realview.c: Remove duplicate #include line

2011-05-22 Thread Stefan Hajnoczi
From: Peter Maydell peter.mayd...@linaro.org Remove a duplicate #include of sysbus.h. Signed-off-by: Peter Maydell peter.mayd...@linaro.org Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- hw/realview.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

[Qemu-devel] [PATCH 4/4] Fix typos in comments (chek - check)

2011-05-22 Thread Stefan Hajnoczi
From: Stefan Weil w...@mail.berlios.de Signed-off-by: Stefan Weil w...@mail.berlios.de Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- exec.c|2 +- target-ppc/STATUS |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exec.c b/exec.c index

[Qemu-devel] [PATCH 3/4] hw/sd.c: Don't complain about SDIO commands CMD52/CMD53

2011-05-22 Thread Stefan Hajnoczi
From: Peter Maydell peter.mayd...@linaro.org The SDIO specification introduces new commands 52 and 53. Handle as illegal command but do not complain on stderr, as SDIO-aware OSes (including Linux) may legitimately use these in their probing for presence of an SDIO card. Signed-off-by: Peter

[Qemu-devel] [PATCH 1/4] piix_pci: fix piix3_set_irq_pic()

2011-05-22 Thread Stefan Hajnoczi
From: TeLeMan gele...@gmail.com If pic_irq is greater than 7, the irq level is always 0 on 32bits. Signed-off-by: TeLeMan gele...@gmail.com Signed-off-by: Stefan Hajnoczi stefa...@linux.vnet.ibm.com --- hw/piix_pci.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[Qemu-devel] [PULL 0/4] Trivial patches for May 16 to May 20

2011-05-22 Thread Stefan Hajnoczi
The following changes since commit dcfd14b3741983c466ad92fa2ae91eeafce3e5d5: Delete unused tb_invalidate_page_range (2011-05-22 10:47:28 +) are available in the git repository at: git://repo.or.cz/qemu/stefanha.git trivial-patches I must have lost Stefan Weil's patch last pull request.

[Qemu-devel] Reminder about your invitation from Paulo Silva

2011-05-22 Thread Paulo Silva (LinkedIn Invitations)
LinkedIn This invitation is awaiting your response: From Paulo Silva -- (c) 2011, LinkedIn Corporation

Re: [Qemu-devel] [PATCH] piix_pci: fix piix3_set_irq_pic()

2011-05-22 Thread Isaku Yamahata
Thank you. Acked-by: Isaku Yamahata yamah...@valinux.co.jp On Mon, May 16, 2011 at 07:50:55PM +0800, TeLeMan wrote: If pic_irq is greater than 7, the irq level is always 0 on 32bits. Signed-off-by: TeLeMan gele...@gmail.com --- hw/piix_pci.c |2 +- 1 files changed, 1 insertions(+), 1

Re: [Qemu-devel] [PATCH v4 2/3] coroutine: add check-coroutine automated tests

2011-05-22 Thread Stefan Hajnoczi
On Fri, May 20, 2011 at 11:14 PM, Anthony Liguori anth...@codemonkey.ws wrote: On 05/20/2011 05:59 AM, Stefan Hajnoczi wrote: To run automated tests for coroutines:   make check-coroutine   ./check-coroutine On success the program terminates with exit status 0.  On failure an error

Re: [Qemu-devel] [RFC] live snapshot, live merge, live block migration

2011-05-22 Thread Jagane Sundar
Hello Stefan, I have been thinking about this since you sent out this message. A quick look at the libvirt API indicates that their notion of a snapshot often refers to a disk+memory snapshot. It would be good to provide feedback to the libvirt developers to make sure that proper support for a

Re: [Qemu-devel] [PATCH] virtio: correctly initialize vm_running

2011-05-22 Thread Jason Wang
On 05/18/2011 04:54 PM, Michael S. Tsirkin wrote: On Wed, May 18, 2011 at 01:57:37PM +0800, Jason Wang wrote: Current vm_running was not explicitly initialized and its value was changed by vm state notifier, this may confuse the virtio device being hotplugged such as virtio-net with vhost