[Qemu-devel] [Bug 663713] Re: Mouse frozen under an emulated ubuntu

2011-04-08 Thread Brad Hards
0.14 is out, so close bug report. ** Changed in: qemu Status: Incomplete => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/663713 Title: Mouse frozen under an emulated ubuntu S

[Qemu-devel] [Bug 663713] Re: Mouse frozen under an emulated ubuntu

2011-04-08 Thread FredBezies
Sorry :) I have some big problems with gwibber, and I thought (need some coffee) that it was the gwibber bug I reported. Bug is long dead. I think I stopped seeing it during 0.14.0 development time. And I as am using a git version of qemu and ubuntu when I want to flawlessly, we can say : dead b

Re: [Qemu-devel] Re: [regression] configure: add opengl detection

2011-04-08 Thread Edgar E. Iglesias
On Sat, Apr 09, 2011 at 02:04:07AM +0200, Alexander Graf wrote: > > On 08.04.2011, at 23:13, Michael Walle wrote: > > > Am Freitag 08 April 2011, 12:00:32 schrieb Edgar E. Iglesias: > >> On Thu, Apr 07, 2011 at 11:35:47PM +0200, Michael Walle wrote: > >>> Am Mittwoch 06 April 2011, 16:13:58 schri

[Qemu-devel] [Bug 663713] Re: Mouse frozen under an emulated ubuntu

2011-04-08 Thread Brad Hards
I'm not sure I understand you. I'm confused about whether you think qemu is "dead", or the bug is "dead", and what the relationship with gwibber is. Can you state whether, in your opinion / experience, a current version of qemu still has this bug or not? -- You received this bug notification bec

[Qemu-devel] [Bug 691424] Re: qemu/kvm SDL over ssh -X broken

2011-04-08 Thread Brad Hards
Hi, I tried this with a current (git) build, and I'm not able to reproduce it. I do see a problem with a bad initial SDL window size (its much too small) on a remote machine over a moderate-level network (wireless LAN). I don't see that when ssh-ing to localhost (even though both hosts are basica

[Qemu-devel] [Bug 663713] Re: Mouse frozen under an emulated ubuntu

2011-04-08 Thread FredBezies
I forget to say : it is a gwibber bug I was thinking about ;) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/663713 Title: Mouse frozen under an emulated ubuntu Status in QEMU: Incomplete Bug de

[Qemu-devel] [Bug 663713] Re: Mouse frozen under an emulated ubuntu

2011-04-08 Thread FredBezies
Long dead. Now, I have another problem. Not working input box. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/663713 Title: Mouse frozen under an emulated ubuntu Status in QEMU: Incomplete Bug d

[Qemu-devel] [Bug 663713] Re: Mouse frozen under an emulated ubuntu

2011-04-08 Thread Brad Hards
Fred, Can you test a current version and confirm that everything is OK now? Brad -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/663713 Title: Mouse frozen under an emulated ubuntu Status in QEMU

[Qemu-devel] [PATCH] event: trivial coding style fixes.

2011-04-08 Thread Brad Hards
Signed-off-by: Brad Hards --- input.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/input.c b/input.c index ec05548..5664d3a 100644 --- a/input.c +++ b/input.c @@ -161,15 +161,15 @@ void kbd_mouse_event(int dx, int dy, int dz, int buttons_state) if

[Qemu-devel] [Bug 754635] Re: -d option outs wrong info about sections

2011-04-08 Thread Brad Hards
Hi, Thanks for reporting this issue, and the investigation. I don't really understand the rationale for the change, so I can't help much. This change appears to be from 5cd2c5b6ad75c46d40118ac67c0c09d4e7930a65. I think input from Richard Henderson (the author of the change) would be very useful.

[Qemu-devel] Re: Slow PXE boot in qemu.git (fast in qemu-kvm.git)

2011-04-08 Thread Anthony Liguori
On 04/08/2011 06:25 PM, Luiz Capitulino wrote: Hi there, Summary: - PXE boot in qemu.git (HEAD f124a41) is quite slow, more than 5 minutes. Got the problem with e1000, virtio and rtl8139. However, pcnet *works* (it's as fast as qemu-kvm.git) - PXE boot in qemu-kvm.git (HEAD df85c05

[Qemu-devel] Re: [PATCH] kvm: ppc: fixes for KVM_SET_SREGS on init

2011-04-08 Thread Alexander Graf
On 08.04.2011, at 23:48, Scott Wood wrote: > Classic/server ppc has had SREGS for a while now (though I think not > always?), but it's still missing for booke. Check the capability before > calling KVM_SET_SREGS. > > Without this, booke kvm fails to boot as of commit > 84b4915dd2c0eaa86c970ffc4

Re: [Qemu-devel] [PATCH] monitor: avoid moving cursor during "mouse_button" command

2011-04-08 Thread Brad Hards
On Sat, 9 Apr 2011 12:34:21 am Markus Armbruster wrote: > There's one instance of state: position (if absolute) + buttons for any > number of mice. Funny things can happen when you have more than one > mouse and switch between them. For the common case (in most OS), each of the mice are mixed toge

Re: [Qemu-devel] Re: [regression] configure: add opengl detection

2011-04-08 Thread Alexander Graf
On 08.04.2011, at 23:13, Michael Walle wrote: > Am Freitag 08 April 2011, 12:00:32 schrieb Edgar E. Iglesias: >> On Thu, Apr 07, 2011 at 11:35:47PM +0200, Michael Walle wrote: >>> Am Mittwoch 06 April 2011, 16:13:58 schrieb Benjamin Poirier: Works as usual. The problem I'm facing stems

Re: [Qemu-devel] [PATCH] mpc85xx_pci_map_irq: change "unknow" to "unknown".

2011-04-08 Thread Alexander Graf
On 09.04.2011, at 00:06, Scott Wood wrote: > Signed-off-by: Scott Wood Definitely a trivial patch :). Acked-by: Alexander Graf Alex

