1. 06 8月, 2008 1 次提交
    • C
      Recently upstream Xen added support for having xvd devices > 16. For the most · 8c300028
      Chris Lalancette 提交于
      part, this doesn't really concern libvirt, since for things like attach and
      detach we just pass it through and let xend worry about whether it is supported
      or not.  The one place this breaks down is in the stats collecting code, where
      we need to figure out the device number so we can go digging in /sys for the
      statistics.
      
      To remedy this, I've re-written xenLinuxDomainDeviceID() to use regular
      expressions to figure out the device number from the name.  The major advantage
      is that now xenLinuxDomainDeviceID() looks fairly identical to
      tools/python/xen/util/blkif.py (in the Xen sources), so that adding additional
      devices in the future should be much easier.  It also reduces the size of the
      code, and, in my opinion, the code complexity.
      
      With this patch in place, I was able to get block statistics both on older style
      devices (/dev/xvda) and on the new, expanded devices (/dev/xvdaa).
      Signed-off-by: NChris Lalancette <clalance@redhat.com>
      8c300028
  2. 05 8月, 2008 2 次提交
  3. 04 8月, 2008 1 次提交
  4. 01 8月, 2008 16 次提交
  5. 31 7月, 2008 2 次提交
    • D
      Fix autoport when domain is inactive · 42e559a3
      Daniel P. Berrange 提交于
      42e559a3
    • C
      From Charles Duffy: · 6f17fb28
      Chris Lalancette 提交于
      Per subject; if autoport is in use for a host, the current
      virDomainGraphicsDefFormat code always emits "port=-1", even if a port
      is assigned to the host; this leaves no way for a client to find the VNC
      port assigned to the host in question.
      
      This patches fixes it by putting the vncport in place if there is one, and
      only putting "-1" if we fail that test.
      6f17fb28
  6. 30 7月, 2008 3 次提交
  7. 29 7月, 2008 2 次提交
  8. 28 7月, 2008 2 次提交
  9. 26 7月, 2008 2 次提交
  10. 25 7月, 2008 9 次提交