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
..
2016-04-25 15:40:44 +02:00
2017-04-03 08:35:57 +02:00
2016-12-02 09:25:13 +01:00
2017-01-25 09:18:49 +01:00