[Libvir] [PATCH] lxc: start domain
Dave Leskovec
dlesko at linux.vnet.ibm.com
Mon Mar 31 23:12:44 UTC 2008
Daniel Veillard wrote:
>>> [...]
>>>
>>> Hum, now that config names are saved based on domain names, wouldn't
>>> it be better to use a name based lookup ? Less precise but more direct
>> Not sure what you're referring to here. name based lookup for what?
>
> Hum, wrong part quoted, it's about lxcDomainStart() just below:
>
> :+static int lxcDomainStart(virDomainPtr dom)
> :+{
> :+ int rc = -1;
> :+ virConnectPtr conn = dom->conn;
> :+ lxc_driver_t *driver = (lxc_driver_t *)(conn->privateData);
> :+ lxc_vm_t *vm = lxcFindVMByUUID(driver, dom->uuid);
> :+
>
Ah, ok. Yep, I can change that...
--
Best Regards,
Dave Leskovec
IBM Linux Technology Center
Open Virtualization
More information about the libvir-list
mailing list