libvirt/src/xen
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
..
block_stats.c xen: fix build error on rhel-5 2015-04-14 15:14:58 +02:00
block_stats.h headers: Remove unnecessary keyword extern from function declaration 2016-05-11 09:06:32 +02:00
xen_driver.c virGetDomain: Set domain ID too 2017-04-03 08:35:57 +02:00
xen_driver.h extract XEN_CONFIG_FORMAT_XM/XL to xen_common.h 2016-05-17 14:09:11 -06:00
xen_hypervisor.c Move virstat.c code to virnetdevtap.c 2016-12-09 10:28:07 +01:00
xen_hypervisor.h maint: clean up _virDomainBlockStats 2014-09-17 11:28:48 -06:00
xen_inotify.c Use virDirOpen 2016-06-24 14:20:57 +02:00
xen_inotify.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
xend_internal.c Introduce virBitmapParseSeparator 2016-06-20 12:09:39 +02:00
xend_internal.h xend: Remove a couple of unused function prototypes. 2015-04-21 10:22:43 +01:00
xm_internal.c xen: remove legacy hack for RHEL-5 Xen 2016-11-10 16:00:02 +00:00
xm_internal.h xen: fix race in refresh of config cache 2015-09-11 17:25:29 +01:00
xs_internal.c Xen: VIR_FROM_THIS cleanup 2016-01-21 09:31:39 -07:00
xs_internal.h src/xen: Utilize more of VIR_(APPEND|INSERT|DELETE)_ELEMENT 2014-03-10 13:45:11 +01:00