Re: [Qemu-devel] Re: About QEMU debugging console

2010-10-31 Thread Andreas Färber
Am 29.10.2010 um 09:32 schrieb Jan Kiszka: Am 29.10.2010 04:41, Zhiyuan Shao wrote: On Thu, 2010-10-28 at 14:36 +0200, Jan Kiszka wrote: The most important lacking feature is proper system-level debugging support for gdb (via gdbstub). Once gdb has full access to all CPU states of the x86

[Qemu-devel] [PATCH] sparc32_dma: separate ledma and espdma

2010-10-31 Thread Blue Swirl
ESP and Lance DMA controllers are not identical. Separate the controllers on VMState and instantiation level. NB: This change breaks savevm and migration compatibility. Signed-off-by: Blue Swirl blauwir...@gmail.com --- Perhaps the compat properties could be used to retain compatibility. But if

[Qemu-devel] [PATCHv2 3/8] Add get_dev_path callback to ISA bus in qdev.

2010-10-31 Thread Gleb Natapov
Use device ioports to create unique device path. Signed-off-by: Gleb Natapov g...@redhat.com --- hw/isa-bus.c | 15 +++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/hw/isa-bus.c b/hw/isa-bus.c index c1275e8..c523302 100644 --- a/hw/isa-bus.c +++ b/hw/isa-bus.c @@

[Qemu-devel] [PATCHv2 4/8] Store IDE bus id in IDEBus structure for easy access.

2010-10-31 Thread Gleb Natapov
Signed-off-by: Gleb Natapov g...@redhat.com --- hw/ide/cmd646.c |4 ++-- hw/ide/internal.h |3 ++- hw/ide/isa.c |2 +- hw/ide/piix.c |4 ++-- hw/ide/qdev.c |3 ++- hw/ide/via.c |4 ++-- 6 files changed, 11 insertions(+), 9 deletions(-) diff --git

[Qemu-devel] [PATCHv2 5/8] Add get_dev_path callback to IDE bus.

