diff options
author | Laurent Vivier <lvivier@redhat.com> | 2017-10-10 15:32:41 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-10-15 05:54:44 +0300 |
commit | 46202d85d75b3a57c322f4832aac1dd20d5b3233 (patch) | |
tree | 48397fcd191372687a3b8fe5961a22634ec9968e /hw/i386/pc_q35.c | |
parent | b5dac424922d62467ec2fd5bbe3a37b8d51919f3 (diff) | |
download | qemu-46202d85d75b3a57c322f4832aac1dd20d5b3233.zip qemu-46202d85d75b3a57c322f4832aac1dd20d5b3233.tar.gz qemu-46202d85d75b3a57c322f4832aac1dd20d5b3233.tar.bz2 |
pc: remove useless hot_add_cpu initialisation
Since 4458fb3a79 (pc: Eliminate pc_default_machine_options()),
hot_add_cpu is set in pc_machine_class_init(), so we don't
need to set it in pc_q35_machine_options(), pc_i440fx_machine_options()
and xenfv_machine_options(), except to clear it in
pc_i440fx_1_4_machine_opt().
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/i386/pc_q35.c')
-rw-r--r-- | hw/i386/pc_q35.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c index 6c4ec4b..da3ea60 100644 --- a/hw/i386/pc_q35.c +++ b/hw/i386/pc_q35.c @@ -295,7 +295,6 @@ static void pc_q35_machine_options(MachineClass *m) { m->family = "pc_q35"; m->desc = "Standard PC (Q35 + ICH9, 2009)"; - m->hot_add_cpu = pc_hot_add_cpu; m->units_per_default_bus = 1; m->default_machine_opts = "firmware=bios-256k.bin"; m->default_display = "std"; |