[SeaBIOS] [PATCHv2 0/6] Improved multi-platform support

Ian Campbell ijc at hellion.org.uk
Wed Feb 13 13:05:00 CET 2013


On Wed, 2013-02-13 at 11:48 +0000, David Woodhouse wrote:
> On Wed, 2013-02-13 at 11:40 +0000, Ian Campbell wrote:
> > On Wed, 2013-02-13 at 11:37 +0000, David Woodhouse wrote:
> > > device_model_version_override = "qemu-xen"
> > 
> > No "_override" on this option, sorry, that was my fault.
> 
> [root at i7 ~]# ls /usr/lib/xen/bin/
> qemu-dm  stubdom-dm  stubdompath.sh  xenpaging

The qemu-dm here is the qemu-xen-traditional, i.e. the legacy Xen fork
of qemu which uses ROMBIOS not SeaBIOS.

> [root at i7 ~]# cat seabios.cfg 
> builder = "hvm"
> name = "seabios"
> device_model_version = "qemu-xen"
> memory = 512
> serial = 'pty'
> firmware_override = '/home/dwmw2/fedora/xen/f18/xen-4.2.1/tools/firmware/hvmloader/hvmloader'
> 
> [root at i7 ~]# xl create -c -d  seabios.cfg
> Parsing config from seabios.cfg
> {"domid":null,"config":{"c_info":{"type":"hvm","hap":"<default>","oos":"<default>","ssidref":0,"name":"seabios","uuid":"a2ced1af-b3ae-4efa-85d4-17f372acc5e2","xsdata":{},"platformdata":{},"poolid":0,"run_hotplug_scripts":"True"},"b_info":{"max_vcpus":0,"avail_vcpus":[],"cpumap":[],"numa_placement":"<default>","tsc_mode":"default","max_memkb":524288,"target_memkb":524288,"video_memkb":-1,"shadow_memkb":4096,"rtc_timeoffset":0,"localtime":"<default>","disable_migrate":"<default>","cpuid":[],"blkdev_start":null,"device_model_version":"qemu_xen","device_model_stubdomain":"<default>","device_model":null,"device_model_ssidref":0,"extra":[],"extra_pv":[],"extra_hvm":[],"sched_params":{"sched":"unknown","weight":-1,"cap":-1,"period":-1,"slice":-1,"latency":-1,"extratime":-1},"ioports":[],"irqs":[],"u":{"firmware":"/home/dwmw2/fedora/xen/f18/xen-4.2.1/tools/firmware/hvmloader/hvmloader","bios":null,"pae":"<default>","apic":"<default>","acpi":"<default>","acpi_s3":"<default>","acpi_s4":"<default>","nx":"<default>","viridian":"<default>","timeoffset":null,"hpet":"<default>","vpt_align":"<default>","timer_mode":null,"nested_hvm":"<default>","nographic":"<default>","vga":{"kind":null},"vnc":{"enable":"<default>","listen":null,"passwd":null,"display":0,"findunused":"<default>"},"keymap":null,"sdl":{"enable":"<default>","opengl":"<default>","display":null,"xauthority":null},"spice":{"enable":"<default>","port":0,"tls_port":0,"host":null,"disable_ticketing":"<default>","passwd":null,"agent_mouse":"<default>"},"gfx_passthru":"<default>","serial":"pty","boot":null,"usb":"<default>","usbdevice":null,"soundhw":null,"xen_platform_pci":"<default>"}},"disks":[],"nics":[],"pcidevs":[],"vfbs":[],"vkbs":[],"on_poweroff":"destroy","on_reboot":"restart","on_watchdog":"destroy","on_crash":"destroy"}}
> xc: info: VIRTUAL MEMORY ARRANGEMENT:
>   Loader:        0000000000100000->00000000001be3a8
>   TOTAL:         0000000000000000->000000001f800000
>   ENTRY ADDRESS: 0000000000100000
> xc: info: PHYSICAL MEMORY ALLOCATION:
>   4KB PAGES: 0x0000000000000200
>   2MB PAGES: 0x00000000000000fb
>   1GB PAGES: 0x0000000000000000
> libxl: error: libxl_dm.c:1086:libxl__spawn_local_dm: device model /usr/lib/xen/bin/qemu-system-i386 is not executable: No such file or directory

Hrm, this should either be provided by the Xen package (or maybe there
is a separate xen-qemu package?) or the Xen package should have been
patched to use the system qemu from /usr/bin. This is probably a
casualty of the upstream qemu-xen stuff being non-default in 4.2.x.

Does your /usr/bin/qemu-system-{i386,x86_64} link against any Xen
libraries? In which case you could try
device_model_override="/path/to/it"

Ian.

-- 
Ian Campbell
Current Noise: Emperor - With Strength I Burn

A good supervisor can step on your toes without messing up your shine.




More information about the SeaBIOS mailing list