Commit b7b6a28eb9eae641762de9408a90971d849ce92e

Don't copy old machines from a domain which has none

If the the qemu and kvm binaries are the same, we don't include machine
types in the kvm domain info.

However, the code which refreshes the machine types info from the
previous capabilities structure first looks at the kvm domain's info,
finds it matches and then copies the empty machine types list over
for the top-level qemu domain.

That doesn't make sense, we shouldn't copy an empty machin types list.

* src/qemu/qemu_conf.c: qemudGetOldMachinesFromInfo(): don't copy an
  empty machine types list.

(cherry picked from commit 2210f8a3a8e2774ca4fb8b42e21899e5b85ca913)

Fedora-patch: libvirt-qemu-machine-type-fixes2.patch
  
505505 virCapsGuestMachinePtr *list;
506506 int i;
507507
508 if (!info->nmachines)
509 return 0;
510
508511 if (!info->emulator || !STREQ(emulator, info->emulator))
509512 return 0;
510513