summaryrefslogblamecommitdiffstats
path: root/hw/xen/xen_pt_stub.c
blob: 2d8cac8d54b97a8ad03b0f2a45b11af8e774dcb2 (plain) (tree)





















                                                                            
/*
 * 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");
    }
}