[Qemu-devel] Slow PXE boot in qemu.git (fast in qemu-kvm.git)

2011-04-08 Thread Luiz Capitulino
Hi there, Summary: - PXE boot in qemu.git (HEAD f124a41) is quite slow, more than 5 minutes. Got the problem with e1000, virtio and rtl8139. However, pcnet *works* (it's as fast as qemu-kvm.git) - PXE boot in qemu-kvm.git (HEAD df85c051) is fast, less than a minute. Tried with e1000,

[Qemu-devel] [PATCH] mpc85xx_pci_map_irq: change "unknow" to "unknown".

2011-04-08 Thread Scott Wood
Signed-off-by: Scott Wood --- hw/ppce500_pci.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/ppce500_pci.c b/hw/ppce500_pci.c index 11edd03..2fc8792 100644 --- a/hw/ppce500_pci.c +++ b/hw/ppce500_pci.c @@ -198,7 +198,7 @@ static int mpc85xx_pci_map_irq(PCIDevice *pc

[Qemu-devel] [PATCH] kvm: ppc: fixes for KVM_SET_SREGS on init

2011-04-08 Thread Scott Wood
Classic/server ppc has had SREGS for a while now (though I think not always?), but it's still missing for booke. Check the capability before calling KVM_SET_SREGS. Without this, booke kvm fails to boot as of commit 84b4915dd2c0eaa86c970ffc42a68ea8ba9e48b5 (kvm: Handle kvm_init_vcpu errors). Also

[Qemu-devel] [PATCH] qemu-iotests: Fixed no scratch directory in qemu-iotests

2011-04-08 Thread Lyu Mitnick
This my first time to submit patch, please tell me if I have something wrong! Create scratch/ on first run. Signed-off-by: Mitnick Lyu --- common.config |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/common.config b/common.config index bdd0530..09923d9 100644 -

[Qemu-devel] [PATCH 06/11] Move CPU related functions to cpus.h

2011-04-08 Thread Blue Swirl
Move declarations of CPU related functions to cpus.h. Adjust the only user. Signed-off-by: Blue Swirl --- cpus.h |4 savevm.c |1 + sysemu.h |4 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cpus.h b/cpus.h index e021126..6fdeb0d 100644 --- a/cpus.h +++ b

[Qemu-devel] Re: [regression] configure: add opengl detection

2011-04-08 Thread Michael Walle
Am Freitag 08 April 2011, 12:00:32 schrieb Edgar E. Iglesias: > On Thu, Apr 07, 2011 at 11:35:47PM +0200, Michael Walle wrote: > > Am Mittwoch 06 April 2011, 16:13:58 schrieb Benjamin Poirier: > > > Works as usual. > > > The problem I'm facing stems from linking to libGL and memory > > > protection

[Qemu-devel] Re: [PATCH 04/11] Move generic or OS function declarations to qemu-common.h

2011-04-08 Thread Stefan Weil
Am 08.04.2011 22:45, schrieb Blue Swirl: Move generic or OS related function declarations and macro TFR to qemu-common.h. While moving, also add #include to fix a recent mingw32 build breakage. Signed-off-by: Blue Swirl --- qemu-common.h | 21 + sysemu.h | 21 --

[Qemu-devel] Re: software breakpoints disappearing/reappearing in KVM/qemu

2011-04-08 Thread Jan Kiszka
On 2011-04-08 20:50, Craig Brozefsky wrote: > First, thank you very much for your work on KVM/QEMU and in particular > the GDB support. I have been a heavy user of it while implementing a > programmable debugger that monitors/traces guest operating systems. I > need more breakpoints than hardware

[Qemu-devel] [PATCH 11/11] Introduce CPU state

2011-04-08 Thread Blue Swirl
WIP Signed-off-by: Blue Swirl --- cpu-all.h |1 + cpu-state.h |8 cpus.h | 38 ++ gdbstub.h |1 + hw/hw.h |1 + hw/omap.h |2 ++ hw/smbios.c

[Qemu-devel] [PATCH 10/11] Introduce machine state v2

2011-04-08 Thread Blue Swirl
Move generic machine state to machine-state.h. Signed-off-by: Blue Swirl --- machine-state.h | 102 +++ sysemu.h| 93 +- 2 files changed, 103 insertions(+), 92 deletions(-) create mode

[Qemu-devel] [PATCH 08/11] Introduce host state v2

2011-04-08 Thread Blue Swirl
Move host specific state (not guest visible except for PV, unrelated to any specific target machine, general emulator state, VCPU or devices) declarations to host-state.h. Signed-off-by: Blue Swirl --- host-state.h | 41 + sysemu.h | 30 +--

[Qemu-devel] [PATCH 05/11] Move clock related functions to qemu-timer.h

2011-04-08 Thread Blue Swirl
Move declarations for clock related functions from sysemu.h to qemu-timer.h. Signed-off-by: Blue Swirl --- qemu-timer.h |4 sysemu.h |4 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/qemu-timer.h b/qemu-timer.h index 75d5675..4738e99 100644 --- a/qemu-timer

[Qemu-devel] [PATCH 07/11] migration: move some declarations to migration.h

2011-04-08 Thread Blue Swirl
Move a few migration related declarations to migration.h. Signed-off-by: Blue Swirl --- arch_init.h |2 -- migration.h |9 + sysemu.h|5 - 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/arch_init.h b/arch_init.h index c83360c..86ebc14 100644 --- a/arch

[Qemu-devel] [PATCH 09/11] Introduce emulator state v2

2011-04-08 Thread Blue Swirl
Move all state related to current VM to emulator-state.h. Move a few migration related function declarations to migration.h. Signed-off-by: Blue Swirl --- emulator-state.h | 52 sysemu.h | 42 +--

[Qemu-devel] [PATCH 02/11] Remove unused sysemu.h include directives

2011-04-08 Thread Blue Swirl
Remove unused sysemu.h include directives to speed up build with the following patches. Signed-off-by: Blue Swirl --- acl.c|1 - arm-semi.c |1 - balloon.c|1 - bt-host.c|1 - bt-vhci.c|1 - buffered_file.c |

[Qemu-devel] [PATCH 04/11] Move generic or OS function declarations to qemu-common.h

2011-04-08 Thread Blue Swirl
Move generic or OS related function declarations and macro TFR to qemu-common.h. While moving, also add #include to fix a recent mingw32 build breakage. Signed-off-by: Blue Swirl --- qemu-common.h | 21 + sysemu.h | 21 - 2 files changed, 21 ins

[Qemu-devel] [PATCH 03/11] Use qemu-common.h or qemu-timer.h in place of sysemu.h

2011-04-08 Thread Blue Swirl
In some cases qemu-common.h or qemu-timer.h can be used in place of sysemu.h. Signed-off-by: Blue Swirl --- hw/pcie.c|3 +-- hw/usb-hid.c |2 +- net/dump.c |2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/hw/pcie.c b/hw/pcie.c index 6a113a9..9de6149 100644

Re: [Qemu-devel] [PATCH v3 1/2] cdrom: Allow the TEST_UNIT_READY command after a cdrom change

2011-04-08 Thread Ryan Harper
* Amit Shah [2011-04-07 03:53]: > We restrict the commands that a guest can send us after a cdrom change > event. The current list includes REQUEST_SENSE and INQUIRY commands. > Guests can also issue TEST_UNIT_READY to inquire for the status, so > allow this command as well. > > This also gets r

[Qemu-devel] [PATCH 01/11] json-lexer: fix conflict with mingw32 ERROR definition

2011-04-08 Thread Blue Swirl
The name ERROR is too generic, it conflicts with mingw32 ERROR definition. Replace ERROR with IN_ERROR. Signed-off-by: Blue Swirl --- json-lexer.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/json-lexer.c b/json-lexer.c index c736f42..65c9720 100644 --- a/json-l

[Qemu-devel] [PATCH 00/11] Introduce host, emulator, machine and CPU states

2011-04-08 Thread Blue Swirl
The overall plan is to gather some functions and structures around "states" representing host, emulator, machine and (later) CPU. I see qemu-common.h as a library of useful stuff, it also includes OS-dependent declarations. Patches 1 to 7 are trivial. For 8 to 10, more review would be nice. Patch

Re: [Qemu-devel] software breakpoints disappearing/reappearing in KVM/qemu

2011-04-08 Thread Craig Brozefsky
On Fri, Apr 8, 2011 at 3:16 PM, Blue Swirl wrote: > On Fri, Apr 8, 2011 at 9:50 PM, Craig Brozefsky wrote: > > For KVM, native self-modifying code support of the CPU should be > enough. Are you sure you are using KVM, what does "info kvm" tell? Yup. > How are you setting the breakpoint, with GD

Re: [Qemu-devel] [PATCH] configure: avoid basename usage message

2011-04-08 Thread Scott Wood
On Fri, 8 Apr 2011 15:06:57 -0500 Anthony Liguori wrote: > On 04/08/2011 01:56 PM, Stefan Hajnoczi wrote: > > On Fri, Apr 08, 2011 at 11:33:49AM -0500, Scott Wood wrote: > >> diff --git a/configure b/configure > >> index ae97e11..c5b85fe 100755 > >> --- a/configure > >> +++ b/configure > >> @@ -1

[Qemu-devel] Re: [PATCH] w32: Fix compilation of new code

2011-04-08 Thread Blue Swirl
On Fri, Apr 8, 2011 at 10:49 PM, Stefan Weil wrote: > Am 03.04.2011 11:10, schrieb Blue Swirl: >> >> On Thu, Mar 31, 2011 at 11:58 PM, Stefan Weil >> wrote: >>> >>> Some recently added new code did not compile for w32 targets. >>> >>> The functions qemu_iohandler_fill and qemu_iohandler_poll need

Re: [Qemu-devel] software breakpoints disappearing/reappearing in KVM/qemu

2011-04-08 Thread Blue Swirl
On Fri, Apr 8, 2011 at 9:50 PM, Craig Brozefsky wrote: > First, thank you very much for your work on KVM/QEMU and in particular > the GDB support.  I have been a heavy user of it while implementing a > programmable debugger that monitors/traces guest operating systems.  I > need more breakpoints t

Re: [Qemu-devel] [PATCH 2/2 V7] qemu,qmp: add inject-nmi qmp command

2011-04-08 Thread Blue Swirl
On Fri, Apr 8, 2011 at 10:32 PM, Anthony Liguori wrote: > On 04/08/2011 02:17 PM, Blue Swirl wrote: >> >> On Fri, Apr 8, 2011 at 9:04 AM, Gleb Natapov  wrote: >>> >>> On Thu, Apr 07, 2011 at 04:41:03PM -0500, Anthony Liguori wrote: On 04/07/2011 02:17 PM, Gleb Natapov wrote: > >

Re: [Qemu-devel] [PATCH] configure: avoid basename usage message

2011-04-08 Thread Anthony Liguori
On 04/08/2011 01:56 PM, Stefan Hajnoczi wrote: On Fri, Apr 08, 2011 at 11:33:49AM -0500, Scott Wood wrote: diff --git a/configure b/configure index ae97e11..c5b85fe 100755 --- a/configure +++ b/configure @@ -1233,7 +1233,8 @@ else fi sdl=no fi -if test -n "$cross_prefix"&& test "`base

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

2011-04-08 Thread Blue Swirl
On Fri, Apr 8, 2011 at 10: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 > publis

[Qemu-devel] Re: [PATCH] w32: Fix compilation of new code

2011-04-08 Thread Stefan Weil
Am 03.04.2011 11:10, schrieb Blue Swirl: On Thu, Mar 31, 2011 at 11:58 PM, Stefan Weil wrote: Some recently added new code did not compile for w32 targets. The functions qemu_iohandler_fill and qemu_iohandler_poll need data type fd_set which is declared in winsock2.h for w32 targets. Moving t

Re: [Qemu-devel] [PATCH 2/2 V7] qemu,qmp: add inject-nmi qmp command

2011-04-08 Thread Anthony Liguori
On 04/08/2011 02:17 PM, Blue Swirl wrote: On Fri, Apr 8, 2011 at 9:04 AM, Gleb Natapov wrote: On Thu, Apr 07, 2011 at 04:41:03PM -0500, Anthony Liguori wrote: On 04/07/2011 02:17 PM, Gleb Natapov wrote: On Thu, Apr 07, 2011 at 10:04:00PM +0300, Blue Swirl wrote: On Thu, Apr 7, 2011 at 9:51 P

Re: [Qemu-devel] [PATCH 2/2 V7] qemu,qmp: add inject-nmi qmp command

2011-04-08 Thread Blue Swirl
On Fri, Apr 8, 2011 at 9:04 AM, Gleb Natapov wrote: > On Thu, Apr 07, 2011 at 04:41:03PM -0500, Anthony Liguori wrote: >> On 04/07/2011 02:17 PM, Gleb Natapov wrote: >> >On Thu, Apr 07, 2011 at 10:04:00PM +0300, Blue Swirl wrote: >> >>On Thu, Apr 7, 2011 at 9:51 PM, Gleb Natapov  wrote: >> >> >> >

[Qemu-devel] [PATCH v2] configure: avoid basename usage message

2011-04-08 Thread Scott Wood
basename prints a missing-argument error when sdlconfig is empty and we're cross-compiling. Signed-off-by: Scott Wood --- v2: quote the input to basename rather than introduce an extra test, as suggested by Stefan. configure |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --gi

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

2011-04-08 Thread Stefan Hajnoczi
On Fri, Apr 08, 2011 at 09:58:22AM -0300, Lucas Meneghel Rodrigues wrote: > On Thu, 2011-04-07 at 11:03 +0100, Stefan Hajnoczi wrote: > > On Tue, Apr 5, 2011 at 6:37 PM, Lucas Meneghel Rodrigues > > wrote: > > >> Perhaps kvm-autotest is a good platform for the automated testing of > > >> ARM TCG.

Re: [Qemu-devel] [PATCH] configure: avoid basename usage message

2011-04-08 Thread Stefan Hajnoczi
On Fri, Apr 08, 2011 at 11:33:49AM -0500, Scott Wood wrote: > diff --git a/configure b/configure > index ae97e11..c5b85fe 100755 > --- a/configure > +++ b/configure > @@ -1233,7 +1233,8 @@ else >fi >sdl=no > fi > -if test -n "$cross_prefix" && test "`basename $sdlconfig`" = sdl-config; the

[Qemu-devel] software breakpoints disappearing/reappearing in KVM/qemu

2011-04-08 Thread Craig Brozefsky
First, thank you very much for your work on KVM/QEMU and in particular the GDB support. I have been a heavy user of it while implementing a programmable debugger that monitors/traces guest operating systems. I need more breakpoints than hardware BPs available, and I need the performance of KVM ac

[Qemu-devel] Support for multiboot2 specs

2011-04-08 Thread Goswin von Brederlow
Hi, I've been looking into the multiboot2 specs and started to implement them for kvm for Debian. If anyone wants to try them out or help complete support for them I've uploaded a first patch and example kernel to the Debian BTS [1]. The kernel boots but only the essential features are there yet.

[Qemu-devel] Re: [PATCH v2 1/2] rbd: use the higher level librbd instead of just librados

2011-04-08 Thread Josh Durgin
On 04/08/2011 01:43 AM, Stefan Hajnoczi wrote: On Mon, Mar 28, 2011 at 04:15:57PM -0700, Josh Durgin wrote: librbd stacks on top of librados to provide access to rbd images. Using librbd simplifies the qemu code, and allows qemu to use new versions of the rbd format with few (if any) changes.

[Qemu-devel] [PATCH] KVM: flush icache after writing to RAM

2011-04-08 Thread Scott Wood
This is required so that the guest does not execute any stale instructions. qemu-kvm does this in cpu_physical_memory_rw, but not in cpu_physical_memory_write_rom. Signed-off-by: Scott Wood --- exec.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/exec.c

[Qemu-devel] [PATCH] configure: avoid basename usage message

2011-04-08 Thread Scott Wood
basename prints a missing-argument error when sdlconfig is empty and we're cross-compiling. Signed-off-by: Scott Wood --- configure |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/configure b/configure index ae97e11..c5b85fe 100755 --- a/configure +++ b/configure @@ -1

Re: [Qemu-devel] [PATCH] monitor: avoid moving cursor during "mouse_button" command

2011-04-08 Thread Luiz Capitulino
On Fri, 08 Apr 2011 16:34:21 +0200 Markus Armbruster wrote: > Brad Hards writes: > > > This addresses https://bugs.launchpad.net/qemu/+bug/752476 which > > basically points out that using the mouse_button command causes > > the mouse cursor to warp to the origin (when using absolute > > pointin

[Qemu-devel] Re: [PATCH v2 1/2] rbd: use the higher level librbd instead of just librados

2011-04-08 Thread Stefan Hajnoczi
On Fri, Apr 8, 2011 at 9:43 AM, Stefan Hajnoczi wrote: > On Mon, Mar 28, 2011 at 04:15:57PM -0700, Josh Durgin wrote: >> librbd stacks on top of librados to provide access >> to rbd images. >> >> Using librbd simplifies the qemu code, and allows >> qemu to use new versions of the rbd format >> wit

[Qemu-devel] Re: [PATCH 5/5] atapi: Implement 'media' subcommand of GET_EVENT_STATUS_NOTIFICATION command

2011-04-08 Thread Kevin Wolf
Am 08.04.2011 09:15, schrieb Amit Shah: > Implement the 'media' sub-command of the GET_EVENT_STATUS_NOTIFICATION > command. This helps us report tray open, tray closed, no media, media > present states to the guest. > > Newer Linux kernels (2.6.38+) rely on this command to revalidate discs > afte

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

2011-04-08 Thread Glauber Costa
On Fri, 2011-04-08 at 17:54 +0200, Jan Kiszka wrote: > > +} > > Did I miss some change in the plan? I thought we were heading for a > generic, reusable driftfix tool box (or periodic timer service)? Or is > this intentionally an intermediate step? Which is a medium to long way in the fut

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

2011-04-08 Thread Jan Kiszka
On 2011-04-08 18:08, Glauber Costa wrote: > On Fri, 2011-04-08 at 17:54 +0200, Jan Kiszka wrote: >>> +} >> >> Did I miss some change in the plan? I thought we were heading for a >> generic, reusable driftfix tool box (or periodic timer service)? Or is >> this intentionally an intermediate s

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

