qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] i386: keep cpu_model field in MachineState u


From: Zhu Guihua
Subject: Re: [Qemu-devel] [PATCH v2] i386: keep cpu_model field in MachineState uptodate
Date: Thu, 27 Aug 2015 11:17:54 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0


On 08/26/2015 11:11 PM, Eduardo Habkost wrote:
On Mon, Aug 24, 2015 at 05:42:09PM +0800, Zhu Guihua wrote:
Update cpu_model in MachineState for i386, so that the field can be used
for cpu hotplug, instead of using a static variable.

Signed-off-by: Zhu Guihua <address@hidden>
[...]
-void pc_cpus_init(const char *cpu_model, DeviceState *icc_bridge)
+void pc_cpus_init(MachineState *machine, DeviceState *icc_bridge)
This is a PC initialization function, so a PCMachineState argument makes
more sense. See pc_cmos_init(), load_linux(), pc_guest_info_init(),
pc_memory_init(), etc.

Oh, I know how to do this. Thanks for your suggestion.

Thanks,
Zhu


The rest looks good.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]