mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
xen: add an own bus for xen backend devices
Add a bus for Xen backend devices in order to be able to establish a dedicated device path for pluggable devices. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org> Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
parent
b85f9dfdb1
commit
873d57abba
2 changed files with 20 additions and 3 deletions
|
@ -6,12 +6,16 @@
|
|||
#include "sysemu/sysemu.h"
|
||||
#include "net/net.h"
|
||||
|
||||
#define TYPE_XENSYSDEV "xen-sysdev"
|
||||
#define TYPE_XENSYSBUS "xen-sysbus"
|
||||
|
||||
/* variables */
|
||||
extern xc_interface *xen_xc;
|
||||
extern xenforeignmemory_handle *xen_fmem;
|
||||
extern struct xs_handle *xenstore;
|
||||
extern const char *xen_protocol;
|
||||
extern DeviceState *xen_sysdev;
|
||||
extern BusState *xen_sysbus;
|
||||
|
||||
int xenstore_mkdir(char *path, int p);
|
||||
int xenstore_write_be_str(struct XenDevice *xendev, const char *node, const char *val);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue