[Qemu-devel] [PATCH 1/2] multiboot: Support arbitrary number of modules.

2009-12-26 Thread Adam Lackorzynski
Signed-off-by: Adam Lackorzynski a...@os.inf.tu-dresden.de --- hw/pc.c | 268 +++ 1 files changed, 167 insertions(+), 101 deletions(-) diff --git a/hw/pc.c b/hw/pc.c index 83f8dd0..2dca777 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -51,6

[Qemu-devel] [PATCH 2/2] multiboot: Separate multiboot loading into separate file

2009-12-26 Thread Adam Lackorzynski
Move multiboot loading code into separate files as suggested by Alex Graf. Signed-off-by: Adam Lackorzynski a...@os.inf.tu-dresden.de --- Makefile.target |2 +- hw/multiboot.c | 331 +++ hw/multiboot.h | 12 ++ hw/pc.c | 305

[Qemu-devel] [PATCH 02/11] qdev: isabus_dev_info returns a QObject detailing the IRQ lines used by the device.

2009-12-26 Thread Nathan Baum
Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/isa-bus.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/hw/isa-bus.c b/hw/isa-bus.c index 4d489d2..b3d599f 100644 --- a/hw/isa-bus.c +++ b/hw/isa-bus.c @@ -21,6 +21,8 @@ #include monitor.h

[Qemu-devel] [RFC,PATCH 00/11] Half-convert info qtree to QMP.

2009-12-26 Thread Nathan Baum
Hullo. This series of patches partially converts info qtree to QMP. I've gone halfway: one can use query-qtree in QMP. I haven't converted the old monitor function other than to rename it; do_info_qtree_print just ignores the QObject it is passed and prints the qtree the old-fashioned way.

[Qemu-devel] [PATCH 01/11] Add info_dev function pointer for BusInfo.

2009-12-26 Thread Nathan Baum
This function will be called to produce bus-specific data for QMP's query-qtree command. Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/qdev.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/qdev.h b/hw/qdev.h index bbcdba1..93467a5 100644 ---

[Qemu-devel] [PATCH 05/11] qdev: Add pcibus_dev_info to pci_bus_info

2009-12-26 Thread Nathan Baum
Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/pci.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index 8688d8a..36605e7 100644 --- a/hw/pci.c +++ b/hw/pci.c @@ -59,11 +59,13 @@ struct PCIBus { }; static void

[Qemu-devel] [PATCH 06/11] qdev: sysbus_dev_info

2009-12-26 Thread Nathan Baum
Returns information about the system bus as a QObject. Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/sysbus.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/hw/sysbus.c b/hw/sysbus.c index 1f7f138..2092d9f 100644 --- a/hw/sysbus.c +++

[Qemu-devel] [PATCH 03/11] qdev: Add isabuf_dev_info to ISA's BusInfo struct.

