1. 11 2月, 2010 3 次提交
    • J
      Fix <cpu> element in domain XML schema · 2073ed6f
      Jiri Denemark 提交于
      The current schema is more permissive than the XML parsing code in
      libvirt. Precisely, 'match' attribute is optional in schema while in
      reality its use is bound to <model> element:
      
      - <cpu> element without 'match' attribute is allowed only if <topology>
        element is the only child element of <cpu>
      
      - <cpu> element with 'match' attribute requires <model> element to be
        present; <topology> and <feature> elements are optional
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      2073ed6f
    • C
      Fix up a misspelled comment. · 6daa19da
      Chris Lalancette 提交于
      Signed-off-by: NChris Lalancette <clalance@redhat.com>
      6daa19da
    • D
      Fix disk stats retrieval with QEMU >= 0.12 · 73579750
      Daniel P. Berrange 提交于
      With QEMU >= 0.12 the host and guest side of disks no longer have
      the same naming convention. Specifically the host side will now
      get a 'drive-' prefix added to its name. The 'info blockstats'
      monitor command returns the host side name, so it is neccessary
      to strip this off when looking up stats since libvirt stores the
      guest side name !
      
      * src/qemu/qemu_conf.c, src/qemu/qemu_conf.h: Move 'drive-' prefix
        string to a defined constant
      * src/qemu/qemu_monitor_json.c, src/qemu/qemu_monitor_text.c: Strip
        off 'drive-' prefix (if found) when looking up disk stats
      73579750
  2. 10 2月, 2010 22 次提交
  3. 09 2月, 2010 15 次提交