X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fpalacios.h;h=0141e38acf5ea02bb7f2fd8de5f0b0c2bbe1ed25;hb=ffd6d915b585a4a17a2d5b081313f0968885a105;hp=fd5a188975bba7d73a338ce3dd529b0b57f3835e;hpb=4b9f54d875c87a0b06337fb64239278d6cfc02fa;p=palacios.releases.git diff --git a/linux_module/palacios.h b/linux_module/palacios.h index fd5a188..0141e38 100644 --- a/linux_module/palacios.h +++ b/linux_module/palacios.h @@ -12,6 +12,8 @@ #define V3_FREE_GUEST 13 #define V3_ADD_MEMORY 50 +#define V3_ADD_PCI_HW_DEV 55 +#define V3_ADD_PCI_USER_DEV 56 /* VM Specific IOCTLs */ #define V3_VM_CONSOLE_CONNECT 20 @@ -69,6 +71,19 @@ struct v3_chkpt_info { } __attribute__((packed)); +struct v3_hw_pci_dev { + char name[128]; + unsigned int bus; + unsigned int dev; + unsigned int func; +} __attribute__((packed)); + +struct v3_user_pci_dev { + char name[128]; + unsigned short vendor_id; + unsigned short dev_id; +} __attribute__((packed)); + void * trace_malloc(size_t size, gfp_t flags);