libvirt/src/libxl
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
..
libvirtd_libxl.aug libxl: keepalive messages support 2016-02-09 21:14:12 -07:00
libxl_capabilities.c cpu_x86: Make virCPUx86DataAddCPUID work with virCPUDataPtr 2017-02-24 14:10:57 +01:00
libxl_capabilities.h libxl: implement connectGetDomainCapabilities 2016-06-13 14:13:17 -06:00
libxl_conf.c libxl: fix potential double free in libxlDriverGetDom0MaxmemConf 2017-02-15 18:24:58 -07:00
libxl_conf.h libxl: fix dom0 maximum memory setting 2017-02-09 10:02:19 -07:00
libxl_domain.c libxl: fix empty string check for channel path 2017-02-23 10:11:16 +00:00
libxl_domain.h libxl: add a flag to mark guests as tainted by a hook 2016-08-02 14:20:31 +02:00
libxl_driver.c virGetDomain: Set domain ID too 2017-04-03 08:35:57 +02:00
libxl_driver.h libxl: Use standard format for source file copyright notice 2013-09-03 23:53:48 -06:00
libxl_logger.c libxl: define a per-domain logger. 2017-01-11 09:32:47 +01:00
libxl_logger.h libxl: define a per-domain logger. 2017-01-11 09:32:47 +01:00
libxl_migration.c virGetDomain: Set domain ID too 2017-04-03 08:35:57 +02:00
libxl_migration.h libxl: add tunnelled migration support 2017-02-15 14:47:14 -07:00
libxl.conf libxl: keepalive messages support 2016-02-09 21:14:12 -07:00
test_libvirtd_libxl.aug.in libxl: keepalive messages support 2016-02-09 21:14:12 -07:00