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

Re: [Xen-users] adding fourth device to pvhvm config causes DomU launch fail @ "device_disk_add: device already exists in xenstore" ?




On Mon, Feb 22, 2016, at 03:06 AM, Roger Pau Monné wrote:
> You have two disks pointing to the same virtual device inside of the
> guest, which is not possible (hdd). You will have to change one of them
> to be hde instead.

I changed the obvious pebkac :-( of the identifier for the cdr, so I have

                ...
                disk = [ 'phy:/dev/VG0/tEFI,hda,w',
                         'phy:/dev/VG0/tBOOT,hdb,w',
                         'phy:/dev/VG0/tSWAP,hdc,w',
                         'phy:/dev/VG0/tROOT,hdd,w',
                         
'file:/home/test/archlinux-2016.02.01-dual.iso,hde:cdrom,r',]
                ...

Still, guest launch fails with

        xl create ./arch.cfg

                Parsing config from ./arch.cfg
                got a tsc mode string: "default"
                libxl: error: libxl.c:2615:libxl__device_from_disk: Invalid or 
unsupported virtual disk identifier hde
                libxl: error: libxl.c:2728:device_disk_add: Invalid or 
unsupported virtual disk identifier hde
                libxl: error: libxl_create.c:1175:domcreate_launch_dm: unable 
to add disk devices
                libxl: error: libxl_dm.c:1966:kill_device_model: unable to find 
device model pid in /local/domain/16/image/device-model-pid
                libxl: error: libxl.c:1628:libxl__destroy_domid: 
libxl__destroy_device_model failed for 16
                libxl: error: libxl.c:1591:libxl__destroy_domid: non-existant 
domain 16
                libxl: error: libxl.c:1549:domain_destroy_callback: unable to 
destroy guest with domid 16
                libxl: error: libxl.c:1476:domain_destroy_cb: destruction of 
domain 16 failed

Out of curiosity, I dropped

                ...
                disk = [ 'phy:/dev/VG0/tEFI,hda,w',
                         'phy:/dev/VG0/tBOOT,hdb,w',
                         'phy:/dev/VG0/tSWAP,hdc,w',
        -                'phy:/dev/VG0/tROOT,hdd,w',
                         
'file:/home/test/archlinux-2016.02.01-dual.iso,hde:cdrom,r',]
                ...

and on launch I get the same fail.

_______________________________________________
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®.