Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
c0a41190
Commit
c0a41190
authored
Jan 31, 2024
by
Paolo Bonzini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
KVM: remove more traces of device assignment UAPI
Signed-off-by:
Paolo Bonzini
<
pbonzini@redhat.com
>
parent
45882241
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
50 deletions
+0
-50
include/uapi/linux/kvm.h
include/uapi/linux/kvm.h
+0
-50
No files found.
include/uapi/linux/kvm.h
View file @
c0a41190
...
...
@@ -1965,56 +1965,6 @@ struct kvm_sev_receive_update_data {
__u32
trans_len
;
};
#define KVM_DEV_ASSIGN_ENABLE_IOMMU (1 << 0)
#define KVM_DEV_ASSIGN_PCI_2_3 (1 << 1)
#define KVM_DEV_ASSIGN_MASK_INTX (1 << 2)
struct
kvm_assigned_pci_dev
{
__u32
assigned_dev_id
;
__u32
busnr
;
__u32
devfn
;
__u32
flags
;
__u32
segnr
;
union
{
__u32
reserved
[
11
];
};
};
#define KVM_DEV_IRQ_HOST_INTX (1 << 0)
#define KVM_DEV_IRQ_HOST_MSI (1 << 1)
#define KVM_DEV_IRQ_HOST_MSIX (1 << 2)
#define KVM_DEV_IRQ_GUEST_INTX (1 << 8)
#define KVM_DEV_IRQ_GUEST_MSI (1 << 9)
#define KVM_DEV_IRQ_GUEST_MSIX (1 << 10)
#define KVM_DEV_IRQ_HOST_MASK 0x00ff
#define KVM_DEV_IRQ_GUEST_MASK 0xff00
struct
kvm_assigned_irq
{
__u32
assigned_dev_id
;
__u32
host_irq
;
/* ignored (legacy field) */
__u32
guest_irq
;
__u32
flags
;
union
{
__u32
reserved
[
12
];
};
};
struct
kvm_assigned_msix_nr
{
__u32
assigned_dev_id
;
__u16
entry_nr
;
__u16
padding
;
};
#define KVM_MAX_MSIX_PER_DEV 256
struct
kvm_assigned_msix_entry
{
__u32
assigned_dev_id
;
__u32
gsi
;
__u16
entry
;
/* The index of entry in the MSI-X table */
__u16
padding
[
3
];
};
#define KVM_X2APIC_API_USE_32BIT_IDS (1ULL << 0)
#define KVM_X2APIC_API_DISABLE_BROADCAST_QUIRK (1ULL << 1)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment