Re: virtual machine id

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

 



On 01/23/13 08:07, 春祥 王 wrote:
Below is my start.xml:
<domain type='kvm' id='12'>
             <name>start-ubuntu</name>
             <memory>1048576</memory>
             <currentMemory>1048576</currentMemory>
             <vcpu>1</vcpu>
<os>
               <type>hvm</type>
               <boot dev='hd'/>
               ......
I start the machine   virsh create start.xml
virsh list
Id Name                           State
----------------------------------------------------
  20    start-ubuntu                   running

I set id=12,but it is actually 20,I don't know why.

The id field is assigned at start of a guest sequentially. You can't influence that in the XML.

Peter

_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users



[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux