hw/i386: Rename 'hw/kvm/clock.h' -> 'hw/i386/kvm/clock.h'
kvmclock_create() is only implemented in hw/i386/kvm/clock.h. Restrict the "hw/kvm/clock.h" header to i386 by moving it to hw/i386/. Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Message-Id: <20230620083228.88796-3-philmd@linaro.org>
This commit is contained in:
parent
b797c98de4
commit
a09ef8ff0a
@ -22,7 +22,7 @@
|
||||
#include "kvm/kvm_i386.h"
|
||||
#include "migration/vmstate.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/kvm/clock.h"
|
||||
#include "hw/i386/kvm/clock.h"
|
||||
#include "hw/qdev-properties.h"
|
||||
#include "qapi/error.h"
|
||||
|
||||
|
@ -10,8 +10,8 @@
|
||||
* See the COPYING file in the top-level directory.
|
||||
*/
|
||||
|
||||
#ifndef HW_KVM_CLOCK_H
|
||||
#define HW_KVM_CLOCK_H
|
||||
#ifndef HW_I386_KVM_CLOCK_H
|
||||
#define HW_I386_KVM_CLOCK_H
|
||||
|
||||
void kvmclock_create(bool create_always);
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
#include "hw/loader.h"
|
||||
#include "hw/irq.h"
|
||||
#include "hw/kvm/clock.h"
|
||||
#include "hw/i386/kvm/clock.h"
|
||||
#include "hw/i386/microvm.h"
|
||||
#include "hw/i386/x86.h"
|
||||
#include "target/i386/cpu.h"
|
||||
|
@ -46,7 +46,7 @@
|
||||
#include "hw/ide/piix.h"
|
||||
#include "hw/irq.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "hw/kvm/clock.h"
|
||||
#include "hw/i386/kvm/clock.h"
|
||||
#include "hw/sysbus.h"
|
||||
#include "hw/i2c/smbus_eeprom.h"
|
||||
#include "exec/memory.h"
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include "hw/i2c/smbus_eeprom.h"
|
||||
#include "hw/rtc/mc146818rtc.h"
|
||||
#include "sysemu/kvm.h"
|
||||
#include "hw/kvm/clock.h"
|
||||
#include "hw/i386/kvm/clock.h"
|
||||
#include "hw/pci-host/q35.h"
|
||||
#include "hw/pci/pcie_port.h"
|
||||
#include "hw/qdev-properties.h"
|
||||
|
Loading…
Reference in New Issue
Block a user