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

[Xen-devel] Bug Report - Debian, HVM, + qemu-xen-traditional "-domain-name: invalid option"


  • To: Xen-devel@xxxxxxxxxxxxx
  • From: merc1984@xxxxxx
  • Date: Sun, 15 Jun 2014 21:15:38 -0700
  • Delivery-date: Mon, 16 Jun 2014 04:15:58 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xen.org>

Debian Testing in dom0 & domU, with xen 4.3.0-3 installed as packages
from the repo.

When setting device_model_version =qemu-xen-traditional in prep for VGA
passthru (as qemu-xen does not yet support it apparently), on xl create
it consistently gives:
Parsing config from cygnus.cfg                                           
libxl: error: libxl_dm.c:1300:libxl__destroy_device_model: could not
find device-model's pid for dom 4    
libxl: error: libxl.c:1408:libxl__destroy_domid:
libxl__destroy_device_model failed for 4                 

In /var/log/xen/qemu-dm-cygnus.log it only says:
 -domain-name: invalid option.  

Note that I haven't enabled VGA passthrough at this point, on either
dom0 or domU.  The failure strictly has to do with device_model_version
=qemu-xen-traditional .  Set it back to qemu-xen and domU starts great. 
But I need -traditional for VGA passthru.

In a search of /etc the only occurrance of 'domain-name' is in
/etc/xen/scripts/network-nat, but commenting out that line doesn't
change anything.

I notice that two bugs for this have been filed on libvirt-bin, but I
didn't even have it installed.  And installing it didn't change
anything.
http://osdir.com/ml/general/2014-04/msg48283.html
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746156

My .cfg file works great with device_model_version = "qemu-xen" and no
other changes except enabling bios = "seabios".  I've tried commenting
out everything except the bare minimum, but nothing changes.

--------------------------------------------------------------------------------
name = "cygnus"
        builder = 'hvm'
        bootloader = 'pygrub'
# Enable PVHVM
        xen_platform_pci=1

               device_model_version = "qemu-xen"
                # for VGA passthrough, as qemu-xen does not support it
                yet
#                device_model_version = "qemu-xen-traditional"
                device_model_override = "/usr/bin/qemu-system-x86_64"
                bios = "seabios"

# Start the guest with MBYTES megabytes of RAM.
        memory = 2048
# Keep time in domU, from dom0
        localtime=1

#  Disk device(s). Using LVM
        root = '/dev/xvda1 ro'
        disk = [
                'phy:/dev/vg0/cygnus-disk,xvda,w',
                'phy:/dev/vg0/cygnus-swap,xvdb,w',
#              
'phy:/dev/disk/by-uuid/68350bc1-b14e-4457-a4bf-1b03dc2ace67,xvdg,w',
#              
'phy:/dev/disk/by-uuid/8a19b7d7-3684-45b6-a5b3-848cd0b20d8d,xvdh,w',
#              
'phy:/dev/disk/by-uuid/e609e777-576d-46b8-8988-24803a5f9565,xvdi,w',

#                'phy:/dev/sdd,xvdj,w',

#               'phy:/dev/sr0,sdg:cdrom,w',
#               'file:/home/bill/debian-jessie.iso,sdc:cdrom,r'
                ]
        # hard disk (c), cd-rom (d) or network/PXE (n).
        boot="dc"

# Peripherals
#       gfx_passthru=1
#       pci = [
'00:02.0,power_mgmt=1,msitranslate=1','00:03.0','00:1a.0','00:1b.0','00:1d.0','05:00.0'
]
                pci = [
                '00:03.0','00:1a.0','00:1b.0','00:1d.0','05:00.0' ]
        viridian=1
        vif = ['mac=00:16:5e:02:a3:53, bridge=cygnus0br, model=e1000']
        usb=1
#       usbversion = "2"
# tablet (for mouse pointer), r5000, Canon scanner:
        usbdevice = [
                'host:0547:1002',
                'tablet',
                'host:04a9:1716',
                'host:0bda:0151',
                ]
        vfb         = [ 'type=vnc,vncpasswd=antonio7,keymap=en-us' ]
        vncdisplay = "10"
        vga         = 'stdvga'

# The display should not be presented via an X window (using Simple
DirectMedia Layer).
        sdl=0
#       serial='pty'

#  Behaviour
        on_poweroff = 'destroy'
        on_reboot   = 'restart'
        on_crash    = 'restart'



-- 
http://www.fastmail.fm - Faster than the air-speed velocity of an
                          unladen european swallow


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


 


Rackspace

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