2011-04-08 Thread Jan Kiszka
On 2011-04-08 17:20, 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. This interface is intended a

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

2011-04-08 Thread Jan Kiszka
On 2011-04-08 17:20, Ulrich Obergfell wrote: > 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.

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

2011-04-08 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. If further interrupts are lost while compensation is

Re: [Qemu-devel] [PATCH v2 3/5] hpet 'driftfix': add fields to HPETTimer and VMStateDescription

2011-04-08 Thread Anthony Liguori
On 04/08/2011 10:20 AM, Ulrich Obergfell wrote: Signed-off-by: Ulrich Obergfell --- hw/hpet.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/hw/hpet.c b/hw/hpet.c index 45847ed..c150da5 100644 --- a/hw/hpet.c +++ b/hw/hpet.c @@ -55,6 +55,11 @@ typedef st

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

2011-04-08 Thread Anthony Liguori
On 04/08/2011 10:20 AM, 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. Signed-off-by: Ulrich Obergfell

[Qemu-devel] [PATCH v2 4/5] hpet 'driftfix': add code in update_irq() to detect coalesced interrupts (x86 apic only)

2011-04-08 Thread Ulrich Obergfell
update_irq() uses a similar method as in 'rtc_td_hack' to detect coalesced interrupts. The function entry addresses are retrieved from 'target_get_irq_delivered' and 'target_reset_irq_delivered'. Signed-off-by: Ulrich Obergfell --- hw/hpet.c | 15 +-- 1 files changed, 13 insertions

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

2011-04-08 Thread Ulrich Obergfell
'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. Signed-off-by: Ulrich Obergfell --- hw/apic.c |4 sysemu.h |3 +++

[Qemu-devel] [PATCH v2 0/5] hpet 'driftfix': alleviate time drift with HPET periodic timers

2011-04-08 Thread Ulrich Obergfell
Hi, This is version 2 of a series of patches that I originally posted in: http://lists.gnu.org/archive/html/qemu-devel/2011-03/msg01989.html http://lists.gnu.org/archive/html/qemu-devel/2011-03/msg01992.html http://lists.gnu.org/archive/html/qemu-devel/2011-03/msg01991.html http:/

[Qemu-devel] [PATCH v2 3/5] hpet 'driftfix': add fields to HPETTimer and VMStateDescription

2011-04-08 Thread Ulrich Obergfell
Signed-off-by: Ulrich Obergfell --- hw/hpet.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/hw/hpet.c b/hw/hpet.c index 45847ed..c150da5 100644 --- a/hw/hpet.c +++ b/hw/hpet.c @@ -55,6 +55,11 @@ typedef struct HPETTimer { /* timers */ uint8_t wrap_f

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

2011-04-08 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

Re: [Qemu-devel] [PATCH] monitor: avoid moving cursor during "mouse_button" command

2011-04-08 Thread Markus Armbruster
Brad Hards writes: > This addresses https://bugs.launchpad.net/qemu/+bug/752476 which > basically points out that using the mouse_button command causes > the mouse cursor to warp to the origin (when using absolute > pointing device). > > I've tested this with a kubuntu 10.10 guest and it works fi

Re: [Qemu-devel] [PATCH] Few new QMP features

2011-04-08 Thread Markus Armbruster
Luiz Capitulino writes: > On Tue, 22 Mar 2011 15:55:56 +0300 > Dmitry Konishchev wrote: > >> Hi! I use QEMU via QMP and I've discovered that for some tasks there >> is no proper way to do them via QMP. I've written few patches: > > I'm going to respond you without looking at the patches. > >> *

[Qemu-devel] Re: [PATCH 4/5] atapi: GESN: Add enums for commonly-used field types

2011-04-08 Thread Kevin Wolf
Am 08.04.2011 09:15, schrieb Amit Shah: > Instead of using magic numbers, use enums that are more descriptive of > the fields being used. > > Signed-off-by: Amit Shah > --- > hw/ide/core.c | 11 +-- > 1 files changed, 9 insertions(+), 2 deletions(-) > > diff --git a/hw/ide/core.c b/hw

[Qemu-devel] Re: [PATCH V12 05/17] xen: Add xenfv machine

2011-04-08 Thread Jan Kiszka
[ Late comments, I know, sorry. Just happen to came across this. ] On 2011-03-29 20:27, anthony.per...@citrix.com wrote: > From: Anthony PERARD > > Introduce the Xen FV (Fully Virtualized) machine to Qemu, some more Xen > specific call will be added in further patches. > > Signed-off-by: Anthon

[Qemu-devel] [Bug 754635] [NEW] -d option outs wrong info about sections

2011-04-08 Thread fe...@mail.ru
Public bug reported: For example, after run ./qemu-i386 -d in_asm /bin/ls from 0.14.0 release, I received this qemu.log file: $ cat /tmp/qemu.log | grep -A7 guest Relocating guest address space from 0x08048000 to 0x8048000 guest_base 0x0 startend size prot 00048000-0005f000 00017000

[Qemu-devel] Re: [PATCH 3/5] atapi: GESN: Spin off No Event Available handling into own function

2011-04-08 Thread Kevin Wolf
Am 08.04.2011 09:15, schrieb Amit Shah: > Handle GET_EVENT_STATUS_NOTIFICATION's No Event Available status in its > own function. > > Also ensure the buffer the driver sent us is big enough to fill in all > the data we have -- else just fill in as much as the buffer can hold. This is unnecessary

[Qemu-devel] [Bug 754591] Re: NIC doesn't work when it had been used before

2011-04-08 Thread Yongjie Ren
qemu-kvm.git bad:df85c051d780bca0ee2462cfeb8ef6d9552a19b0 and 9488459ff2ab113293586c1c36b1679bb15deee good:2c9bb5d4e5ae3b12ad71bd6a0c1b32003661f53a -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/7545

[Qemu-devel] [Bug 754591] Re: NIC doesn't work when it had been used before

2011-04-08 Thread Yongjie Ren
** Attachment added: "dmesg_guest_NIC" https://bugs.launchpad.net/bugs/754591/+attachment/125/+files/dmesg.txt -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/754591 Title: NIC doesn't work wh

[Qemu-devel] [Bug 754591] [NEW] NIC doesn't work when it had been used before

2011-04-08 Thread Yongjie Ren
Public bug reported: Environment: Host OS (ia32/ia32e/IA64): All Guest OS (ia32/ia32e/IA64): All Guest OS Type (Linux/Windows):All kvm.git Commit:3b840cc27e5b831a26e3303096b88e112d1cf59f qemu-kvm Commit:df85c051d780bca0ee2462cfeb8ef6d9552a19b0 Host Kernel Version:2.6.38+ Hardware:West

[Qemu-devel] [PATCH 1/7] pci: move ids of config space into PCIDeviceInfo

2011-04-08 Thread Isaku Yamahata
vender id/device id... in configuration space are read-only registers which are commonly defined for all pci devices. So move those initialization into common place. Signed-off-by: Isaku Yamahata --- hw/pci.c | 46 -- hw/pci.h |9 + 2 fil

[Qemu-devel] [PATCH 7/7] vmware_vga.c: convert to PCIDeviceInfo to initialize ids

2011-04-08 Thread Isaku Yamahata
use PCIDeviceInfo to initialize ids. Signed-off-by: Isaku Yamahata --- hw/vmware_vga.c | 13 ++--- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c index 4656767..354c221 100644 --- a/hw/vmware_vga.c +++ b/hw/vmware_vga.c @@ -1280,15 +128

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

2011-04-08 Thread Lucas Meneghel Rodrigues
On Thu, 2011-04-07 at 11:03 +0100, Stefan Hajnoczi wrote: > On Tue, Apr 5, 2011 at 6:37 PM, Lucas Meneghel Rodrigues > wrote: > > Thanks for your detailed response! > > > On Tue, 2011-04-05 at 16:29 +0100, Stefan Hajnoczi wrote: > >> * Public notifications of breakage, qemu.git/master failures

[Qemu-devel] [PATCH 4/7] dec_pci: convert to PCIDeviceInfo to initialize ids

2011-04-08 Thread Isaku Yamahata
use PCIDeviceInfo to initialize ids. Signed-off-by: Isaku Yamahata --- hw/dec_pci.c | 27 --- 1 files changed, 8 insertions(+), 19 deletions(-) diff --git a/hw/dec_pci.c b/hw/dec_pci.c index bf88f2a..0468aab 100644 --- a/hw/dec_pci.c +++ b/hw/dec_pci.c @@ -50,28 +50,17

[Qemu-devel] [PATCH 5/7] apb_pci: convert to PCIDeviceInfo to initialize ids

2011-04-08 Thread Isaku Yamahata
Use PCIDeviceInfo to initialize ids. Signed-off-by: Isaku Yamahata --- hw/apb_pci.c | 13 ++--- 1 files changed, 6 insertions(+), 7 deletions(-) diff --git a/hw/apb_pci.c b/hw/apb_pci.c index 84e9af7..974c87a 100644 --- a/hw/apb_pci.c +++ b/hw/apb_pci.c @@ -304,9 +304,6 @@ static int

[Qemu-devel] [PATCH 3/7] eepro100: convert to PCIDeviceInfo to initialize ids

2011-04-08 Thread Isaku Yamahata
use PCIDeviceInfo to initialize ids. Signed-off-by: Isaku Yamahata --- hw/eepro100.c | 60 +--- 1 files changed, 27 insertions(+), 33 deletions(-) diff --git a/hw/eepro100.c b/hw/eepro100.c index f2505e4..8f82bfd 100644 --- a/hw/eepro100.c +

[Qemu-devel] [PATCH 2/7] usb-uhci: convert to PCIDEviceInfo to initialize ids

2011-04-08 Thread Isaku Yamahata
use PCIDeviceInfo to initialize ids. Signed-off-by: Isaku Yamahata --- hw/usb-uhci.c | 38 +++--- 1 files changed, 11 insertions(+), 27 deletions(-) diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c index 346db3e..16c4f3f 100644 --- a/hw/usb-uhci.c +++ b/hw/usb-uhci.c

[Qemu-devel] [PATCH 6/7] ide/piix: convert to PCIDeviceInfo to initialize ids

2011-04-08 Thread Isaku Yamahata
use PCIDeviceInfo to initialize ids. Signed-off-by: Isaku Yamahata --- hw/ide/piix.c | 29 - 1 files changed, 8 insertions(+), 21 deletions(-) diff --git a/hw/ide/piix.c b/hw/ide/piix.c index c349644..2736b48 100644 --- a/hw/ide/piix.c +++ b/hw/ide/piix.c @@ -131,8

[Qemu-devel] [PATCH 0/7] pci: initialize ids in pci common code

2011-04-08 Thread Isaku Yamahata
vender id/device id... in configuration space are read-only registers which are commonly defined for all pci devices. So initialize them in common code and it simplifies the initialization a bit. I converted some of them. If this is the right direction, I'll convert the remaining devices. Isaku Y

[Qemu-devel] [Bug 730441] Re: NIC doesn't work with "pci=nomsi" in grub.conf

2011-04-08 Thread Yongjie Ren
this bug is fixed in latest commit. kvm.git Commit:b35049715d619c9badaea07dec766787b433facf qemu-kvm Commit:27f368604a3d27ca4ddac0f62a6928bb93cdacd5 ** Changed in: qemu Status: New => Fix Committed -- You received this bug notification because you are a member of qemu- devel-ml, which is

Re: [Qemu-devel] [PULL] PowerPC patch queue

2011-04-08 Thread Edgar E. Iglesias
On Fri, Apr 08, 2011 at 12:25:47PM +0200, Alexander Graf wrote: > The following changes since commit f124a410ea12a644c3577c5303846c37baa5e819: > Anthony Liguori (1): > Merge remote branch 'kwolf/for-anthony' into staging > > are available in the git repository at: > > git://repo.or.cz

[Qemu-devel] To O_EXCL or not to O_EXCL open host_cdrom

2011-04-08 Thread Stefan Hajnoczi
Amit and I were discussing the pros and cons of using O_EXCL to open host CD-ROM devices on IRC but this discussion could benefit from more input. Linux block devices (like /dev/sr0 CD-ROMs) can be opened with O_EXCL and only one userspace process will succeed at a time. This prevents programs fr

Re: [Qemu-devel] [PATCH 1/5] atapi: Allow GET_EVENT_STATUS_NOTIFICATION after media change

2011-04-08 Thread Kevin Wolf
Am 08.04.2011 12:54, schrieb Markus Armbruster: > Amit Shah writes: > >> After a media change, the only commands allowed from the guest were >> REQUEST_SENSE and INQUIRY. The guest may also issue >> GET_EVENT_STATUS_NOTIFICATION commands to get media >> changed notification. >> >> After this, th

Re: [Qemu-devel] [PATCH 1/5] atapi: Allow GET_EVENT_STATUS_NOTIFICATION after media change

2011-04-08 Thread Markus Armbruster
Amit Shah writes: > After a media change, the only commands allowed from the guest were > REQUEST_SENSE and INQUIRY. The guest may also issue > GET_EVENT_STATUS_NOTIFICATION commands to get media > changed notification. > > After this, the HSM violation messages from Linux guests aren't seen. >

[Qemu-devel] [PULL] PowerPC patch queue

2011-04-08 Thread Alexander Graf
The following changes since commit f124a410ea12a644c3577c5303846c37baa5e819: Anthony Liguori (1): Merge remote branch 'kwolf/for-anthony' into staging are available in the git repository at: git://repo.or.cz/qemu/agraf.git ppc-next David Gibson (4): pseries: Abolish envs array

[Qemu-devel] Re: [PATCH] ppce500_mpc8544ds: Fix compile with --enable-debug and --disable-kvm

2011-04-08 Thread Alexander Graf
On 08.04.2011, at 12:08, David Gibson wrote: > When configured with --enable-debug, we compile without optimization. > This means that the function mpc8544_copy_soc_cell() in ppce500_mpc8544ds.c > is not optimized out, even though it is never called without kvm. That in > turn causes a link fail

[Qemu-devel] [PATCH] ppce500_mpc8544ds: Fix compile with --enable-debug and --disable-kvm

2011-04-08 Thread David Gibson
When configured with --enable-debug, we compile without optimization. This means that the function mpc8544_copy_soc_cell() in ppce500_mpc8544ds.c is not optimized out, even though it is never called without kvm. That in turn causes a link failure, because it calls the function kvmppc_read_host_pro

[Qemu-devel] Re: [regression] configure: add opengl detection

2011-04-08 Thread Edgar E. Iglesias
On Thu, Apr 07, 2011 at 11:35:47PM +0200, Michael Walle wrote: > Am Mittwoch 06 April 2011, 16:13:58 schrieb Benjamin Poirier: > > Works as usual. > > The problem I'm facing stems from linking to libGL and memory > > protection issues. The particular system I ran this on has the binary > > nvidia d

Re: [Qemu-devel] [PATCH] multiboot: Quote filename in error message.

2011-04-08 Thread Stefan Hajnoczi
On Fri, Apr 8, 2011 at 7:48 AM, Adam Lackorzynski wrote: > Quote filename in error message to spot possible whitespace character in > the filename and make error message more meaningful. > > Signed-off-by: Adam Lackorzynski > --- >  hw/multiboot.c |    2 +- >  1 files changed, 1 insertions(+), 1

Re: [Qemu-devel] [PATCH 0/5] atapi: Implement 'media' subcommand for GESN

2011-04-08 Thread Markus Armbruster
Results of quick test run now, patch review to follow. Test uses a simple program to try ioctl CDROM_DRIVE_STATUS (attached). Test run in the host: [start with tray closed & empty] $ ./drive-status CDS_NO_DISC $ eject /dev/sr0 [tray opens] $ ./drive-status CDS_TRAY_

Re: [Qemu-devel] Assorted trivial bugfixes

2011-04-08 Thread Stefan Hajnoczi
On Fri, Apr 8, 2011 at 4:46 AM, David Gibson wrote: > On Thu, Apr 07, 2011 at 09:57:41AM +0100, Stefan Hajnoczi wrote: >> On Thu, Apr 07, 2011 at 01:02:00PM +1000, David Gibson wrote: >> > This series contains 5 essentially unrelated trivial bugfixes for qemu >> > code.  Most are aimed at eventual

Re: [Qemu-devel] [PATCH] monitor: avoid moving cursor during "mouse_button" command

2011-04-08 Thread Brad Hards
On Fri, 8 Apr 2011 05:44:00 pm Brad Hards wrote: > I've tested this with a kubuntu 10.10 guest and it works fine > for me with both relative and absolute pointing devices. Note > that testing with realtive pointing device was relatively > light. This fix (in slightly different form) was verified by

Re: [Qemu-devel] No scratch directory in qemu-iotests

2011-04-08 Thread Stefan Hajnoczi
On Fri, Apr 08, 2011 at 09:21:02AM +0800, Lyu Mitnick wrote: > Hello > > When I want to use qemu-iotests, some error occurred: > > $ git clone git:// > git.kernel.org/pub/scm/linux/kernel/git/hch/qemu-iotests.git > > $ cd qemu-iotests > > $ ./check -h > common.config: Error: $TEST_DIR > (/home/mitn

  1   2   >