aboutsummaryrefslogtreecommitdiffstats
path: root/hw/xen/xen_pt_stub.c
blob: 2d8cac8d54b97a8ad03b0f2a45b11af8e774dcb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * Copyright (C) 2020       Citrix Systems UK Ltd.
 *
 * This work is licensed under the terms of the GNU GPL, version 2 or later.
 * See the COPYING file in the top-level directory.
 */

#include "qemu/osdep.h"
#include "hw/xen/xen_pt.h"
#include "qapi/error.h"

bool xen_igd_gfx_pt_enabled(void)
{
    return false;
}

void xen_igd_gfx_pt_set(bool value, Error **errp)
{
    if (value) {
        error_setg(errp, "Xen PCI passthrough support not built in");
    }
}