[PATCH v3 kvmtool 0/6] Fix few small issues in virtio code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everyone,

Thank you for the patience and for the reviews.

Here is the patchset with all of the changes.

Kind regards,
Martin

Martin Radev (6):
  kvmtool: Add WARN_ONCE macro
  mmio: Sanitize addr and len
  virtio: Use u32 instead of int in pci_data_in/out
  virtio: Sanitize config accesses
  virtio: Check for overflows in QUEUE_NOTIFY and QUEUE_SEL
  kvmtool: Have stack be not executable on x86

 include/kvm/util.h      | 10 ++++++++
 include/kvm/virtio-9p.h |  1 +
 include/kvm/virtio.h    |  3 ++-
 mmio.c                  |  4 +++
 virtio/9p.c             | 27 ++++++++++++++++-----
 virtio/balloon.c        | 10 +++++++-
 virtio/blk.c            | 10 +++++++-
 virtio/console.c        | 10 +++++++-
 virtio/mmio.c           | 40 ++++++++++++++++++++++++++----
 virtio/net.c            | 10 +++++++-
 virtio/pci.c            | 54 ++++++++++++++++++++++++++++++++++++-----
 virtio/rng.c            |  8 +++++-
 virtio/scsi.c           | 10 +++++++-
 virtio/vsock.c          | 10 +++++++-
 x86/bios/bios-rom.S     |  5 ++++
 x86/bios/entry.S        |  5 ++++
 16 files changed, 192 insertions(+), 25 deletions(-)

-- 
2.25.1




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux