Skip to content

Commit

Permalink
KVM: Clarify KVM_ASSIGN_PCI_DEVICE documentation
Browse files Browse the repository at this point in the history
Neither host_irq nor the guest_msi struct are used anymore today.
Tag the former, drop the latter to avoid confusion.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
  • Loading branch information
Jan Kiszka authored and Avi Kivity committed Jul 12, 2011
1 parent e57d4a3 commit 91e3d71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
7 changes: 1 addition & 6 deletions Documentation/virtual/kvm/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1143,15 +1143,10 @@ Assigns an IRQ to a passed-through device.

struct kvm_assigned_irq {
__u32 assigned_dev_id;
__u32 host_irq;
__u32 host_irq; /* ignored (legacy field) */
__u32 guest_irq;
__u32 flags;
union {
struct {
__u32 addr_lo;
__u32 addr_hi;
__u32 data;
} guest_msi;
__u32 reserved[12];
};
};
Expand Down
8 changes: 1 addition & 7 deletions include/linux/kvm.h
Original file line number Diff line number Diff line change
Expand Up @@ -773,20 +773,14 @@ struct kvm_assigned_pci_dev {

struct kvm_assigned_irq {
__u32 assigned_dev_id;
__u32 host_irq;
__u32 host_irq; /* ignored (legacy field) */
__u32 guest_irq;
__u32 flags;
union {
struct {
__u32 addr_lo;
__u32 addr_hi;
__u32 data;
} guest_msi;
__u32 reserved[12];
};
};


struct kvm_assigned_msix_nr {
__u32 assigned_dev_id;
__u16 entry_nr;
Expand Down

0 comments on commit 91e3d71

Please sign in to comment.