]> git.ipfire.org Git - thirdparty/qemu.git/commit - xen-hvm.c
xen: factor out common functions
authorWei Liu <wei.liu2@citrix.com>
Wed, 7 May 2014 16:16:43 +0000 (16:16 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 7 May 2014 16:16:43 +0000 (16:16 +0000)
commit04b0de0ee83fe464487406064afe14de27decc24
tree1e55a23012daf56cac71389a252dffd6262b098c
parentad3f7e31bfc148135d93c176d1c9197933fa8344
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>
Makefile.target
xen-common-stub.c [new file with mode: 0644]
xen-common.c [new file with mode: 0644]
xen-hvm-stub.c [moved from xen-stub.c with 90% similarity]
xen-hvm.c [moved from xen-all.c with 93% similarity]