[Qemu-devel] [PATCH 1/3](Corrected version) linux-user:Support for MIPS64 user mode emulation in QEMU

2011-04-28 Thread Khansa Butt
>From 52cca3fab46f65b493cd21096389ee459279cbb2 Mon Sep 17 00:00:00 2001 From: Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt < kha...@kics.edu.pk> Date: Fri, 29 Apr 2011 11:48:54 +0500 Subject: [PATCH 1/3] linux-user:Support for MIPS64 user mode emulation in QEMU Signed-off-by: Khansa Butt

[Qemu-devel] [PATCH 3/3] linux-user:Signal handling for MIPS64

2011-04-28 Thread Khansa Butt
>From 1ab1973118d9e676fcaaf234d153c8c7056aa82a Mon Sep 17 00:00:00 2001 From: Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt < kha...@kics.edu.pk> Date: Fri, 29 Apr 2011 10:52:38 +0500 Subject: [PATCH 3/3] linux-user:Signal handling for MIPS64 Signed-off-by: Khansa Butt --- linux-user/si

[Qemu-devel] [PATCH 1/3] linux-user:Support for MIPS64 user mode emulation in QEMU

2011-04-28 Thread Khansa Butt
>From fbd2b81503b1f55368b83903ded723f60de8aea7 Mon Sep 17 00:00:00 2001 From: Ehsan-ul-Haq, Abdul Qadeer, Abdul Waheed, Khansa Butt < kha...@kics.edu.pk> Date: Fri, 29 Apr 2011 11:17:56 +0500 Subject: [PATCH 1/3] linux-user:Support for MIPS64 user mode emulation in QEMU Signed-off-by: Khansa Butt

[Qemu-devel] [PATCH] Fix phys memory client - pass guest physical address not region offset

2011-04-28 Thread Alex Williamson
When we're trying to get a newly registered phys memory client updated with the current page mappings, we end up passing the region offset (a ram_addr_t) as the start address rather than the actual guest physical memory address (target_phys_addr_t). If your guest has less than 3.5G of memory, thes

[Qemu-devel] [PATCH] Make qemu-img convert properly consider backing file contents when used with -o backing_file

2011-04-28 Thread Brad Campbell
G'day all, This patch makes qemu-img properly consider the contents of the output backing file when performing a convert operation. All things considered it would also perform similar to rebase, where you could specify a completely different backing file and it would just de-dup. I've poked

Re: [Qemu-devel] [PATCH v3] virtio-9p: Use relative includes for files in hw

2011-04-28 Thread Peter Maydell
On 28 April 2011 21:49, Anthony Liguori wrote: > On 04/28/2011 03:02 PM, Stefan Weil wrote: >> -$(addprefix 9pfs/, $(9pfs-nested-y)): CFLAGS +=  -I$(SRC_PATH)/hw/ > > Wouldn't it be more straight forward to just do QEMU_CFLAGS +=? There aren't any other source files in QEMU which have custom incl

Re: [Qemu-devel] QEMU testing methodology & results

2011-04-28 Thread Peter Maydell
On 28 April 2011 20:44, Anthony Liguori wrote: > Just to be clear, at least for x86 CPU emulation, QEMU does not attempt to > achieve perfect fidelity Also true for ARM CPU emulation. The theoretical aim there as far as I'm concerned is architectural correctness -- in other words we should be a v

[Qemu-devel] free evening dress opportunity

2011-04-28 Thread odett
Wedding gownsOdett collectionMaggie sottero CollectionMoonlight CollectionDavinci CollectionAmsale CollectionEssense CollectionForever Yours CollectionElie Saab CollectionUlla-Maija CollectionsMorilee CollectionImpression CollectionBall Gowns CollectionProm dress CollectionEvening dresses Collectio

Re: [Qemu-devel] [PATCH v3 1/5] hpet 'driftfix': add hooks required to detect coalesced interrupts (x86 apic only)

2011-04-28 Thread Jan Kiszka
On 2011-04-28 20:51, Blue Swirl wrote: > On Thu, Apr 28, 2011 at 5:24 PM, Ulrich Obergfell wrote: >> 'target_get_irq_delivered' and 'target_reset_irq_delivered' contain >> entry addresses of functions that are utilized by update_irq() to >> detect coalesced interrupts. apic code loads these pointe

Re: [Qemu-devel] Supporting emulation of IOMMUs

2011-04-28 Thread Richard Henderson
On 04/21/2011 02:39 AM, Alexander Graf wrote: > How exactly is this going to be used? Also, in the end I think that > most devices should just go through a PCI specific interface that > then calls the DMA helpers: > > pci_memory_rw(PCIDevice *d, ...) > > even if it's only as simple as calling >

Re: [Qemu-devel] [PATCH v3] virtio-9p: Use relative includes for files in hw

2011-04-28 Thread Stefan Weil
Am 28.04.2011 22:49, schrieb Anthony Liguori: On 04/28/2011 03:02 PM, Stefan Weil wrote: Commit 353ac78d495ef976242abd868f68d78420861c2c moved the files without fixing the include paths. It used a modified CFLAGS to add hw to the include search path, but this breaks builds where the user wants t

[Qemu-devel] [PATCH] monitor: add PPC BookE SPRs

2011-04-28 Thread Scott Wood
Read them via KVM_GET_SREGS in kvm_arch_get_registers(), and display them in "info registers". Also get CR and PID from the existing KVM_GET_REGS. Signed-off-by: Scott Wood --- hw/ppc.c | 12 + monitor.c | 71 +++- target-ppc/cpu.h

Re: [Qemu-devel] KVM call minutes for Apr 26

2011-04-28 Thread Lucas Meneghel Rodrigues
On Tue, 2011-04-26 at 16:29 -0500, Anthony Liguori wrote: > On 04/26/2011 11:47 AM, Lucas Meneghel Rodrigues wrote: > > On Tue, 2011-04-26 at 17:58 +0300, Avi Kivity wrote: > >> On 04/26/2011 05:41 PM, Chris Wright wrote: > >>> - having basic common config could be useful > > Hi Lucas, > > Could

[Qemu-devel] [PATCH 24/33] target-alpha: Remap PIO space for 43-bit KSEG for EV6.

2011-04-28 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/helper.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/target-alpha/helper.c b/target-alpha/helper.c index 96b407b..bd3af38 100644 --- a/target-alpha/helper.c +++ b/target-alpha/helper.c @@ -220,14 +220,18 @@ st

[Qemu-devel] [PATCH 22/33] target-alpha: Implement more CALL_PAL values inline.

2011-04-28 Thread Richard Henderson
In particular, SWPIPL is used quite a lot by the Linux kernel. Doing this inline makes it significantly easier to step through without the debugger getting confused by the mode switch. Signed-off-by: Richard Henderson --- target-alpha/translate.c | 141 --

[Qemu-devel] [PATCH 21/33] target-alpha: Disable interrupts properly.

2011-04-28 Thread Richard Henderson
Interrupts are disabled in PALmode, and when the PS IL is high enough. Signed-off-by: Richard Henderson --- cpu-exec.c | 28 +--- target-alpha/exec.h | 11 ++- 2 files changed, 35 insertions(+), 4 deletions(-) diff --git a/cpu-exec.c b/cpu-exec.c ind

[Qemu-devel] [PATCH 30/33] target-alpha: Add CLIPPER emulation.

2011-04-28 Thread Richard Henderson
This is a DP264 variant, SMP capable, no unusual hardware present. The emulation does not currently include any PCI IOMMU code. Hopefully the generic support for that can be merged to HEAD soon. Signed-off-by: Richard Henderson --- Makefile.target|1 + hw/alpha_dp264.c | 170

[Qemu-devel] [PATCH 19/33] target-alpha: Use kernel mmu_idx for pal_mode.

