libvirt/src/vmware
Michal Privoznik 5683b21309 virGetDomain: Set domain ID too
So far our code is full of the following pattern:

  dom = virGetDomain(conn, name, uuid)
  if (dom)
      dom->id = 42;

There is no reasong why it couldn't be just:

  dom = virGetDomain(conn, name, uuid, id);

After all, client domain representation consists of tuple (name,
uuid, id).

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2017-04-03 08:35:57 +02:00
..
vmware_conf.c Remove src/nodeinfo 2017-03-27 13:13:29 +02:00
vmware_conf.h conf: Split virDomainObjList into a separate file 2015-11-30 13:55:10 +01:00
vmware_driver.c virGetDomain: Set domain ID too 2017-04-03 08:35:57 +02:00
vmware_driver.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00