[Libvir] Some doubts for OpenVZ

Richard W.M. Jones rjones at redhat.com
Fri Jul 6 12:11:39 UTC 2007


Shuveb Hussain wrote:
> Looks like the libvirt config file for openvz will contain nothing else
> but the UUIDs. This is definitely going to look weird!

Is it possible to put the UUID into a comment in the ordinary OpenVZ 
file?  (Or in some part of the file that OpenVZ will ignore)  That will 
keep the UUID and other stuff together.

>>> 2. In OpenVZ, there is just a VPS ID/Name. There is no temporary
>>> reference like 'id'. For example QEMU is using the process PID. There is
>>> no such notion for OpenVZ. In that case, can I make 'name' and 'id' same
>>> for OpenVZ?
>> What is VPS ID/Name?  Is it a string?  Number?
> 
> ID is an int and the name is a string. Earlier OpenVZ only had the VPS
> IDs. Now it has both ID and name. The name I guess is optional. But
> commonly people only use the ID, which is a number. Once assigned to a
> VPS, it is there till the VPS is destroyed. It is not like a PID.

Sounds a bit like a PID to me, but yes I think you should use the OpenVZ 
ID for the libvirt domain ID.

Rich.

-- 
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/20070706/43f42c70/attachment-0001.bin>


More information about the libvir-list mailing list