[Qemu-devel] [TUHS & QEMU] Making progress with old DG/UX virtualization. Need advice.

2010-08-01 Thread Natalia Portillo
Hi, I've read all your posts in the QEMU mailing list and the TUHS one and I'm answering to both lists in a hope my mail enlights you and any other curious. First of all, old UNIX systems (and I put my hand on the fire for DG/UX also), use a monolithic linked at setup/later time kernel. That is

Re: [Qemu-devel] [PATCH 0/3] Fix broken if statements

2010-08-01 Thread Stefan Weil
Am 01.08.2010 19:25, schrieb Andreas Färber: Am 22.07.2010 um 18:18 schrieb Stefan Weil: Am 21.07.2010 22:05, schrieb Joel Schopp: I have decided to apply the broken window theory of crime http://en.wikipedia.org/wiki/Broken_windows_theory to code, and more specifically to qemu[:] I'm hopin

Re: [Qemu-devel] Netboot happens twice (first fail) when using etherboot ROMs

2010-08-01 Thread Stefan Hajnoczi
On Sun, Aug 1, 2010 at 10:44 AM, Michael Tokarev wrote: > I wonder why with etherboot ROMs, the network boot > happens two times (0.12.x), like this: > > - >  Starting SeaBIOS (version 0.5.1-20100801_125707-gandalf) > >  Booting from virtio-net.zrom 5.4.4 (GPL) ether... >  ROM segment 0xc900 l

[Qemu-devel] [PATCH][SEABIOS] Allow qemu to use bootsplash code via fwcfg interface.

2010-08-01 Thread Kevin O'Connor
Allow the bootsplash code to pull the jpeg file from either cbfs (on coreboot) or fwcfg (on qemu). diff --git a/src/bootsplash.c b/src/bootsplash.c index 676ece3..1dcd402 100644 --- a/src/bootsplash.c +++ b/src/bootsplash.c @@ -11,14 +11,14 @@ #include "util.h" // dprintf #include "jpeg.h" // sp

[Qemu-devel] [PATCH][QEMU] Load "bootsplash.jpg" if present

