mirror_qemu/hw/kvm
Andreas Färber 03f48b0797 kvmclock: Always register type
Currently, the "kvmclock" type is only registered when kvm_enabled().

This breaks when moving type registration to before command line
parsing (so that QOM types can be used for CPU and machine).

Since the QOM classes are lazy-initialized anyway and kvmclock_create()
has another kvm_enabled() check, simply drop the KVM check in
kvmclock_register_types().

kvm-i8259, kvm-apic and kvm-ioapic do not suffer from such a check.

Reviewed-by: please.
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-03-13 13:23:17 -05:00
..
apic.c kvmvapic: Introduce TPR access optimization for Windows guests 2012-02-18 12:15:59 +02:00
clock.c kvmclock: Always register type 2012-03-13 13:23:17 -05:00
clock.h kvm: Move kvmclock into hw/kvm folder 2012-01-19 12:14:39 +01:00
i8254.c kvm: x86: Add user space part for in-kernel i8254 2012-03-07 12:27:43 +02:00
i8259.c i8259: Do not clear level-triggered lines in IRR on init 2012-02-17 09:58:22 -06:00
ioapic.c qom: Unify type registration 2012-02-15 09:39:21 -06:00