Page MenuHomeFreeBSD

D53423.1790322609.diff
No OneTemporary

Size
788 B
Referenced Files
None
Subscribers
None

D53423.1790322609.diff

diff --git a/sys/amd64/vmm/io/ppt.h b/sys/amd64/vmm/io/ppt.h
--- a/sys/amd64/vmm/io/ppt.h
+++ b/sys/amd64/vmm/io/ppt.h
@@ -42,12 +42,6 @@
int ppt_assigned_devices(struct vm *vm);
bool ppt_is_mmio(struct vm *vm, vm_paddr_t gpa);
-/*
- * Returns the number of devices sequestered by the ppt driver for assignment
- * to virtual machines.
- */
-int ppt_avail_devices(void);
-
/*
* The following functions should never be called directly.
* Use 'vm_assign_pptdev()' and 'vm_unassign_pptdev()' instead.
diff --git a/sys/amd64/vmm/io/ppt.c b/sys/amd64/vmm/io/ppt.c
--- a/sys/amd64/vmm/io/ppt.c
+++ b/sys/amd64/vmm/io/ppt.c
@@ -335,13 +335,6 @@
ppt->msix.num_msgs = 0;
}
-int
-ppt_avail_devices(void)
-{
-
- return (num_pptdevs);
-}
-
int
ppt_assigned_devices(struct vm *vm)
{

File Metadata

Mime Type
text/plain
Expires
Fri, Sep 25, 7:50 AM (13 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29902887
Default Alt Text
D53423.1790322609.diff (788 B)

Event Timeline