From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabio Fantoni Subject: Re: Bug Report - Debian, HVM, + qemu-xen-traditional "-domain-name: invalid option" Date: Mon, 16 Jun 2014 10:06:53 +0200 Message-ID: <539EA59D.4050104@m2r.biz> References: <1402892138.9156.129126265.604815FC@webmail.messagingengine.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1402892138.9156.129126265.604815FC@webmail.messagingengine.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: merc1984@f-m.fm, Xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Il 16/06/2014 06:15, merc1984@f-m.fm ha scritto: > 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 debian has removed qemu-traditional long time ago > > > 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' > > >