1. 26 8月, 2014 2 次提交
    • E
      spec: drop anything older than Fedora 13 · da579241
      Eric Blake 提交于
      RHEL 5 is based on libvirt 0.8.2, as was Fedora 13.  RHEL 5 also
      happens to be the oldest box that we actively support with a
      buildbot, so it is time to clean up some crufty conditionals in
      the spec file that no longer are necessary for modern Fedora.
      
      Although it is probably okay to make further simplifications to
      a newer minimum Fedora version, that can be done as a later patch.
      This patch just focuses on cleaning any comparison of %{?fedora}
      that will always be true or false once we assume a minimum of F13.
      
      * libvirt.spec.in: Make with_audit default to on. Move other
      conditionals to a single RHEL-5 block. Simplify any fedora
      comparison older than 13.  Document our assumptions.
      Signed-off-by: NEric Blake <eblake@redhat.com>
      da579241
    • M
      docs: fix bootmenu timeout description · 9e766888
      Martin Kletzander 提交于
      Signed-off-by: NMartin Kletzander <mkletzan@redhat.com>
      9e766888
  2. 25 8月, 2014 9 次提交
  3. 24 8月, 2014 1 次提交
  4. 23 8月, 2014 4 次提交
  5. 22 8月, 2014 19 次提交
  6. 21 8月, 2014 5 次提交
    • P
      conf: net: Correctly switch how to format address fields · 4cf1c3fa
      Peter Krempa 提交于
      When formatting the forward mode addresses or interfaces the switch was
      done based on the type of the network rather than of the type of the
      individual <interface>/<address> element. In case a user would specify
      an incorrect network type ("passhtrough") with <address> elements,
      libvirtd would crash as it would attempt to format an <interface>.
      
      Use the type of the individual element to format the XML.
      
      Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1132347
      4cf1c3fa
    • L
      b2e87c36
    • J
      Perform disk config validity checking for attach-device config · 33188c9f
      John Ferlan 提交于
      https://bugzilla.redhat.com/show_bug.cgi?id=1078126
      
      Using 'virsh attach-device --config' (or --persistent) to attach a
      file backed lun device will succeed; however, subsequent domain restarts
      will result in failure because the configuration of a file backed lun
      is not supported.
      
      Although allowing 'illegal configurations' is something that can be
      allowed, it may not be practical in this case. Generally, when attaching
      a device to a domain means the domain must be running. A way around
      this is using the --config (or --persistent) option. When an attach
      is done to a running domain, a temporary configuration is modified
      first followed by the live update. The live update will make a number
      of disk validity checks when building the qemu command to attach the
      disk. If any fail, then change is rejected.
      
      Rather than allow a potentially illegal combination, adjust the code
      in the configuration path to make the same checks as the running path
      will make with respect to disk validity checks. This way we avoid
      having the potential for some subsequent start/reboot to fail because
      an illegal combination was allowed.
      
      NB: The live path still checks the configuration since it is possible
      to just do --live guest modification...
      33188c9f
    • P
      virsh: Don't print extra '-'s in error message for -k and -K options · b470a38f
      Peter Krempa 提交于
      The error message contains one extra dash.
      b470a38f
    • M
      hvsupport: Adapt to vbox driver rewrite · cf389258
      Michal Privoznik 提交于
      Since vbox driver rewrite the virDriver structure init moved from
      vbox_tmpl.c into vbox_common.c. However, our hvsupport.pl script
      doesn't count with that. It still parses vbox_tmp.c and looks for
      virDriver structure which is not found there anymore. As a result,
      at hvsupport page is seems like vbox driver doesn't support
      anything.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      cf389258