1. 15 3月, 2012 24 次提交
  2. 14 3月, 2012 1 次提交
    • A
      kvmclock: Always register type · 03f48b07
      Andreas Färber 提交于
      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: NAndreas Färber <afaerber@suse.de>
      Reviewed-by: NJan Kiszka <jan.kiszka@siemens.com>
      Cc: Marcelo Tosatti <mtosatti@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      03f48b07
  3. 13 3月, 2012 15 次提交