pc: remove useless hot_add_cpu initialisation
commit46202d85d75b3a57c322f4832aac1dd20d5b3233
authorLaurent Vivier <lvivier@redhat.com>
Tue, 10 Oct 2017 13:32:41 +0000 (10 15:32 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 15 Oct 2017 02:54:44 +0000 (15 05:54 +0300)
tree48397fcd191372687a3b8fe5961a22634ec9968e
parentb5dac424922d62467ec2fd5bbe3a37b8d51919f3
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>
hw/i386/pc_piix.c
hw/i386/pc_q35.c