Re: [Qemu-devel] [PATCH] cirrus_vga: Remove unneeded reset

2011-03-27 Thread Isaku Yamahata
On Mon, Mar 28, 2011 at 07:18:04AM +0200, Stefan Weil wrote: > Am 28.03.2011 04:17, schrieb Isaku Yamahata: >> Hi. cirrus_init_common() is used by both isa and pci cirrus. >> and isa cirrus isn't qdevfied yet. >> So what you want is >> - remove qemu_register_reset() and cirrus_reset() from cirrus_i

Re: [Qemu-devel] [PATCH] cirrus_vga: Remove unneeded reset

2011-03-27 Thread Stefan Weil
Am 28.03.2011 04:17, schrieb Isaku Yamahata: Hi. cirrus_init_common() is used by both isa and pci cirrus. and isa cirrus isn't qdevfied yet. So what you want is - remove qemu_register_reset() and cirrus_reset() from cirrus_init_common() - add to PCIDeviceInfo cirrus_vga_info .qdev.reset = cir

Re: [Qemu-devel] qemu not starting

2011-03-27 Thread Feiran Zheng
Did you install from src? Try add --enable-sdl when configure and run qemu with "-vga std". On Mon, Mar 28, 2011 at 12:15 PM, chandra shekar wrote: > hi friends after installing qemu when i try to start qemu then i get an > error as "Could not open SDL display" > plz someone help,thanks > > -- >

[Qemu-devel] RFC: Small cleanup to legacy drive option parsing

2011-03-27 Thread David Gibson
Currently, the old-style options for specifying drives (-hd[abcd], -cdrom, etc.) are equivalent to more longer new-style (-drive) options. However, in the code which handles these, the equivalency is not directly obvious, since it's handled via the drive_add() function which somewhat awkwardly tra

[Qemu-devel] qemu not starting

2011-03-27 Thread chandra shekar
hi friends after installing qemu when i try to start qemu then i get an error as "Could not open SDL display" plz someone help,thanks -- chandra

[Qemu-devel] [V2 PATCH] floppy: save and restore DIR register

2011-03-27 Thread Jason Wang
We need to keep DIR register unchanged across migration, but currently it depends on the media_changed flags from block layer. Since we do not save/restore it and the bdrv_open() called in dest node may set the media_changed flag when trying to open floppy image, guest driver may think the floppy h

[Qemu-devel] Re: [PATCH] floppy: save and restore DIR register

2011-03-27 Thread Jason Wang
Paolo Bonzini writes: > On 03/25/2011 07:27 AM, Jason Wang wrote: > > We need to keep DIR register unchanged across migration, but currently it > > depends on the media_changed flags from block layer and we do not > > save/restore > > it which could let the guest driver think the floppy have

Re: [Qemu-devel] [PATCH] cirrus_vga: Remove unneeded reset

2011-03-27 Thread Isaku Yamahata
Hi. cirrus_init_common() is used by both isa and pci cirrus. and isa cirrus isn't qdevfied yet. So what you want is - remove qemu_register_reset() and cirrus_reset() from cirrus_init_common() - add to PCIDeviceInfo cirrus_vga_info .qdev.reset = cirrus_reset() in order to use pci reset framewor

Re: [Qemu-devel] [PATCH 27/27] Add SLOF-based partition firmware for pSeries machine, allowing more boot options

2011-03-27 Thread David Gibson
On Fri, Mar 25, 2011 at 01:29:17PM -0500, Anthony Liguori wrote: > On 03/24/2011 10:21 PM, David Gibson wrote: > >Currently, the emulated pSeries machine requires the use of the > >-kernel parameter in order to explicitly load a guest kernel. This > >means booting from the virtual disk, cdrom or n

[Qemu-devel] [PATCH 2/4] trace: generalize the "property" concept in the trace-events file

