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

[Xen-users] Trying out vixen: failure to start device model


  • To: xen-users@xxxxxxxxxxxxx
  • From: Andy Smith <andy@xxxxxxxxxxxxxx>
  • Date: Thu, 11 Jan 2018 21:16:52 +0000
  • Delivery-date: Thu, 11 Jan 2018 21:17:52 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Openpgp: id=BF15490B; url=http://strugglers.net/~andy/pubkey.asc

Hi,

I'm attempting to experiment with Vixen as described in the recent
XSA-254 update. Unfortunately I'm failing at the first hurdle and am
probably doing something stupid.

All the steps up until creating the guest seemed to work. I ended up
with a generated config that looks like this:

name       = "debtest1"
memory     = 2560
vcpus      = 2
vif        = [ "mac=00:16:5e:00:02:39, ip=192.168.82.225, vifname=v-debtest1" ]
kernel     = "/opt/grub/lib/grub-x86_64-xen.bin"
disk       = [ "phy:/dev/ssdvg/domu_debtest1_xvda,xvda,w",
               "phy:/dev/ssdvg/domu_debtest1_xvdb,xvdb,w" ]
builder='hvm'
type='hvm'
device_model_version='qemu-xen'
device_model_override='/var/lib/xen/pvshim-sidecars/debtest1.dm'
device_model_args_hvm=['-cdrom','/var/lib/xen/pvshim-sidecars/debtest1.iso']
boot='c'
serial='pty'

When I try to create it I get:

Parsing config from /etc/xen/debtest1-with-shim.conf
libxl: error: libxl_dm.c:2189:device_model_spawn_outcome: domain 7 device 
model: spawn failed (rc=-3)
libxl: error: libxl_create.c:1504:domcreate_devmodel_started: device model did 
not start: -3
libxl: error: libxl_dm.c:2303:kill_device_model: Device Model already exited
libxl: error: libxl.c:1575:libxl__destroy_domid: non-existant domain 7
libxl: error: libxl.c:1534:domain_destroy_callback: unable to destroy guest 
with domid 7
libxl: error: libxl.c:1463:domain_destroy_cb: destruction of domain 7 failed

I've never tried running anything HVM before so I'm probably just
missing some qemu thing.

The dom0 is Debian jessie and qemu-system-x86 package is installed.

The rest of the Xen installation is a recompiled 4.8 from
jessie-backports.

Searching around for the error, I saw someone 4 years ago had some
success with:

device_model_version="qemu-xen"
device_model_override="/usr/bin/qemu-system-x86_64"

But I don't think that could be the answer as 1) it's later said
that's no longer necessary, and 2) device_model_override is already
being set above.

Any ideas?

Cheers,
Andy

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-users

 


Rackspace

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