mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
vmm: Don't lock a vCPU for VM_PPTDEV_MSI[X].
These are manipulating state in a ppt(4) device none of which is vCPU-specific. Mark the vcpu fields in the relevant ioctl structures as unused, but don't remove them for now. Reviewed by: corvink, markj Differential Revision: https://reviews.freebsd.org/D37639
This commit is contained in:
parent
62be9ffd82
commit
91980db1be
2 changed files with 2 additions and 4 deletions
|
|
@ -147,7 +147,7 @@ struct vm_pptdev_mmio {
|
|||
};
|
||||
|
||||
struct vm_pptdev_msi {
|
||||
int vcpu;
|
||||
int vcpu; /* unused */
|
||||
int bus;
|
||||
int slot;
|
||||
int func;
|
||||
|
|
@ -157,7 +157,7 @@ struct vm_pptdev_msi {
|
|||
};
|
||||
|
||||
struct vm_pptdev_msix {
|
||||
int vcpu;
|
||||
int vcpu; /* unused */
|
||||
int bus;
|
||||
int slot;
|
||||
int func;
|
||||
|
|
|
|||
|
|
@ -451,8 +451,6 @@ vmmdev_ioctl(struct cdev *cdev, u_long cmd, caddr_t data, int fflag,
|
|||
case VM_INJECT_EXCEPTION:
|
||||
case VM_GET_CAPABILITY:
|
||||
case VM_SET_CAPABILITY:
|
||||
case VM_PPTDEV_MSI:
|
||||
case VM_PPTDEV_MSIX:
|
||||
case VM_SET_X2APIC_STATE:
|
||||
case VM_GLA2GPA:
|
||||
case VM_GLA2GPA_NOFAULT:
|
||||
|
|
|
|||
Loading…
Reference in a new issue