1. 23 5月, 2017 4 次提交
    • K
      qemu: Remove unused variables in qemuDomainUpdateDeviceConfig · 3c845817
      Kothapally Madhu Pavan 提交于
      priv and qemuCaps variables are not used anymore.
      Signed-off-by: NKothapally Madhu Pavan <kmp@linux.vnet.ibm.com>
      3c845817
    • L
      Revert "qemu: propagate bridge MTU into qemu "host_mtu" option" · 77780a29
      Laine Stump 提交于
      This reverts commit 2841e675.
      
      It turns out that adding the host_mtu field to the PCI capabilities in
      the guest bumps the length of PCI capabilities beyond the 32 byte
      boundary, so the virtio-net device gets 64 bytes of ioport space
      instead of 32, which offsets the address of all the other following
      devices. Migration doesn't work very well when the location and length
      of PCI capabilities of devices is changed between source and
      destination.
      
      This means that we need to make sure that the absence/presence of
      host_mtu on the qemu commandline always matches between source and
      destination, which means that we need to make setting of host_mtu an
      opt-in thing (it can't happen automatically when the bridge being used
      has a non-default MTU, which is what commit 2841e675 implemented).
      
      I do want to re-implement this feature with an <mtu auto='on'/>
      setting, but probably won't backport that to any stable branches, so
      I'm first reverting the original commit, and that revert can be pushed
      to the few releases that have been made since the original (3.1.0 -
      3.3.0)
      
      Resolves: https://bugzilla.redhat.com/1449346
      77780a29
    • J
      libxl: add default listen address for VNC and spice · dbb85e0c
      Jim Fehlig 提交于
      If a VNC listen address is not specified in domXML, libxl
      will default to 127.0.0.1, but this is never reflected in the domXML.
      In the case of spice, a missing listen address resulted in listening
      on all interfaces, i.e. '0.0.0.0'. If not specified, set the listen
      address in virDomainGraphicsDef struct to the libxl default when
      creating the frame buffer device. Additionally, set default spice
      listen address to 127.0.0.1.
      dbb85e0c
    • J
      maint: define a macro for IPv4 loopback address · 975ea20f
      Jim Fehlig 提交于
      Use a macro instead of hardcoding "127.0.0.1" throughout the
      sources.
      975ea20f
  2. 22 5月, 2017 5 次提交
  3. 19 5月, 2017 5 次提交
  4. 18 5月, 2017 26 次提交