2011-03-27 Thread Lluís
This adds/modifies the following functions: * get_name: Get _only_ the event name * has_property: Return whether an event has a property (keyword before the event name) Signed-off-by: Lluís Vilanova --- docs/tracing.txt |4 +-- scripts/tracetool | 73 ---

[Qemu-devel] [PATCH 1/4] trace: [ust] fix generation of 'trace.c' on events without args

2011-03-27 Thread Lluís
Signed-off-by: Lluís Vilanova --- scripts/tracetool |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/tracetool b/scripts/tracetool index 412f695..d88cb43 100755 --- a/scripts/tracetool +++ b/scripts/tracetool @@ -338,6 +338,7 @@ linetoc_ust() name=$(get_

[Qemu-devel] [PATCH 3/4] trace: always use the "nop" backend on events with the "disable" keyword

2011-03-27 Thread Lluís
Any event with the keyword/property "disable" generates an empty trace event using the "nop" backend, regardless of the current backend. Signed-off-by: Lluís Vilanova --- docs/tracing.txt |3 +++ scripts/tracetool | 15 ++- 2 files changed, 5 insertions(+), 13 deletions(-) di

[Qemu-devel] [Bug 423910] Re: openbios-sparc has no installation candidate

2011-03-27 Thread Ken Sharp
** Changed in: openbios-sparc (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/423910 Title: openbios-sparc has no installation candidate Status in QEMU: In

[Qemu-devel] [PATCH 4/4] trace: [simple] always enable trace points

2011-03-27 Thread Lluís
Signed-off-by: Lluís Vilanova --- scripts/tracetool |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/scripts/tracetool b/scripts/tracetool index 7506776..b355ac5 100755 --- a/scripts/tracetool +++ b/scripts/tracetool @@ -221,15 +221,10 @@ EOF linetoc_simple() {

[Qemu-devel] [PATCH] [arm m68k] move helpers.h to helper.h

2011-03-27 Thread Lluís
This provides a consistent naming scheme across all targets. Signed-off-by: Lluís Vilanova --- target-arm/helper.c|2 target-arm/helper.h| 475 target-arm/helpers.h | 475 targe

[Qemu-devel] [PATCH] e1000: check buffer availability

2011-03-27 Thread Michael S. Tsirkin
Reduce spurious packet drops on RX ring empty by verifying that we have at least 1 buffer ahead of the time. Signed-off-by: Michael S. Tsirkin --- hw/e1000.c | 16 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/hw/e1000.c b/hw/e1000.c index 0a4574c..380d6fe 100

[Qemu-devel] Re: [PATCH v5 0/4] piix_pci: optimize irq data path

2011-03-27 Thread Michael S. Tsirkin
On Wed, Mar 23, 2011 at 11:17:19AM +0900, Isaku Yamahata wrote: > v4 has minor typo. I sent it too early. Here's fixed one. > > v3 -> v4 Main changes are > - use pirq, pci_intx instead of irq_num in piix_pci.c > - patch 4/4 cleans the code a bit With this applied e1000 fails to work for me. Comma

[Qemu-devel] [PATCH] spice: add option for disabling copy paste support

2011-03-27 Thread Hans de Goede
Some people want to be able disable spice's guest <-> client copy paste support because of security considerations. --- qemu-config.c |3 +++ qemu-options.hx |3 +++ ui/spice-core.c |9 + 3 files changed, 15 insertions(+), 0 deletions(-) diff --git a/qemu-config.c b/qemu-con

[Qemu-devel] [PATCH]hw/xen_disk: ioreq not finished on error

2011-03-27 Thread Feiran Zheng
Bug fix: routines 'ioreq_runio_qemu_sync' and 'ioreq_runio_qemu_aio' won't call 'ioreq_unmap' or 'ioreq_finish' on errors, leaving ioreq in the blkdev->inflight list and a leak. Signed-off-by: Feiran Zheng --- hw/xen_disk.c | 22 +- 1 files changed, 17 insertions(+), 5 dele