2009-12-26 Thread Nathan Baum
Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/isa-bus.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/isa-bus.c b/hw/isa-bus.c index b3d599f..ed965d8 100644 --- a/hw/isa-bus.c +++ b/hw/isa-bus.c @@ -32,11 +32,13 @@ struct ISABus { static ISABus

[Qemu-devel] [RFC, PATCH 02/11] qdev: isabus_dev_info returns a QObject detailing the IRQ lines used by the device.

2009-12-26 Thread Nathan Baum
Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/isa-bus.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/hw/isa-bus.c b/hw/isa-bus.c index 4d489d2..b3d599f 100644 --- a/hw/isa-bus.c +++ b/hw/isa-bus.c @@ -21,6 +21,8 @@ #include monitor.h

[Qemu-devel] [PATCH 07/11] qdev: Add sysbus_dev_info to system_bus_info

2009-12-26 Thread Nathan Baum
Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/sysbus.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/sysbus.c b/hw/sysbus.c index 2092d9f..5d2bbb4 100644 --- a/hw/sysbus.c +++ b/hw/sysbus.c @@ -23,11 +23,13 @@ #include qjson.h static void

[Qemu-devel] [PATCH 04/11] qdev: pcibus_dev_info

2009-12-26 Thread Nathan Baum
This returns a QObject detailing the PCI-specific data about the device. Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/pci.c | 48 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index

[Qemu-devel] [RFC,PATCH 00/11] Half-convert info qtree to QMP.

2009-12-26 Thread Nathan Baum
Hullo. This series of patches partially converts info qtree to QMP. I've gone halfway: one can use query-qtree in QMP. I haven't converted the old monitor function other than to rename it; do_info_qtree_print just ignores the QObject it is passed and prints the qtree the old-fashioned way.

[Qemu-devel] [PATCH 08/11] qdev: Add usb_bus_dev_info

2009-12-26 Thread Nathan Baum
Returns a QObject with information about a USB device. Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/usb-bus.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/hw/usb-bus.c b/hw/usb-bus.c index 54027df..6d02807 100644 --- a/hw/usb-bus.c +++

[Qemu-devel] [PATCH 10/11] qdev: Add do_info_qbus and friends.

2009-12-26 Thread Nathan Baum
Places information about a bus and the devices on into a QObject. Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/qdev.c | 73 + 1 files changed, 73 insertions(+), 0 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c

[Qemu-devel] [PATCH 11/11] Change the monitor to use the new do_info_qtree.

2009-12-26 Thread Nathan Baum
Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/qdev.c |9 - hw/qdev.h |3 ++- monitor.c |3 ++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c index f5d68c6..d9d3778 100644 --- a/hw/qdev.c +++ b/hw/qdev.c @@ -727,6 +727,12

[Qemu-devel] [RFC,PATCH 04/11] qdev: pcibus_dev_info

2009-12-26 Thread Nathan Baum
This returns a QObject detailing the PCI-specific data about the device. Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/pci.c | 48 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/hw/pci.c b/hw/pci.c index

[Qemu-devel] [PATCH 09/11] qdev: Add usb_bus_dev_info to usb_bus_info.

2009-12-26 Thread Nathan Baum
Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/usb-bus.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/usb-bus.c b/hw/usb-bus.c index 6d02807..582924d 100644 --- a/hw/usb-bus.c +++ b/hw/usb-bus.c @@ -6,11 +6,13 @@ #include qjson.h static void

[Qemu-devel] [RFC,PATCH 10/11] qdev: Add do_info_qbus and friends.

2009-12-26 Thread Nathan Baum
Places information about a bus and the devices on into a QObject. Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/qdev.c | 73 + 1 files changed, 73 insertions(+), 0 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c

[Qemu-devel] [RFC,PATCH 08/11] qdev: Add usb_bus_dev_info

2009-12-26 Thread Nathan Baum
Returns a QObject with information about a USB device. Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/usb-bus.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/hw/usb-bus.c b/hw/usb-bus.c index 54027df..6d02807 100644 --- a/hw/usb-bus.c +++

[Qemu-devel] [RFC, PATCH 11/11] Change the monitor to use the new do_info_qtree.

2009-12-26 Thread Nathan Baum
Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/qdev.c |9 - hw/qdev.h |3 ++- monitor.c |3 ++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c index f5d68c6..d9d3778 100644 --- a/hw/qdev.c +++ b/hw/qdev.c @@ -727,6 +727,12

[Qemu-devel] [RFC, PATCH 09/11] qdev: Add usb_bus_dev_info to usb_bus_info.

2009-12-26 Thread Nathan Baum
Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/usb-bus.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/usb-bus.c b/hw/usb-bus.c index 6d02807..582924d 100644 --- a/hw/usb-bus.c +++ b/hw/usb-bus.c @@ -6,11 +6,13 @@ #include qjson.h static void

[Qemu-devel] [RFC,PATCH 06/11] qdev: sysbus_dev_info

2009-12-26 Thread Nathan Baum
Returns information about the system bus as a QObject. Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/sysbus.c | 18 ++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/hw/sysbus.c b/hw/sysbus.c index 1f7f138..2092d9f 100644 --- a/hw/sysbus.c +++

[Qemu-devel] [RFC, PATCH 01/11] Add info_dev function pointer for BusInfo.

2009-12-26 Thread Nathan Baum
This function will be called to produce bus-specific data for QMP's query-qtree command. Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/qdev.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/qdev.h b/hw/qdev.h index bbcdba1..93467a5 100644 ---

[Qemu-devel] [RFC, PATCH 07/11] qdev: Add sysbus_dev_info to system_bus_info

2009-12-26 Thread Nathan Baum
Signed-off-by: Nathan Baum nat...@parenthephobia.org.uk --- hw/sysbus.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/hw/sysbus.c b/hw/sysbus.c index 2092d9f..5d2bbb4 100644 --- a/hw/sysbus.c +++ b/hw/sysbus.c @@ -23,11 +23,13 @@ #include qjson.h static void

Re: [Qemu-devel] [RFC,PATCH 00/11] Half-convert info qtree to QMP.

2009-12-26 Thread Nathan Baum
Oops. Sorry for the spam. Your client isn't broken. Due to mail server misconfiguration on my part, I've managed to send this patch series twice. I thought it hadn't been sent the first time around. Guess it was hidden in a queue somewhere.

[Qemu-devel] Building qemu on OpenSolaris/SPARC fails: tcg_unsigned_cond undefined symbol

2009-12-26 Thread Palle Lyckegaard
Hi, Building on OpenSolaris/SPARC fails with: ... LINK mips64-softmmu/qemu-system-mips64 Undefined first referenced symbol in file tcg_unsigned_cond libqemu.a(tcg.o) ld: fatal: symbol referencing errors. No output written