1. 22 8月, 2014 16 次提交
  2. 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
  3. 20 8月, 2014 19 次提交