mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
xen: Add xenfv machine
Introduce the Xen FV (Fully Virtualized) machine to Qemu, some more Xen specific call will be added in further patches. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
e0e7e67b45
commit
29d3ccde82
3 changed files with 69 additions and 2 deletions
6
hw/xen.h
6
hw/xen.h
|
@ -30,5 +30,11 @@ static inline int xen_enabled(void)
|
|||
}
|
||||
|
||||
int xen_init(void);
|
||||
int xen_hvm_init(void);
|
||||
void xen_vcpu_init(void);
|
||||
|
||||
#if defined(CONFIG_XEN) && CONFIG_XEN_CTRL_INTERFACE_VERSION < 400
|
||||
# define HVM_MAX_VCPUS 32
|
||||
#endif
|
||||
|
||||
#endif /* QEMU_HW_XEN_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue