Peter Krempa 9eb9106ea5 qemu: command: Add support for sparse vcpu topologies
Add support for using the new approach to hotplug vcpus using device_add
during startup of qemu to allow sparse vcpu topologies.

There are a few limitations imposed by qemu on the supported
configuration:
- vcpu0 needs to be always present and not hotpluggable
- non-hotpluggable cpus need to be ordered at the beginning
- order of the vcpus needs to be unique for every single hotpluggable
  entity

Qemu also doesn't really allow to query the information necessary to
start a VM with the vcpus directly on the commandline. Fortunately they
can be hotplugged during startup.

The new hotplug code uses the following approach:
- non-hotpluggable vcpus are counted and put to the -smp option
- qemu is started
- qemu is queried for the necessary information
- the configuration is checked
- the hotpluggable vcpus are hotplugged
- vcpus are started

This patch adds a lot of checking code and enables the support to
specify the individual vcpu element with qemu.
2016-08-24 15:44:47 -04:00
..
2016-06-06 17:35:44 +02:00
2014-12-02 07:30:10 +01:00
2015-08-25 07:21:33 -04:00
2015-03-23 09:01:30 +01:00
2015-03-23 09:01:30 +01:00
2014-03-03 17:41:26 +04:00
2013-12-02 10:21:26 +08:00
2016-08-02 14:20:31 +02:00
2014-12-02 07:30:10 +01:00
2009-07-16 15:06:42 +02:00
2016-08-08 11:49:35 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2015-10-20 17:29:03 +02:00
2016-08-02 12:35:06 +02:00
2015-10-20 17:30:34 +02:00
2016-03-29 13:45:33 +02:00
2013-09-12 17:18:32 +08:00
2016-06-06 17:35:44 +02:00
2014-12-02 07:30:10 +01:00