mirror of https://github.com/xemu-project/xemu.git
xbox: Update kvm clock header and drop kvmclock_enabled check
This commit is contained in:
parent
a49ee1439f
commit
4239f64dd5
|
@ -24,6 +24,7 @@
|
||||||
#include "hw/hw.h"
|
#include "hw/hw.h"
|
||||||
#include "hw/loader.h"
|
#include "hw/loader.h"
|
||||||
#include "hw/i386/pc.h"
|
#include "hw/i386/pc.h"
|
||||||
|
#include "hw/i386/kvm/clock.h"
|
||||||
#include "hw/pci/pci.h"
|
#include "hw/pci/pci.h"
|
||||||
#include "hw/pci/pci_ids.h"
|
#include "hw/pci/pci_ids.h"
|
||||||
#include "hw/usb.h"
|
#include "hw/usb.h"
|
||||||
|
@ -33,7 +34,6 @@
|
||||||
#include "sysemu/sysemu.h"
|
#include "sysemu/sysemu.h"
|
||||||
#include "sysemu/kvm.h"
|
#include "sysemu/kvm.h"
|
||||||
#include "kvm/kvm_i386.h"
|
#include "kvm/kvm_i386.h"
|
||||||
#include "hw/kvm/clock.h"
|
|
||||||
#include "hw/dma/i8257.h"
|
#include "hw/dma/i8257.h"
|
||||||
|
|
||||||
#include "hw/sysbus.h"
|
#include "hw/sysbus.h"
|
||||||
|
@ -244,7 +244,7 @@ void xbox_init_common(MachineState *machine,
|
||||||
|
|
||||||
x86_cpus_init(x86ms, pcmc->default_cpu_version);
|
x86_cpus_init(x86ms, pcmc->default_cpu_version);
|
||||||
|
|
||||||
if (kvm_enabled() && pcmc->kvmclock_enabled) {
|
if (kvm_enabled()) {
|
||||||
kvmclock_create(pcmc->kvmclock_create_always);
|
kvmclock_create(pcmc->kvmclock_create_always);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue