[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] (pv)hvm, upstream qemu 1.7.1


  • To: xen-users@xxxxxxxxxxxxx
  • From: Jacek Konieczny <jajcus@xxxxxxxxxx>
  • Date: Fri, 11 Apr 2014 21:44:03 +0200
  • Delivery-date: Fri, 11 Apr 2014 19:44:14 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>

Hi,

I wanted to try running a PVHVM linux VM under Xen 4.4.0, using upstream
qemu 1.7.1.

I have prepared a system image, which I can successfully run in the
following modes:
- PV
– PVH (using fixes from Xen 4.4 git branch to prevent Xen lock-up on the
  domU shutdown)
- PVHVM, using device_model_version="qemu-xen-traditional"

What does not work is (PV)HVM with device_model_version="qemu-xen". My
Xen is compiled with '--with-system-qemu=...' and uses the system
qemu-system-x86_64 binary, which is qemu 1.7.1.

This is supposed to work, according to
http://wiki.xen.org/wiki/QEMU_Upstream.

The domain won't start. Or, rather, it crashes/reboots immediately (I
have stopped this with the 'on_reboot/on_crash' settings).
There is little interesting in the logs, except the one error in 'xl
dmesg':

(XEN) io.c:204:d58 MMIO emulation failed @ 0008:ffff34d1: 10 89 f9 1e 04
83 ff ff 06 02


The config file ('pvhtest.cfg'):

memory = 256
vcpus = 1
name = "pvhtest"
vif = [ 'mac=02:00:0f:ff:00:1E, bridge=xenbr0']
disk = [ 'phy:/dev/vg/pvhtest,hda,w' ]
#bootloader = 'pygrub'
#pvh = 1
builder = 'hvm'
xen_platform_pci=1
boot="c"
paused = 1
pae=1
acpi=1
apic=1
stdvga=0
vnc=1
vncdisplay=1
vncpasswd="dupa"
serial='pty'
on_poweroff = 'destroy'
on_reboot   = 'preserve'
on_crash    = 'preserve'
device_model_version="qemu-xen"

The start command:

# xl -v create pvhtest.cfg
Parsing config from pvhtest.cfg
libxl: detail: libxl_dom.c:195:numa_place_domain: NUMA placement
candidate with 1 nodes, 4 cpus and 14117 KB free selected
xc: detail: elf_parse_binary: phdr: paddr=0x100000 memsz=0x9ef68
xc: detail: elf_parse_binary: memory: 0x100000 -> 0x19ef68
xc: detail: VIRTUAL MEMORY ARRANGEMENT:
  Loader:        0000000000100000->000000000019ef68
  Modules:       0000000000000000->0000000000000000
  TOTAL:         0000000000000000->000000000f800000
  ENTRY ADDRESS: 0000000000100620
xc: detail: PHYSICAL MEMORY ALLOCATION:
  4KB PAGES: 0x0000000000000200
  2MB PAGES: 0x000000000000007b
  1GB PAGES: 0x0000000000000000
xc: detail: elf_load_binary: phdr 0 at 0x7fd78ab46000 -> 0x7fd78abdbded

logs:

qemu-dm-pvhtest.log:

char device redirected to /dev/pts/4 (label serial0)

xl-pvhtest.log:

Waiting for domain pvhtest (domid 59) to die [pid 4914]
Domain 59 has shut down, reason code 1 0x1
Action for shutdown reason code 1 is preserve
Done. Exiting now

xl dmesg:

(XEN) io.c:204:d58 MMIO emulation failed @ 0008:ffff34d1: 10 89 f9 1e 04
83 ff ff 06 02


What is going wrong here? How do I debug that?

Greets,
        Jacek

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.