mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
xen: Support new libxc calls from xen unstable.
This patch updates the libxenctrl calls in Qemu to use the new interface, otherwise Qemu wouldn't be able to build against new versions of the library. We check libxenctrl version in configure, from Xen 3.3.0 to Xen unstable. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Alexander Graf <agraf@suse.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
ce6bc29458
commit
d5b93ddfef
6 changed files with 164 additions and 32 deletions
|
@ -242,7 +242,7 @@ err:
|
|||
|
||||
static void ioreq_unmap(struct ioreq *ioreq)
|
||||
{
|
||||
int gnt = ioreq->blkdev->xendev.gnttabdev;
|
||||
XenGnttab gnt = ioreq->blkdev->xendev.gnttabdev;
|
||||
int i;
|
||||
|
||||
if (ioreq->v.niov == 0) {
|
||||
|
@ -275,7 +275,7 @@ static void ioreq_unmap(struct ioreq *ioreq)
|
|||
|
||||
static int ioreq_map(struct ioreq *ioreq)
|
||||
{
|
||||
int gnt = ioreq->blkdev->xendev.gnttabdev;
|
||||
XenGnttab gnt = ioreq->blkdev->xendev.gnttabdev;
|
||||
int i;
|
||||
|
||||
if (ioreq->v.niov == 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue