pc: Update rtc_cmos on CPU hot-plug
authorIgor Mammedov <imammedo@redhat.com>
Tue, 23 Apr 2013 08:29:40 +0000 (10:29 +0200)
committerAndreas Färber <afaerber@suse.de>
Wed, 1 May 2013 11:04:18 +0000 (13:04 +0200)
commitb8b7456d6ab7edb450ae5ec6473d3cd9a80412f4
tree39b1a602129be6eef297683775a074be8e0e338c
parent066e9b2710be887f435e0e899fa71f1f4314f702
pc: Update rtc_cmos on CPU hot-plug

It provides updated currently available CPUs count to BIOS on reboot.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/i386/pc.c
hw/timer/mc146818rtc.c
include/hw/timer/mc146818rtc.h