diff options
| author | Wei Liu | 2014-05-07 18:16:43 +0200 |
|---|---|---|
| committer | Stefano Stabellini | 2014-05-07 18:16:43 +0200 |
| commit | 04b0de0ee83fe464487406064afe14de27decc24 (patch) | |
| tree | 1e55a23012daf56cac71389a252dffd6262b098c /Makefile.target | |
| parent | xen: move Xen HVM files under hw/i386/xen (diff) | |
| download | qemu-04b0de0ee83fe464487406064afe14de27decc24.tar.gz qemu-04b0de0ee83fe464487406064afe14de27decc24.tar.xz qemu-04b0de0ee83fe464487406064afe14de27decc24.zip | |
xen: factor out common functions
So common functions used by both HVM and PV are factored out from
xen-all.c to xen-common.c.
Finally rename xen-all.c to xen-hvm.c, as those functions are only
useful to HVM guest.
Create *-stub files and modify Makefile.target to reflect the changes.
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'Makefile.target')
| -rw-r--r-- | Makefile.target | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.target b/Makefile.target index ba1234063e..6d8fde8b9e 100644 --- a/Makefile.target +++ b/Makefile.target @@ -120,8 +120,10 @@ obj-y += dump.o LIBS+=$(libs_softmmu) # xen support -obj-$(CONFIG_XEN) += xen-all.o xen-mapcache.o -obj-$(call lnot,$(CONFIG_XEN)) += xen-stub.o +obj-$(CONFIG_XEN) += xen-common.o +obj-$(CONFIG_XEN_I386) += xen-hvm.o xen-mapcache.o +obj-$(call lnot,$(CONFIG_XEN)) += xen-common-stub.o +obj-$(call lnot,$(CONFIG_XEN_I386)) += xen-hvm-stub.o # Hardware support ifeq ($(TARGET_NAME), sparc64) |
