[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Changing media on network disks (was Re: can't bot from scs
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] Changing media on network disks (was Re: can't bot from scsi http cdrom) |
Date: |
Mon, 13 Apr 2015 15:31:10 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 |
On 13/04/2015 14:34, Vasiliy Tolstov wrote:
> Thanks! This is works fine. Last question - does it possible to create
> empty cdrom with type='network'?
> I'm try this, but libvrit complains with error:
> <disk type='network' device='cdrom'>
> <driver name='qemu' type='raw'/>
> <target dev='sdb' bus='scsi' tray='open'/>
> <address type='drive' controller='0' target='1' bus='0' unit='1'/>
> <readonly/>
> </disk>
No, unfortunately not because "virsh change-media" wouldn't be able to
convert its argument to the required libvirt XML. I think you would
need a new virsh change-media option, e.g. --xml, that takes a <disk>
element instead of a source path + target path pair. However, I am not
a libvirt developer.
Paolo