Re: Create domU without any disks

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

 



On Thu, Nov 29, 2007 at 05:18:20PM +0100, Tim Verhoeven wrote:
> Hi,
> 
> 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).
> 
> I can create a configfile for "xm create ..." that works (just use
> "disk = [ ]"). But I also need to do this koan (companion to cobbler)
> and it uses libvirt.

  Well libvirt can dump XML for existing Xen domains, use
    virsh dumpxml domainname
even if you used xm to create the domain.
Now I suppose you will just end up with a dump without any <disk>
entry in <devices> (but you will have a network one at least),

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]