Re: [Qemu-devel] [PATCH 5/7] add hot_add_cpu hook to QEMUMachine and export machine_args

2013-04-29 Thread li guang
在 2013-04-29一的 17:02 +0200,Igor Mammedov写道: > hot_add_cpu hook should be overriden by target that implements > cpu hot-add via cpu-add QMP command. > > Make machine_args available globaly, it allows to reuse > machine_args->cpu_model during hotplug, instead of adding target > specific globals to k

[Qemu-devel] [PATCH 5/7] add hot_add_cpu hook to QEMUMachine and export machine_args

2013-04-29 Thread Igor Mammedov
hot_add_cpu hook should be overriden by target that implements cpu hot-add via cpu-add QMP command. Make machine_args available globaly, it allows to reuse machine_args->cpu_model during hotplug, instead of adding target specific globals to keep a copy of cpu_model. Signed-off-by: Igor Mammedov