2010-10-31 Thread Gleb Natapov
Signed-off-by: Gleb Natapov g...@redhat.com --- hw/ide/qdev.c | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/hw/ide/qdev.c b/hw/ide/qdev.c index 3ad2138..7db2f19 100644 --- a/hw/ide/qdev.c +++ b/hw/ide/qdev.c @@ -24,9 +24,12 @@ /*

[Qemu-devel] [PATCHv2 0/8 RFC] boot order specification

2010-10-31 Thread Gleb Natapov
This is current sate of the patch series for people to comment on. I tried to use open firmware naming scheme to specify device path names. The patch series produce names like these: for pci machine: /p...@i0cf8/pci-isa-bri...@1/f...@03f1/flo...@0 /p...@i0cf8/pci-isa-bri...@1/f...@03f1/flo...@1

[Qemu-devel] [PATCHv2 7/8] Change pci bus get_dev_path callback to print only slot and func

2010-10-31 Thread Gleb Natapov
Domain should be determined form parent bus and bus number is configured by guest and should not be used in qemu internally. Signed-off-by: Gleb Natapov g...@redhat.com --- hw/pci.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index

[Qemu-devel] [PATCHv2 6/8] Add get_dev_path callback for system bus.

2010-10-31 Thread Gleb Natapov
Prints out mmio or pio used to access child device. Signed-off-by: Gleb Natapov g...@redhat.com --- hw/pci_host.c |2 ++ hw/sysbus.c | 30 ++ hw/sysbus.h |4 3 files changed, 36 insertions(+), 0 deletions(-) diff --git a/hw/pci_host.c

[Qemu-devel] [PATCHv2 2/8] Keep track of ISA ports ISA device is using in qdev.

2010-10-31 Thread Gleb Natapov
Store all io ports used by device in ISADevice structure. Signed-off-by: Gleb Natapov g...@redhat.com --- hw/cs4231a.c |1 + hw/fdc.c |3 +++ hw/gus.c |4 hw/ide/isa.c |2 ++ hw/isa-bus.c | 25 + hw/isa.h |4

[Qemu-devel] [PATCHv2 1/8] Introduce deriver_name field to DeviceInfo structure.

2010-10-31 Thread Gleb Natapov
Add deriver_name to DeviceInfo to use in device path building. In contrast to name driver_name should refer to functionality device provides instead of particular device model like name does. Signed-off-by: Gleb Natapov g...@redhat.com --- hw/fdc.c|1 + hw/ide/isa.c|1 +

[Qemu-devel] [PATCHv2 8/8] Add bootindex parameter to net/block/fd device

2010-10-31 Thread Gleb Natapov
If bootindex is specified on command line a string that describes device in firmware readable way is added into sorted list. Later this list will be passed into firmware to control boot order. Signed-off-by: Gleb Natapov g...@redhat.com --- block_int.h |4 +++- hw/e1000.c |7

[Qemu-devel] [PATCH] tap: make set_offload a nop after netdev cleanup

2010-10-31 Thread Michael S. Tsirkin
virtio-net expects set_offload to succeed after peer cleanup. Since we don't have an open fd anymore, make it so. Fixes warning about the failure of offload setting. Reported-by: Jason Wang jasow...@redhat.com Signed-off-by: Michael S. Tsirkin m...@redhat.com --- net/tap.c |4 1 files

[Qemu-devel] Re: [PATCH] add support for qed format

2010-10-31 Thread Christoph Hellwig
Thanks, applied. On Mon, Oct 18, 2010 at 02:10:44PM +0100, Stefan Hajnoczi wrote: Note that 019 current fails for both qcow2 and qed due to an outdated .out file. I've also fixed that issue up.

[Qemu-devel] Re: [PATCHv2 0/8 RFC] boot order specification

2010-10-31 Thread Kevin O'Connor
On Sun, Oct 31, 2010 at 01:40:01PM +0200, Gleb Natapov wrote: This is current sate of the patch series for people to comment on. I tried to use open firmware naming scheme to specify device path names. The patch series produce names like these: for pci machine:

[Qemu-devel] Re: [SeaBIOS] [PATCH] mark irq9 active high in DSDT

2010-10-31 Thread Kevin O'Connor
On Wed, Oct 27, 2010 at 03:27:58PM +0200, Avi Kivity wrote: On the last kvm conf call Anthony said that he'll be happy to include an updated seabios with qemu 0.13.1, so a new release would be appreciated. I branched and tagged rel-0.6.1.1. It only has 6d5a2172 cherry-picked into it. -Kevin

Re: [Qemu-devel] [PATCH 1/2] Minimal RAM API support

2010-10-31 Thread Isaku Yamahata
On Fri, Oct 29, 2010 at 10:39:03AM -0600, Alex Williamson wrote: This adds a minimum chunk of Anthony's RAM API support so that we can identify actual VM RAM versus all the other things that make use of qemu_ram_alloc. Signed-off-by: Alex Williamson alex.william...@redhat.com ---

Re: [Qemu-devel] [PATCH 4/4] target-xxx: Use fprintf_function (format checking)

2010-10-31 Thread TeLeMan
On Sat, Oct 23, 2010 at 05:03, Stefan Weil w...@mail.berlios.de wrote:     int eflags, i, nb; @@ -335,9 +333,11 @@ void cpu_dump_state(CPUState *env, FILE *f,                     (uint32_t)env-cr[2],                     (uint32_t)env-cr[3],                     (uint32_t)env-cr[4]); -        

Re: [Qemu-devel] [PATCH 1/2] Minimal RAM API support

2010-10-31 Thread Alex Williamson
On Sun, Oct 31, 2010 at 8:17 PM, Isaku Yamahata yamah...@valinux.co.jp wrote: On Fri, Oct 29, 2010 at 10:39:03AM -0600, Alex Williamson wrote: This adds a minimum chunk of Anthony's RAM API support so that we can identify actual VM RAM versus all the other things that make use of

[Qemu-devel] Re: [PATCH] APIC/IOAPIC EOI callback

2010-10-31 Thread Alex Williamson
On Fri, 2010-10-29 at 14:19 -0500, Anthony Liguori wrote: On 10/29/2010 12:56 PM, Alex Williamson wrote: For device assignment, we need to know when the VM writes an end of interrupt to the APIC, which allows us to re-enable interrupts on the physical device. Add a new wrapper for ioapic