2011-04-28 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/cpu.h |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h index 50a8109..88281bb 100644 --- a/target-alpha/cpu.h +++ b/target-alpha/cpu.h @@ -357,7 +357,13 @@ enum { static inl

[Qemu-devel] [PATCH 29/33] target-alpha: Add custom PALcode image for CLIPPER emulation.

2011-04-28 Thread Richard Henderson
Signed-off-by: Richard Henderson --- .gitmodules |3 +++ Makefile|3 ++- configure |8 +++- pc-bios/README |3 +++ pc-bios/palcode-clipper | Bin 0 -> 107565 bytes roms/qemu-palcode |1 + 6 files changed, 16 inserti

[Qemu-devel] [PATCH 33/33] target-alpha: Add high-resolution access to wall clock and an alarm.

2011-04-28 Thread Richard Henderson
The alarm is a fully general one-shot time comparator, which will be usable under Linux as a hrtimer source. It's much more flexible than the RTC source available on real hardware. The wall clock allows the guest access to the host timekeeping. Much like the KVM wall clock source for other guest

[Qemu-devel] [PATCH 12/33] target-alpha: Add IPRs to be used by the emulation PALcode.

2011-04-28 Thread Richard Henderson
These aren't actually used yet, but we can at least access them via the HW_MFPR and HW_MTPR instructions. Signed-off-by: Richard Henderson --- target-alpha/cpu.h | 13 +++ target-alpha/translate.c | 87 - 2 files changed, 98 insertions(+)

[Qemu-devel] [PATCH 31/33] target-alpha: Implement WAIT IPR.

2011-04-28 Thread Richard Henderson
--- target-alpha/translate.c | 31 +-- 1 files changed, 21 insertions(+), 10 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 8107d19..7b976be 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@ -1621,9 +1621,10

[Qemu-devel] [PATCH 32/33] target-alpha: Implement HALT IPR.

2011-04-28 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/helper.h|1 + target-alpha/op_helper.c | 10 ++ target-alpha/translate.c |5 + 3 files changed, 16 insertions(+), 0 deletions(-) diff --git a/target-alpha/helper.h b/target-alpha/helper.h index 2dec57e..c352c24 100644 --

[Qemu-devel] [PATCH 27/33] target-alpha: Use a fixed frequency for the RPCC in system mode.

2011-04-28 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/cpu.h |2 -- target-alpha/op_helper.c | 14 +++--- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h index 59b3bc3..30ecf2d 100644 --- a/target-alpha/cpu.h +++ b/target-alph

[Qemu-devel] [PATCH 14/33] target-alpha: Use do_restore_state for arithmetic exceptions.

2011-04-28 Thread Richard Henderson
This gets the PC right after an arithmetic exception. Also tidies the code in the TLB fault handlers to use common code. Signed-off-by: Richard Henderson --- target-alpha/op_helper.c | 49 - 1 files changed, 30 insertions(+), 19 deletions(-) diff -

[Qemu-devel] [PATCH 28/33] target-alpha: Implement TLB flush primitives.

2011-04-28 Thread Richard Henderson
Expose these via MTPR, more or less like the real HW does. Signed-off-by: Richard Henderson --- target-alpha/helper.h|3 +++ target-alpha/op_helper.c | 11 ++- target-alpha/translate.c | 32 +--- 3 files changed, 34 insertions(+), 12 deletions(-)

[Qemu-devel] [PATCH 26/33] target-alpha: Include the PCC_OFS in the RPCC return value.

2011-04-28 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/op_helper.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c index 91ef90a..42fec07 100644 --- a/target-alpha/op_helper.c +++ b/target-alpha/op_helper.c @@ -66,7 +66,8 @

[Qemu-devel] [PATCH 25/33] target-alpha: Trap for unassigned and unaligned addresses.

2011-04-28 Thread Richard Henderson
Signed-off-by: Richard Henderson --- exec-all.h |2 +- exec.c | 12 ++-- target-alpha/cpu.h |6 +- target-alpha/op_helper.c | 26 ++ 4 files changed, 38 insertions(+), 8 deletions(-) diff --git a/exec-all.h b/e

[Qemu-devel] [PATCH 13/33] target-alpha: Tidy up arithmetic exceptions.

2011-04-28 Thread Richard Henderson
Introduce and use arith_excp, filling in the trap_arg[01] IPRs. Signed-off-by: Richard Henderson --- target-alpha/op_helper.c | 34 +- 1 files changed, 21 insertions(+), 13 deletions(-) diff --git a/target-alpha/op_helper.c b/target-alpha/op_helper.c index 73e5

[Qemu-devel] [PATCH 20/33] target-alpha: All ISA checks to use TB->FLAGS.

2011-04-28 Thread Richard Henderson
We had two different methods in use, both of which referenced ENV, and neither of which indicated to the generic code when different compilation modes are not compatible. Signed-off-by: Richard Henderson --- target-alpha/cpu.h | 32 - target-alpha/translate.c | 396 +

[Qemu-devel] [PATCH 18/33] target-alpha: Add various symbolic constants.

2011-04-28 Thread Richard Henderson
The EXC_M_* constants were being set for the EV6, not as set for the Unix kernel entry point. Use PS_USER_MODE instead of hard-coding access to the PS register. Signed-off-by: Richard Henderson --- target-alpha/cpu.h | 56 +++-- target-alpha/trans

[Qemu-devel] [PATCH 23/33] target-alpha: Implement cpu_alpha_handle_mmu_fault for system mode.

2011-04-28 Thread Richard Henderson
Reads the page table how PALcode would, except that the virtual page table base register is not used. Signed-off-by: Richard Henderson --- target-alpha/cpu.h| 12 + target-alpha/helper.c | 129 +++-- 2 files changed, 137 insertions(+), 4 del

[Qemu-devel] [PATCH 11/33] target-alpha: Fixup translation of PALmode instructions.

2011-04-28 Thread Richard Henderson
All of the "raw" memory accesses should be "phys" instead. Fix some confusion about argument ordering of the store routines. Fix the implementation of store-conditional. Delete the "alt-mode" helpers. Because we only implement two mmu modes, let /a imply user-mode unconditionally. For the momen

[Qemu-devel] [PATCH 15/33] target-alpha: Merge HW_REI and HW_RET implementations.

2011-04-28 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/translate.c | 16 +--- 1 files changed, 13 insertions(+), 3 deletions(-) diff --git a/target-alpha/translate.c b/target-alpha/translate.c index 9e1576d..09edb0f 100644 --- a/target-alpha/translate.c +++ b/target-alpha/translate.c @@

[Qemu-devel] [PATCH 17/33] target-alpha: Swap shadow registers moving to/from PALmode.

2011-04-28 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/cpu.h |1 + target-alpha/helper.c| 37 - target-alpha/op_helper.c |5 - 3 files changed, 41 insertions(+), 2 deletions(-) diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h index 60445

[Qemu-devel] [PATCH 04/33] pci: Export pci_to_cpu_addr.

2011-04-28 Thread Richard Henderson
This is, more or less, the read accessor to pci_bus_set_mem_base as a write accessor. It will be needed for implementing sparse memory spaces for Alpha. Signed-off-by: Richard Henderson --- hw/pci.c |3 +-- hw/pci.h |1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw

[Qemu-devel] [PATCH 09/33] target-alpha: Rationalize internal processor registers.

2011-04-28 Thread Richard Henderson
Delete all the code that tried to emulate the real IPRs of some unnamed CPU. Replace those with just 3 slots that we can use to communicate trap information between the helper functions that signal exceptions and the OS trap handler. Signed-off-by: Richard Henderson --- linux-user/main.c

[Qemu-devel] [PATCH 10/33] target-alpha: Cleanup MMU modes.

2011-04-28 Thread Richard Henderson
Don't bother including executive and supervisor modes. Signed-off-by: Richard Henderson --- target-alpha/cpu.h | 36 1 files changed, 28 insertions(+), 8 deletions(-) diff --git a/target-alpha/cpu.h b/target-alpha/cpu.h index 1fc21dc..bdd396c 100644 --- a/

[Qemu-devel] [PATCH 16/33] target-alpha: Implement do_interrupt for system mode.

2011-04-28 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target-alpha/helper.c | 121 + 1 files changed, 111 insertions(+), 10 deletions(-) diff --git a/target-alpha/helper.c b/target-alpha/helper.c index c5479fd..a49f632 100644 --- a/target-alpha/helper.c +++ b/targ

[Qemu-devel] [PATCH 00/33] Alpha system emulation, v3

2011-04-28 Thread Richard Henderson
Patch tree at git://repo.or.cz/srv/git/qemu/rth.git axp-system-3 Changes from v2 -> v3 * Emulation target is now CLIPPER instead of SX164. I had forgotten how many bugs there were in various revisions of the CIA chipset, and the Linux kernel checks for them. Which means that we h

[Qemu-devel] [PATCH 06/33] target-alpha: Remove partial support for palcode emulation.

2011-04-28 Thread Richard Henderson
This code does not work, and will be replaced by a bios image. Signed-off-by: Richard Henderson --- Makefile.target |2 +- hw/alpha_palcode.c | 1048 -- target-alpha/cpu.h | 35 -- target-alpha/helper.c|2 +- target-a

[Qemu-devel] [PATCH 07/33] target-alpha: Enable the alpha-softmmu target.

2011-04-28 Thread Richard Henderson
Compiles, but no machine defined yet, so this will crash on startup. Signed-off-by: Richard Henderson --- Makefile.target |3 +- configure |1 + default-configs/alpha-softmmu.mak |9 target-alpha/machine.c| 87 +

[Qemu-devel] [PATCH 02/33] gdbserver: Don't deliver TIMER interrupts when SSTEP_NOIRQ either.

2011-04-28 Thread Richard Henderson
This would affect Sparc as well. Signed-off-by: Richard Henderson Cc: Blue Swirl --- cpu-exec.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/cpu-exec.c b/cpu-exec.c index 395cd8c..e1b85d6 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -361,6 +361,7 @@ int cpu_exec(CPUSt

[Qemu-devel] [PATCH 01/33] Export the unassigned_mem read/write functions.

2011-04-28 Thread Richard Henderson
Signed-off-by: Richard Henderson --- cpu-common.h |7 +++ exec.c | 12 ++-- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/cpu-common.h b/cpu-common.h index 96c02ae..e17020b 100644 --- a/cpu-common.h +++ b/cpu-common.h @@ -45,6 +45,13 @@ static inline void

[Qemu-devel] [PATCH 08/33] target-alpha: Tidy exception constants.

2011-04-28 Thread Richard Henderson
There's no need to attempt to match EXCP_* values with PALcode entry point offsets. Instead, compress all the values to make for more efficient switch statements within QEMU. We will be doing TLB fill within QEMU proper, not within the PALcode, so all of the ITB/DTB miss, double fault, and access

[Qemu-devel] [PATCH 05/33] target-alpha: Single-step properly across branches.

2011-04-28 Thread Richard Henderson
We were failing to generate EXC_DEBUG in the EXIT_PC_UPDATED path. This caused us not to stop at the instruction after a branch, but on the instruction afterward. Signed-off-by: Richard Henderson --- target-alpha/translate.c | 35 --- 1 files changed, 20 inserti

[Qemu-devel] [PATCH 03/33] target-alpha: Disassemble EV6 PALcode instructions.

2011-04-28 Thread Richard Henderson
The QEMU emulation PALcode will use EV6 PALcode insns regardless of the "real" cpu instruction set being emulated. Signed-off-by: Richard Henderson --- alpha-dis.c |4 dis-asm.h |3 +++ disas.c |2 +- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/alpha-dis

Re: [Qemu-devel] [PATCH v3] virtio-9p: Use relative includes for files in hw

2011-04-28 Thread Anthony Liguori
On 04/28/2011 03:02 PM, Stefan Weil wrote: Commit 353ac78d495ef976242abd868f68d78420861c2c moved the files without fixing the include paths. It used a modified CFLAGS to add hw to the include search path, but this breaks builds where the user wants to set special CFLAGS. Long include paths also i

[Qemu-devel] [PATCH v3] virtio-9p: Use relative includes for files in hw

2011-04-28 Thread Stefan Weil
Commit 353ac78d495ef976242abd868f68d78420861c2c moved the files without fixing the include paths. It used a modified CFLAGS to add hw to the include search path, but this breaks builds where the user wants to set special CFLAGS. Long include paths also increase compilation time. Therefore this pat

Re: [Qemu-devel] QEMU testing methodology & results

2011-04-28 Thread Anthony Liguori
On 04/08/2011 02:18 AM, Roberto Paleari wrote: Dear QEMU developers, we are a group of researchers working at the University of Milan, Italy. During the last year we focused on automatic techniques to find defects inside CPU emulators and virtualizers. Our work has been published in different co

[Qemu-devel] [PATCH] Fix typo in phys memory client registration path

2011-04-28 Thread Alex Williamson
When we register a physical memory client, we try to walk the page tables, calling the set_memory hook for every entry. Effectively playing catchup for the client for everything already registered. This typo prevents us from walking most of the page tables. Signed-off-by: Alex Williamson --- Th

Re: [Qemu-devel] QEMU testing methodology & results

2011-04-28 Thread Blue Swirl
On Wed, Apr 27, 2011 at 6:31 PM, Roberto Paleari wrote: > Hi Stefan, > > Not yet. I have not received any reply besides Blue Swirl's message.. Therefore, please publish the problems you found on this list so we can start fixing them.

Re: [Qemu-devel] [PATCH] virtio-9p: Fix compilation (wrong include statements)

2011-04-28 Thread Blue Swirl
On Thu, Apr 28, 2011 at 8:46 PM, Anthony Liguori wrote: > On 04/28/2011 12:44 PM, Stefan Weil wrote: >> >> Am 28.04.2011 19:39, schrieb Anthony Liguori: >>> >>> On 04/28/2011 12:08 PM, Stefan Weil wrote: From: Stefan Weil Commit 353ac78d495ef976242abd868f68d78420861c2c moved th

Re: [Qemu-devel] [PATCH v3 1/5] hpet 'driftfix': add hooks required to detect coalesced interrupts (x86 apic only)

2011-04-28 Thread Blue Swirl
On Thu, Apr 28, 2011 at 5:24 PM, Ulrich Obergfell wrote: > 'target_get_irq_delivered' and 'target_reset_irq_delivered' contain > entry addresses of functions that are utilized by update_irq() to > detect coalesced interrupts. apic code loads these pointers during > initialization. I'm not so happ

[Qemu-devel] [PATCH v2] virtio-9p: Use relative includes for files in hw

2011-04-28 Thread Stefan Weil
Commit 353ac78d495ef976242abd868f68d78420861c2c moved the files without fixing the include paths. It used a modified CFLAGS to add hw to the include search path, but this breaks builds where the user wants to set special CFLAGS. Long include paths also increase compilation time. Therefore this pat

Re: [Qemu-devel] [PULL] Request for Pull

2011-04-28 Thread Anthony Liguori
On 04/27/2011 11:16 AM, Venkateswararao Jujjuri wrote: The following changes since commit 661bfc80e876d32da8befe53ba0234d87fc0bcc2: Jan Kiszka (1): pflash: Restore & fix lazy ROMD switching are available in the git repository at: git://repo.or.cz/qemu/aliguori/jvrao.git for-anthony It's prett

Re: [Qemu-devel] [PATCH] virtio-9p: Fix compilation (wrong include statements)

2011-04-28 Thread Anthony Liguori
On 04/28/2011 12:44 PM, Stefan Weil wrote: Am 28.04.2011 19:39, schrieb Anthony Liguori: On 04/28/2011 12:08 PM, Stefan Weil wrote: From: Stefan Weil Commit 353ac78d495ef976242abd868f68d78420861c2c moved the files without fixing the include paths. Signed-off-by: Stefan Weil This is not cor

Re: [Qemu-devel] [PATCH] virtio-9p: Fix compilation (wrong include statements)

2011-04-28 Thread Stefan Weil
Am 28.04.2011 19:39, schrieb Anthony Liguori: On 04/28/2011 12:08 PM, Stefan Weil wrote: From: Stefan Weil Commit 353ac78d495ef976242abd868f68d78420861c2c moved the files without fixing the include paths. Signed-off-by: Stefan Weil This is not correct. I think we learned in IRC that the p

Re: [Qemu-devel] [PULL] Request for Pull

2011-04-28 Thread Anthony Liguori
On 04/28/2011 12:21 PM, Stefan Weil wrote: Am 28.04.2011 15:56, schrieb Anthony Liguori: On 04/27/2011 11:16 AM, Venkateswararao Jujjuri wrote: The following changes since commit 661bfc80e876d32da8befe53ba0234d87fc0bcc2: Jan Kiszka (1): pflash: Restore & fix lazy ROMD switching are available i

Re: [Qemu-devel] [PATCH] virtio-9p: Fix compilation (wrong include statements)

2011-04-28 Thread Anthony Liguori
On 04/28/2011 12:08 PM, Stefan Weil wrote: From: Stefan Weil Commit 353ac78d495ef976242abd868f68d78420861c2c moved the files without fixing the include paths. Signed-off-by: Stefan Weil This is not correct. I think we learned in IRC that the problem is Stefan is using CFLAGS=-g which over

Re: [Qemu-devel] [PULL] Request for Pull

2011-04-28 Thread Stefan Weil
Am 28.04.2011 15:56, schrieb Anthony Liguori: On 04/27/2011 11:16 AM, Venkateswararao Jujjuri wrote: The following changes since commit 661bfc80e876d32da8befe53ba0234d87fc0bcc2: Jan Kiszka (1): pflash: Restore & fix lazy ROMD switching are available in the git repository at: git://repo.or.cz/q

[Qemu-devel] [PATCH] virtio-9p: Fix compilation (wrong include statements)

2011-04-28 Thread Stefan Weil
From: Stefan Weil Commit 353ac78d495ef976242abd868f68d78420861c2c moved the files without fixing the include paths. Signed-off-by: Stefan Weil --- hw/9pfs/virtio-9p-debug.c |5 +++-- hw/9pfs/virtio-9p-local.c |3 ++- hw/9pfs/virtio-9p-posix-acl.c |2 +- hw/9pfs/virtio-9p

Re: [Qemu-devel] Bug in virtio-9p when fstatting an fd referring to a file that no longer exists

2011-04-28 Thread Sassan Panahinejad
This thread seems relevant: http://www.mail-archive.com/linux-fsdevel@vger.kernel.org/msg09159.html Unless things have changed, it looks like the problem is in the client kernel (although note that there isn't support in qemu, even if the client did send an fid associated with an open file!). Any t

[Qemu-devel] Bug in virtio-9p when fstatting an fd referring to a file that no longer exists

2011-04-28 Thread Sassan Panahinejad
It should be possible for guest applications to fstat a file for which they have a valid file descriptor, even if the file has been removed. Demonstrated by the code sample below (fstat reports no such file or directory). Strangely it seems that reading from a file in this state works fine (and whe

[Qemu-devel] [PATCH 02/18] Fix typos in comments (accross -> across)

2011-04-28 Thread Stefan Weil
Signed-off-by: Stefan Weil --- darwin-user/syscall.c |2 +- target-microblaze/helper.c |2 +- tcg/tcg.h |4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/darwin-user/syscall.c b/darwin-user/syscall.c index 060acc8..f3cc1f8 100644 --- a/darwi

[Qemu-devel] [PATCH 07/18] Fix typo in comment (consistant -> consistent)

2011-04-28 Thread Stefan Weil
Signed-off-by: Stefan Weil --- libcacard/vcard_emul_nss.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libcacard/vcard_emul_nss.c b/libcacard/vcard_emul_nss.c index baada52..f3db657 100644 --- a/libcacard/vcard_emul_nss.c +++ b/libcacard/vcard_emul_nss.c @@ -971,7 +97

[Qemu-devel] [PATCH 06/18] Fix typo in comment (embeded -> embedded)

2011-04-28 Thread Stefan Weil
Signed-off-by: Stefan Weil --- target-ppc/cpu.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h index 04b1259..e438b17 100644 --- a/target-ppc/cpu.h +++ b/target-ppc/cpu.h @@ -225,7 +225,7 @@ enum { /* 970FX specific exceptions

[Qemu-devel] [PATCH 18/18] Fix typos in comment (threshhold -> threshold, mapp -> map)

2011-04-28 Thread Stefan Weil
Signed-off-by: Stefan Weil --- hw/xilinx_axidma.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/xilinx_axidma.c b/hw/xilinx_axidma.c index e32534f..571a5b0 100644 --- a/hw/xilinx_axidma.c +++ b/hw/xilinx_axidma.c @@ -134,10 +134,10 @@ static inline int stream_idle

[Qemu-devel] [PATCH 14/18] Fix typos in comments and code (occured -> occurred and related)

2011-04-28 Thread Stefan Weil
The code changed here is an unused data type name (evt_flush_occurred). Signed-off-by: Stefan Weil --- block.c|2 +- block/qcow2-refcount.c |2 +- cpu-all.h |2 +- cpu-exec.c |2 +- hw/bt.h|2 +- hw/pcie.c

[Qemu-devel] [PATCH 13/18] Fix typos in comments (neccessary -> necessary)

2011-04-28 Thread Stefan Weil
Signed-off-by: Stefan Weil --- bsd-user/qemu.h|2 +- linux-user/qemu.h |2 +- target-arm/translate.c |4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h index e343894..1ba2d08 100644 --- a/bsd-user/qemu.h +++ b/bsd-use

[Qemu-devel] [PATCH 15/18] Fix typo in comment (relevent -> relevant)

2011-04-28 Thread Stefan Weil
Signed-off-by: Stefan Weil --- hppa-dis.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hppa-dis.c b/hppa-dis.c index 49f99c8..a5760a9 100644 --- a/hppa-dis.c +++ b/hppa-dis.c @@ -1645,7 +1645,7 @@ static const char *const fp_reg_names[] = typedef unsigned int CORE_

[Qemu-devel] [PATCH 16/18] Fix typo in comment (responsiblity -> responsibility)

2011-04-28 Thread Stefan Weil
Signed-off-by: Stefan Weil --- hw/pcie_aer.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/pcie_aer.c b/hw/pcie_aer.c index 0c4e8a5..f08d3c7 100644 --- a/hw/pcie_aer.c +++ b/hw/pcie_aer.c @@ -612,7 +612,7 @@ static bool pcie_aer_inject_uncor_error(PCIEAERInject *inj

[Qemu-devel] [Bug 458521] Re: kvm crash when using virtio for network, hardy guest

2011-04-28 Thread Jamie Strandboge
@John, what is the status of this bug on Hardy/linux? ** Changed in: qemu Status: In Progress => Fix Released ** Changed in: linux (Ubuntu Hardy) Status: Triaged => Incomplete -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to

[Qemu-devel] [PATCH 17/18] Fix typo in comment (truely -> truly)

2011-04-28 Thread Stefan Weil
Signed-off-by: Stefan Weil --- linux-user/mmap.c |2 +- target-cris/translate_v10.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-user/mmap.c b/linux-user/mmap.c index 0cf22f8..994c02b 100644 --- a/linux-user/mmap.c +++ b/linux-user/mmap.c @@ -354,7

[Qemu-devel] [PATCH 08/18] Fix typo in comment (dieing -> dying)

2011-04-28 Thread Stefan Weil
Signed-off-by: Stefan Weil --- linux-user/signal.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/linux-user/signal.c b/linux-user/signal.c index ce033e9..6fe086b 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -391,7 +391,7 @@ static void QEMU_NORETURN fo

[Qemu-devel] [PATCH 05/18] Fix typo in comment (auxilliary -> auxiliary)

2011-04-28 Thread Stefan Weil
Signed-off-by: Stefan Weil --- hw/pci_regs.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/pci_regs.h b/hw/pci_regs.h index dd0bed4..5a5ab89 100644 --- a/hw/pci_regs.h +++ b/hw/pci_regs.h @@ -223,7 +223,7 @@ #define PCI_PM_CAP_PME_CLOCK 0x0008 /* PME clock requi

[Qemu-devel] [PATCH 09/18] Fix typos in comments (imediately -> immediately)

2011-04-28 Thread Stefan Weil
Signed-off-by: Stefan Weil --- hw/lan9118.c |2 +- hw/syborg_serial.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/lan9118.c b/hw/lan9118.c index 2dc8d18..4c42fe9 100644 --- a/hw/lan9118.c +++ b/hw/lan9118.c @@ -721,7 +721,7 @@ static void do_phy_write(la

[Qemu-devel] [PATCH 03/18] Fix typos in comments (accessable -> accessible, priveleged -> privileged)

2011-04-28 Thread Stefan Weil
Signed-off-by: Stefan Weil --- hw/sh7750_regs.h |6 +++--- target-cris/cpu.h |2 +- tests/test-mmap.c |4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/hw/sh7750_regs.h b/hw/sh7750_regs.h index 5a23a2c..6ec13ab 100644 --- a/hw/sh7750_regs.h +++ b/hw/sh7750_regs.

[Qemu-devel] [PATCH 12/18] Fix typos in comments (instanciation -> instantiation)

2011-04-28 Thread Stefan Weil
Signed-off-by: Stefan Weil --- hw/ppc4xx_devs.c|2 +- target-ppc/translate_init.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/ppc4xx_devs.c b/hw/ppc4xx_devs.c index 7f9ed17..68bdfaa 100644 --- a/hw/ppc4xx_devs.c +++ b/hw/ppc4xx_devs.c @@ -38,7 +38,

[Qemu-devel] [PATCH 01/18] Fix typos in comments (dependancy -> dependency)

2011-04-28 Thread Stefan Weil
Signed-off-by: Stefan Weil --- Changelog |2 +- Makefile.objs |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 152feaa..1c41e14 100644 --- a/Changelog +++ b/Changelog @@ -525,7 +525,7 @@ version 0.1.5: - ppc64 support + personality(

[Qemu-devel] [PATCH 11/18] Fix typos in comments (interupt -> interrupt)

2011-04-28 Thread Stefan Weil
Signed-off-by: Stefan Weil --- cpu-exec.c |2 +- hw/mst_fpga.c|2 +- hw/pl031.c |2 +- hw/pl061.c |4 ++-- target-mips/translate_init.c |2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/c

[Qemu-devel] [PATCH 10/18] Fix typos in comments (existance -> existence)

2011-04-28 Thread Stefan Weil
Signed-off-by: Stefan Weil --- libcacard/vscard_common.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libcacard/vscard_common.h b/libcacard/vscard_common.h index bebd52d..609ae98 100644 --- a/libcacard/vscard_common.h +++ b/libcacard/vscard_common.h @@ -153,7 +153,7 @

[Qemu-devel] [PATCH 04/18] Fix typo in comment (colum -> column)

2011-04-28 Thread Stefan Weil
Signed-off-by: Stefan Weil --- hw/ssd0303.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/ssd0303.c b/hw/ssd0303.c index 108c068..b39e259 100644 --- a/hw/ssd0303.c +++ b/hw/ssd0303.c @@ -93,7 +93,7 @@ static int ssd0303_send(i2c_slave *i2c, uint8_t data)

[Qemu-devel] [PATCH 2/2] NBD: Convert the NBD driver to use the AIO interface.

2011-04-28 Thread nick
From: Nick Thomas This preserves the previous behaviour where the NBD server is unavailable or goes away during guest execution, but switches the NBD backend to present the AIO interface instead of the sync IO interface. We also split read & write requests into 1 MiB blocks (minus header). This

[Qemu-devel] [PATCH 1/2] NBD: Avoid leaking a couple of strings when the NBD device is closed

2011-04-28 Thread nick
From: Nick Thomas Signed-off-by: Nick Thomas --- block/nbd.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/block/nbd.c b/block/nbd.c index 1d6b225..7a52f62 100644 --- a/block/nbd.c +++ b/block/nbd.c @@ -239,6 +239,10 @@ static int nbd_write(BlockDriverState *bs, in

Re: [Qemu-devel] [PATCH] NBD: Convert the NBD driver to use the AIO interface.

2011-04-28 Thread Nicholas Thomas
Hi again Kevin, all, Thanks for applying the first four patches, and apologies for taking so long to get back to you. I've found the time to take your comments on-board and re-do the last patch, + the string-leak patch; I'll send them on shortly, I just wanted to make a few notes on yours, first.

Re: [Qemu-devel] [PATCH v2 1/1] Add QMP bits for blockdev-snapshot-sync.

2011-04-28 Thread Anthony Liguori
On 04/28/2011 09:57 AM, Jes Sorensen wrote: On 04/28/11 16:46, Anthony Liguori wrote: On 04/28/2011 09:38 AM, Jes Sorensen wrote: Sorry but this is utterly bogus. The snapshot support as is works fine, and the command is in the monitor. We should expose it in QMP as well. It went in for the

Re: [Qemu-devel] [PATCH v2 1/1] Add QMP bits for blockdev-snapshot-sync.

2011-04-28 Thread Jes Sorensen
On 04/28/11 16:46, Anthony Liguori wrote: > On 04/28/2011 09:38 AM, Jes Sorensen wrote: >> >> Sorry but this is utterly bogus. >> >> The snapshot support as is works fine, and the command is in the >> monitor. We should expose it in QMP as well. > > It went in for the monitor because it was consid

Re: [Qemu-devel] [PATCHv2] ide/atapi: fix set but unused

2011-04-28 Thread Stefan Weil
Am 28.04.2011 15:34, schrieb Alon Levy: Signed-off-by: Alon Levy --- hw/ide/atapi.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/hw/ide/atapi.c b/hw/ide/atapi.c index 690a0ab..0073c8d 100644 --- a/hw/ide/atapi.c +++ b/hw/ide/atapi.c @@ -1080,17 +1080,15 @@ static

Re: [Qemu-devel] [PATCH v2 1/1] Add QMP bits for blockdev-snapshot-sync.

2011-04-28 Thread Anthony Liguori
On 04/28/2011 09:38 AM, Jes Sorensen wrote: Sorry but this is utterly bogus. The snapshot support as is works fine, and the command is in the monitor. We should expose it in QMP as well. It went in for the monitor because it was considered an imperfect command so we held up the QMP side beca

Re: [Qemu-devel] [PATCH v2 1/1] Add QMP bits for blockdev-snapshot-sync.

2011-04-28 Thread Jes Sorensen
On 04/28/11 16:42, Kevin Wolf wrote: > What type of file system is your /tmp? You need to provide full path to > the snapshot file if you don't want it created next to where your > qemu > binary is being executed. >>> >> I think the problem is that this is a temporar

Re: [Qemu-devel] [PATCH v2 1/1] Add QMP bits for blockdev-snapshot-sync.

2011-04-28 Thread Kevin Wolf
Am 28.04.2011 15:46, schrieb Jes Sorensen: > On 04/28/11 15:41, Kevin Wolf wrote: Finally, what's the expect behavior when -snapshot is used? I'm getting >> this: >> >> (qemu) snapshot_blkdev ide0-hd0 snap-test >> Could not open '/tmp/vl.6w8YXA' >> (qemu) What

Re: [Qemu-devel] [PATCH v2 1/1] Add QMP bits for blockdev-snapshot-sync.

2011-04-28 Thread Jes Sorensen
On 04/28/11 16:36, Anthony Liguori wrote: > On 04/27/2011 10:05 AM, Luiz Capitulino wrote: >> On Mon, 18 Apr 2011 16:27:01 +0200 >> jes.soren...@redhat.com wrote: >> >>> From: Jes Sorensen >>> >>> This is quivalent to snapshot_blkdev in the human monitor, with _sync >>> added to the command name to

Re: [Qemu-devel] [PATCH v2 1/1] Add QMP bits for blockdev-snapshot-sync.

2011-04-28 Thread Anthony Liguori
On 04/28/2011 09:21 AM, Luiz Capitulino wrote: On Thu, 28 Apr 2011 15:21:41 +0200 Jes Sorensen wrote: On 04/27/11 17:05, Luiz Capitulino wrote: +If a new image file is specified, the new image file will become the +new root image. If format is specified, the snapshot file will be +created in

Re: [Qemu-devel] [PATCH v2 1/1] Add QMP bits for blockdev-snapshot-sync.

2011-04-28 Thread Anthony Liguori
On 04/27/2011 10:05 AM, Luiz Capitulino wrote: On Mon, 18 Apr 2011 16:27:01 +0200 jes.soren...@redhat.com wrote: From: Jes Sorensen This is quivalent to snapshot_blkdev in the human monitor, with _sync added to the command name to make it explicit that the command is synchronous and leave spac

[Qemu-devel] [PATCH 2/2] atapi: Explain why we need a 'media not present' state

2011-04-28 Thread Amit Shah
After the re-org of the atapi code, it might not be intuitive for a reader of the code to understand why we're inserting a 'media not present' state between cd changes. Signed-off-by: Amit Shah --- hw/ide/atapi.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/hw/

[Qemu-devel] [PATCH 1/2] atapi: Move comment to proper place

2011-04-28 Thread Amit Shah
Move misplaced comment for media_is_dvd() Signed-off-by: Amit Shah --- hw/ide/atapi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/ide/atapi.c b/hw/ide/atapi.c index 690a0ab..86b18d8 100644 --- a/hw/ide/atapi.c +++ b/hw/ide/atapi.c @@ -71,12 +71,12 @@ static void

Re: [Qemu-devel] [PATCH v2 1/1] Add QMP bits for blockdev-snapshot-sync.

2011-04-28 Thread Jes Sorensen
On 04/28/11 16:21, Luiz Capitulino wrote: > On Thu, 28 Apr 2011 15:21:41 +0200 > Jes Sorensen wrote: > >> On 04/27/11 17:05, Luiz Capitulino wrote: >>> All arguments should be mandatory in QMP, IMO. >> >> Sorry, but there is absolutely no reason to make all arguments >> mandatory. Sure it can be

[Qemu-devel] [PATCH v3 5/5] hpet 'driftfix': add code in hpet_timer() to compensate delayed callbacks and coalesced interrupts

2011-04-28 Thread Ulrich Obergfell
Loss of periodic timer interrupts caused by delayed callbacks and by interrupt coalescing is compensated by gradually injecting additional interrupts during subsequent timer intervals, starting at a rate of one additional interrupt per interval. The injection of additional interrupts is based on a

[Qemu-devel] [PATCH v3 2/5] hpet 'driftfix': add driftfix property to HPETState and DeviceInfo

2011-04-28 Thread Ulrich Obergfell
driftfix is a 'bit type' property. Compensation of delayed callbacks and coalesced interrupts can be enabled with the command line option -global hpet.driftfix=on driftfix is 'off' (disabled) by default. Signed-off-by: Ulrich Obergfell --- hw/hpet.c |3 +++ 1 files changed, 3 insertion

  1   2   >