[libvirt] RFC: what are the requirements to domain id

Michal Privoznik mprivozn at redhat.com
Thu May 19 17:22:01 UTC 2016


On 19.05.2016 17:56, Cole Robinson wrote:
> On 05/19/2016 10:47 AM, Nikolay Shirokovskiy wrote:
>> Hi, all.
>>
> 
> <snip>
> 
>>
>> A more profound question is what is this id for?  How it is supposed to be used?
>>
> 
> I think most of the 'why' behind it is just that 'thats what xen does', since
> domain ID has been there since day 1 in libvirt, which was largely a duplicate
> of xen interfaces at the time.

Yeah, different drivers use it differently. For instance, LXC use it to
report PID of container's init, QEMU use it to report sequential ID of
domain, etc.

Michal




More information about the libvir-list mailing list