2010-08-01 Thread Kevin O'Connor
Load the "bootsplash.jpg" file into fw_cfg if it is found in the roms directory. --- a/hw/fw_cfg.c +++ b/hw/fw_cfg.c @@ -304,8 +304,12 @@ int fw_cfg_add_file(FWCfgState *s, const char *dir, const char *filename, basename = filename; } -snprintf(s->files->f[index].name, sizeo

[Qemu-devel] [PATCH] Enable SeaBIOS bootsplash in qemu

2010-08-01 Thread Kevin O'Connor
These two patches enable qemu to use the recently added SeaBIOS bootsplash code. The first patch is for SeaBIOS - it enables finding the "bootsplash.jpg" file from either CBFS (on coreboot) or fw_cfg (on QEMU). The second patch is for qemu - it enables loading a "bootsplash.jpg" file into fw_cfg

[Qemu-devel] [PATCH 20/20] [MIPS] qdev: Complete rc4030 conversion, by removing legacy stuff

2010-08-01 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau --- hw/mips_jazz.c |7 +++ hw/rc4030.c| 17 - hw/rc4030.h|4 3 files changed, 3 insertions(+), 25 deletions(-) diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c index b4c95c9..04d80ee 100644 --- a/hw/mips_jazz.c +++ b/hw/mips

[Qemu-devel] [PATCH 18/20] [MIPS] qdev: convert ds1225y nvram to sysbus device

2010-08-01 Thread Hervé Poussineau
Use it in Jazz emulation Remove protection stuff, which doesn't belong to this device Remove ds1225y_init() and ds1225y_set_protection() functions, which are not used anymore Signed-off-by: Hervé Poussineau --- hw/ds1225y.c | 137 ++-- hw/m

[Qemu-devel] [PATCH 16/20] [MIPS] qdev: convert floppy disk controller to rc4030 device

2010-08-01 Thread Hervé Poussineau
Use it in Jazz emulation Remove fdctrl_init_sysbus() function, which is not used anymore Signed-off-by: Hervé Poussineau --- hw/fdc.c | 84 hw/fdc.h |2 - hw/mips_jazz.c | 12 +-- 3 files changed, 68 insertions(+),

[Qemu-devel] [Bug 521994] Re: Windows 98 doesn't detect mouse on qemu and SeaBIOS.

2010-08-01 Thread Bug Watch Updater
** Changed in: qemu-kvm (Debian) Status: Unknown => New -- Windows 98 doesn't detect mouse on qemu and SeaBIOS. https://bugs.launchpad.net/bugs/521994 You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. Status in QEMU: Confirmed Stat

[Qemu-devel] [PATCH 15/20] [MIPS] qdev: convert dp83932 network card to rc4030 device

2010-08-01 Thread Hervé Poussineau
Use it in Jazz emulation Remove dp83932_init() function, which is not used anymore Signed-off-by: Hervé Poussineau --- hw/dp8393x.c | 64 --- hw/mips.h |5 hw/mips_jazz.c |6 +++- 3 files changed, 46 insertions(+), 29 dele

[Qemu-devel] [PATCH 14/20] [MIPS] qdev: add an isa bus device

2010-08-01 Thread Hervé Poussineau
Use it in Jazz emulation Signed-off-by: Hervé Poussineau --- hw/isa-bus.c | 29 + hw/mips_jazz.c | 12 ++-- 2 files changed, 31 insertions(+), 10 deletions(-) diff --git a/hw/isa-bus.c b/hw/isa-bus.c index 4e306de..c245151 100644 --- a/hw/isa-bus.c +++

[Qemu-devel] [PATCH 12/20] [MIPS] qdev: convert g364fb to rc4030 device

2010-08-01 Thread Hervé Poussineau
Use it in Jazz emulation Signed-off-by: Hervé Poussineau --- hw/g364fb.c| 62 +-- hw/mips.h |5 hw/mips_jazz.c |2 +- vl.c |1 + 4 files changed, 48 insertions(+), 22 deletions(-) diff --git a/hw/g364fb.c

[Qemu-devel] [PATCH 13/20] [MIPS] qdev: add a rtc forwarder device

2010-08-01 Thread Hervé Poussineau
Use it in Jazz emulation Signed-off-by: Hervé Poussineau --- hw/mc146818rtc.c | 54 +- hw/mips_jazz.c | 28 +++- 2 files changed, 56 insertions(+), 26 deletions(-) diff --git a/hw/mc146818rtc.c b/hw/mc146818rtc.c

[Qemu-devel] [PATCH 19/20] [MIPS] qdev: add a mips board device, which initializes the ram and the rom

2010-08-01 Thread Hervé Poussineau
Also add an empty machine (to be used with the mips board device) Finally, add a workaround to be able to create the initial system bus Signed-off-by: Hervé Poussineau --- hw/mips_jazz.c | 78 hw/qdev.c |6 2 files changed,

[Qemu-devel] [PATCH 11/20] [MIPS] qdev: convert vga-isa-mm to ISA device

2010-08-01 Thread Hervé Poussineau
Use it in Jazz emulation Remove isa_vga_mm_init() function, which is not used anymore Signed-off-by: Hervé Poussineau --- hw/mips_jazz.c |2 +- hw/pc.h |2 - hw/vga-isa-mm.c | 66 -- vl.c|1 + 4 files changed,

[Qemu-devel] [PATCH 10/20] [MIPS] Jazz emulation: make video card optional

2010-08-01 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau --- hw/mips_jazz.c | 22 -- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c index 8c3c956..b737cf3 100644 --- a/hw/mips_jazz.c +++ b/hw/mips_jazz.c @@ -202,16 +202,18 @@ void mips_jazz_init (ra

[Qemu-devel] [PATCH 09/20] [MIPS] qdev: convert jazz-led to sysbus device

2010-08-01 Thread Hervé Poussineau
Use it in Jazz emulation Remove jazz_led_init() function, which is not used anymore Compile jazz_led.c file only once Signed-off-by: Hervé Poussineau --- Makefile.objs|1 + Makefile.target |2 +- default-configs/mips-softmmu.mak |1 +

[Qemu-devel] [PATCH 17/20] [MIPS] qdev: convert esp scsi adapter to rc4030 device

2010-08-01 Thread Hervé Poussineau
Use it in Jazz emulation Signed-off-by: Hervé Poussineau --- hw/esp.c | 83 +--- hw/mips_jazz.c |5 +--- 2 files changed, 80 insertions(+), 8 deletions(-) diff --git a/hw/esp.c b/hw/esp.c index 349052a..d6a9824 100644 --- a/hw/esp.

[Qemu-devel] [PATCH 08/20] [MIPS] qdev: convert serial port to rc4030 device

2010-08-01 Thread Hervé Poussineau
Use it in Jazz emulation Signed-off-by: Hervé Poussineau --- hw/mips_jazz.c | 12 +--- hw/pc.h|1 + hw/serial.c| 78 3 files changed, 81 insertions(+), 10 deletions(-) diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c i

[Qemu-devel] [PATCH 07/20] [MIPS] qdev: convert parallel port to rc4030 device

2010-08-01 Thread Hervé Poussineau
Use it in Jazz emulation Remove parallel_mm_init() function, which is not used anymore Signed-off-by: Hervé Poussineau --- hw/mips_jazz.c |5 ++- hw/parallel.c | 58 +-- hw/pc.h|2 +- 3 files changed, 51 insertions(+), 14 del

[Qemu-devel] [PATCH 05/20] Add a stub for some rc4030 functions, if rc4030 support is not compiled in.

2010-08-01 Thread Hervé Poussineau
Will be used by next commits, when rc4030 devices will be converted to qdev Signed-off-by: Hervé Poussineau --- arch_init.c | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/arch_init.c b/arch_init.c index 47bb4b2..67b8d83 100644 --- a/arch_init.c +++

[Qemu-devel] [PATCH 06/20] [MIPS] qdev: convert i8042 to rc4030 device

2010-08-01 Thread Hervé Poussineau
Use it in Jazz emulation Remove i8042_mm_init() function, which is not used anymore Signed-off-by: Hervé Poussineau --- hw/mips_jazz.c |2 +- hw/pc.h|3 -- hw/pckbd.c | 65 ++- 3 files changed, 46 insertions(+), 24 deletio

[Qemu-devel] [PATCH 04/20] [MIPS] rc4030: convert to qdev

2010-08-01 Thread Hervé Poussineau
rc4030_init() function will be removed later, once all rc4030 devices are converted to qdev Signed-off-by: Hervé Poussineau --- hw/mips.h |9 --- hw/mips_jazz.c |3 +- hw/rc4030.c| 170 +++- hw/rc4030.h| 41

[Qemu-devel] [PATCH 02/20] [MIPS] cpu: convert to qdev

2010-08-01 Thread Hervé Poussineau
Add a qdev device representing a whole MIPS CPU, ie the core, the interrupt controller, and the timer. Export a qdev bus, so other devices can use MIPS CPU interrupts Signed-off-by: Hervé Poussineau --- hw/mips_cpudevs.h |4 ++ hw/mips_int.c | 81 ++

[Qemu-devel] [PATCH 03/20] [MIPS] Jazz emulation: create a qdev cpu

2010-08-01 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau --- hw/mips_jazz.c | 21 + 1 files changed, 5 insertions(+), 16 deletions(-) diff --git a/hw/mips_jazz.c b/hw/mips_jazz.c index 71b05a2..78ef8f0 100644 --- a/hw/mips_jazz.c +++ b/hw/mips_jazz.c @@ -43,12 +43,6 @@ enum jazz_model_e JAZZ_

[Qemu-devel] [PATCH 01/20] [MIPS] cpu: add a init inplace method

2010-08-01 Thread Hervé Poussineau
Signed-off-by: Hervé Poussineau --- target-mips/cpu.h |1 + target-mips/translate.c | 16 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/target-mips/cpu.h b/target-mips/cpu.h index b8e6fee..b75e1e6 100644 --- a/target-mips/cpu.h +++ b/target-mips/cpu

[Qemu-devel] [Bug 586175] Re: Windows XP/2003 doesn't boot

2010-08-01 Thread Andreas Jacob
I run into the same problem, but the workaround regarding editing the number of heads in the ntfs partition boot sector did it for me. Little Howto: Asume: A raw complete harddisc image within a bootable NTFS partition with XP or 2k3 on it Incident: when using these image with kvm based qemu, the

[Qemu-devel] [Bug 521994] Re: Windows 98 doesn't detect mouse on qemu and SeaBIOS.

2010-08-01 Thread Michael Tokarev
** Bug watch added: Debian Bug tracker #591266 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591266 ** Also affects: qemu-kvm (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591266 Importance: Unknown Status: Unknown -- Windows 98 doesn't detect mouse on qemu and

[Qemu-devel] [Bug 612297] [NEW] qemu-kvm fails to detect mouse while Windows 95 setup

2010-08-01 Thread Matthias Mann
Public bug reported: CPU: AMD Phenom II X4 945 KVM-Version: qemu-kvm-0.12.4+dfsg (Debian package) Kernel: linux-2.6.26.8-rt16 arch: x86_64 Guest: Windows 95 B I'm trying to install Windows 95 B on qemu-kvm with this options: kvm /var/mmn/vm/Win95/Win95.img -name "Windows 95" -M pc-0.12 -m 512M -

Re: [Qemu-devel] [PATCH 0/3] Fix broken if statements

2010-08-01 Thread Andreas Färber
Am 22.07.2010 um 18:18 schrieb Stefan Weil: Am 21.07.2010 22:05, schrieb Joel Schopp: I have decided to apply the broken window theory of crime http://en.wikipedia.org/wiki/Broken_windows_theory to code, and more specifically to qemu[:] I'm hoping that fixing seemingly trivial bugs will actu

[Qemu-devel] [PATCH] qemu-option: Include name of invalid parameter in error message

2010-08-01 Thread Stefan Weil
All other error messages in qemu-option.c display the name of the invalid parameter. This seems to be reasonable for invalid identifiers, too. Without it, a debugger is needed to find the name. Cc: Markus Armbruster Cc: Anthony Liguori Signed-off-by: Stefan Weil --- qemu-option.c |2 +- 1

[Qemu-devel] Netboot happens twice (first fail) when using etherboot ROMs

2010-08-01 Thread Michael Tokarev
I wonder why with etherboot ROMs, the network boot happens two times (0.12.x), like this: - Starting SeaBIOS (version 0.5.1-20100801_125707-gandalf) Booting from virtio-net.zrom 5.4.4 (GPL) ether... ROM segment 0xc900 length 0x8000 reloc 0x Etherboot 5.4.4 (GPL) http://etherboot.o

Re: [Qemu-devel] [PATCH] loader: pad kernel size when loaded from a uImage

2010-08-01 Thread Edgar E. Iglesias
On Sat, Jul 31, 2010 at 12:56:42AM +0200, Edgar E. Iglesias wrote: > On Thu, Jul 29, 2010 at 06:48:24PM -0700, Hollis Blanchard wrote: > > The kernel's BSS size is lost by mkimage, which only considers file > > size. As a result, loading other blobs (e.g. device tree, initrd) > > immediately after

[Qemu-devel] [PATCH] docs: Improve documentation

2010-08-01 Thread Stefan Weil
Fix some inconsistencies (tabs and punctuation) and try to improve grammar and spelling. Cc: Juan Quintela Signed-off-by: Stefan Weil --- docs/migration.txt | 56 ++-- 1 files changed, 28 insertions(+), 28 deletions(-) diff --git a/docs/migrati

Re: [Qemu-devel] [PATCH] Add new user mode option -ignore-environment

2010-08-01 Thread Stefan Weil
Am 16.07.2010 15:09, schrieb Stefan Weil: Am 16.07.2010 09:04, schrieb Markus Armbruster: Stefan Weil writes: An empty environment is sometimes useful in user mode. The new option provides it for linux-user and bsd-user (darwin-user still has no environment related options). Stupid question:

[Qemu-devel] [PATCH 00/20] MIPS Magnum conversion to qdev

2010-08-01 Thread Hervé Poussineau
This series converts devices used by MIPS Magnum emulation to qdev devices. Once applied, Magnum emulation will be fully creatable by a configuration file (see attached file) usage: qemu-system-mips64el -M empty -nodefaults -readconfig magnum -netdev id=nic,type=user -drive id=disk,format=qcow2

[Qemu-devel] Re: enabling X86_FEATURE_ARCH_PERFMON in guest

2010-08-01 Thread Avi Kivity
On 07/30/2010 08:02 PM, David S. Ahern wrote: How do I get X86_FEATURE_ARCH_PERFMON enabled for a guest? I've tried "-cpu host,+perfmon" and "-cpu host,+arch_perfmon", but both get rejected with an error: CPU feature perfmon not found qemu doesn't know about the perfmon feature bits. Even i