[Libvir] Create domU without any disks

Richard W.M. Jones rjones at redhat.com
Thu Nov 29 16:29:03 UTC 2007


Tim Verhoeven wrote:
> I'm working on RHEL5.1 (libvirt-0.2.3-9.el5). I would like to know if
> it is possible, using libvirt, to create a Xen PVM domU that has no
> disks? And if this is possible how to code this ( a simple example is
> ok).

Did you try taking the XML, either from another running domain or from 
the examples we give[1], and stripping out all the <disk> sections?  I 
looked at the code and it ought to work -- if it doesn't, then it's 
probably a bug.

Rich.

[1] http://libvirt.org/format.html

-- 
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20071129/08e91609/attachment-0001.bin>


More information about the libvir-list mailing list