1. 08 11月, 2017 7 次提交
  2. 07 11月, 2017 27 次提交
  3. 06 11月, 2017 1 次提交
    • J
      conf: Don't inline virDomainNetTypeSharesHostView · bce925da
      Jiri Denemark 提交于
      When coverage build is enabled, gcc complains about it:
      
      In file included from qemu/qemu_agent.h:29:0,
                       from qemu/qemu_driver.c:47:
      qemu/qemu_driver.c: In function 'qemuDomainSetInterfaceParameters':
      ./conf/domain_conf.h:3397:1: error: inlining failed in call to
      'virDomainNetTypeSharesHostView': call is unlikely and code size would
      grow [-Werror=inline]
       virDomainNetTypeSharesHostView(const virDomainNetDef *net)
       ^
      Signed-off-by: NJiri Denemark <jdenemar@redhat.com>
      bce925da
  4. 04 11月, 2017 5 次提交
    • M
      virsh: Define multi line macros properly · 27b67eba
      Michal Privoznik 提交于
      In some cases there's dangling backward slash at the end of multi
      line macros. While technically the code works, it will stop if
      some empty lines are removed.
      Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
      27b67eba
    • D
      domain: Allow 'model' attribute for ide controller · 1ed22398
      Dawid Zamirski 提交于
      The optional values are 'piix3', 'piix4' or 'ich6'. Those will be
      needed to allow setting IDE controller model in VirtualBox driver.
      1ed22398
    • D
      vbox: Add more IStorageController API mappings · 06c4fd10
      Dawid Zamirski 提交于
      This patch exposes additional methods of the native VBOX API to the
      libvirt 'unified' vbox API to deal with IStorageController. The exposed
      methods are:
      
      * IStorageController->GetStorageControllerType()
      * IStorageController->SetStorageControllerType()
      * IMachine->GetStorageControllers()
      06c4fd10
    • D
      vbox: Support empty removable drives. · 1bf7e977
      Dawid Zamirski 提交于
      Original code was checking for non empty disk source before proceeding
      to actually attach disk device to VM. This prevented from creating
      empty removable devices like DVD or floppy. Therefore, this patch
      re-organizes the loop work-flow to allow such configurations as well as
      makes the code follow better libvirt practices. Additionally, adjusted
      debug logs to be more helpful - removed old ones and added new which
      give more valuable info for troubleshooting.
      1bf7e977
    • D
      vbox: Errors in vboxAttachDrives are now critical · e3ecf4b8
      Dawid Zamirski 提交于
      Previously, if one tried to define a VBOX VM and the API failed to
      perform the requested actions for some reason, it would just log the
      error and move on to process remaining disk definitions. This is not
      desired as it could result in incorrectly defined VM without the caller
      even knowing about it. So now all the code paths that call
      virReportError are now treated as hard failures as they should have
      been.
      e3ecf4b8