1. 26 Mar, 2014 1 commit
  2. 24 Mar, 2014 2 commits
  3. 20 Mar, 2014 6 commits
  4. 19 Mar, 2014 5 commits
  5. 17 Mar, 2014 2 commits
    • Dimitris Aragiorgis's avatar
      Fix conflict between virtio + spice or soundhw · 3a72e34a
      Dimitris Aragiorgis authored
      With regard to PCI slot occupied by a KVM instance we have
      observed the following:
      
      1) Slot 0 will always be Host bridge.
      2) Slot 1 will always be ISA bridge.
      3) Slot 2 will always be VGA controller (even with -display none).
      4) If soundhw=hda|ac97|es1370 an extra PCI slot is occupied.
         This slot *MUST* be the No. 3.
      
      5) Option '-balloon virtio' gets an extra PCI slot.
         Still it can take id, bus, and addr args and be placed anywhere
      
      6) If spice is used instead of vnc we have:
         * No extra PCI slot gets occupied without vdagent
         * Otherwise we have the following extra optionsa [1]
           a) -device virtio-serial-pci
              (this can take id, bus, and addr args too)
           b) -device virtserialport,chardev=spicechannel0,...
           c) -chardev spicevmc,id=spicechannel0
      
      This patch does the following:
      
      1) Change _DEFAULT_PCI_RESERVATIONS to "1110...."
      2) Move soundhw option early in the command line and if hda etc.
         reserve slot 3.
      3) Add id, bus, and addr in balloon option and reserve next slot.
      4) Add id, bus, and addr in -device virtio-serial-pci option and if
         passed reserve next slot.
      
      [1] http://www.linux-kvm.org/page/SPICE
      
      Fixes issue 757.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      Reviewed-by: default avatarJose A. Lopes <jabolopes@google.com>
      3a72e34a
    • Dimitris Aragiorgis's avatar
      Fix bitarray ops wrt PCI slots · d13fb3f1
      Dimitris Aragiorgis authored
      Introduce new method `_GetFreeSlot()` responsible only for bitarray
      operations. It fixes search in case of bitarray is either '0000..'
      or '1111..'.
      
      Use it instead of `_UpdatePCISlots()` and in `_GetFreePCISlot()`.
      Signed-off-by: default avatarDimitris Aragiorgis <dimara@grnet.gr>
      Reviewed-by: default avatarJose A. Lopes <jabolopes@google.com>
      d13fb3f1
  6. 07 Mar, 2014 10 commits
  7. 04 Mar, 2014 5 commits
  8. 26 Feb, 2014 3 commits
  9. 25 Feb, 2014 3 commits
  10. 24 Feb, 2014 3 commits