1. 06 4月, 2016 1 次提交
  2. 05 4月, 2016 6 次提交
  3. 30 3月, 2016 2 次提交
  4. 29 3月, 2016 1 次提交
    • M
      conf: qemu: Add support for more HyperV Enlightenment features · 7068b56c
      Maxim Nestratov 提交于
      This patch adds support for "vpindex", "runtime", "synic",
      "stimer", and "vendor_id" features available in qemu 2.5+.
      
      - When Hyper-V "vpindex" is on, guest can use MSR HV_X64_MSR_VP_INDEX
      to get virtual processor ID.
      
      - Hyper-V "runtime" enlightement feature allows to use MSR
      HV_X64_MSR_VP_RUNTIME to get the time the virtual processor consumes
      running guest code, as well as the time the hypervisor spends running
      code on behalf of that guest.
      
      - Hyper-V "synic" stands for Synthetic Interrupt Controller, which is
      lapic extension controlled via MSRs.
      
      - Hyper-V "stimer" switches on Hyper-V SynIC timers MSR's support.
      Guest can setup and use fired by host events (SynIC interrupt and
      appropriate timer expiration message) as guest clock events
      
      - Hyper-V "reset" allows guest to reset VM.
      
      - Hyper-V "vendor_id" exposes hypervisor vendor id to guest.
      Signed-off-by: NNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
      Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
      7068b56c
  5. 23 3月, 2016 1 次提交
  6. 21 3月, 2016 3 次提交
    • C
      qemu: Don't add -spice port=0 when no port is specified · 6d28ef91
      Christophe Fergeau 提交于
      If a <graphics type='spice'> has no port nor tlsPort set, the generated
      QEMU command line will contain -spice port=0.
      This is later going to be ignored by spice-server, but it's better not
      to add it at all in this situation.
      As an empty -spice is not allowed, we still need to append port=0 if we
      did not add any other argument.
      6d28ef91
    • C
      qemu: Omit SPICE address if no port is specified · 8dab3d1d
      Christophe Fergeau 提交于
      Currently -spice addr=127.0.0.1 is generated, but spice-server is going
      to ignore this as no port is specified.
      8dab3d1d
    • C
      qemu: Make all SPICE command-line args optional · 9e17d219
      Christophe Fergeau 提交于
      The end goal is to avoid adding -spice port=0,addr=127.0.0.1 to QEMU command
      line when no SPICE port is specified in libvirt XML.
      
      Currently, the code relies on port=xx to always be present, so subsequent
      args can be unconditionally appended with a leading ','. Since port=0
      will no longer be added in a subsequent commit, we append a ',' to every
      arg instead of prepending, and remove the last one before adding it to
      the arg list.
      9e17d219
  7. 18 3月, 2016 1 次提交
    • J
      qemu: Move last error save/restore to qemuBuildNetCommandLine · 1019bf14
      John Ferlan 提交于
      Commit 'ef2ab8fd' moved just the virDomainConfNWFilterTeardown and left
      the logic to save/restore the current error essentially doing nothing
      in the error path for qemuBuildCommandLine.  So move it to where it
      was meant to be.
      
      Although the original code would reset the filter on command creation
      errors after building the network command portion and commit 'ef2ab8fd'
      altered that logic, the teardown is called during qemuProcessStop from
      virDomainConfVMNWFilterTeardown and that code has the save/restore
      last error logic, so just allow that code to handle the teardown rather
      than running it twice. The qemuProcessStop would be called in the failure
      path of qemuBuildCommandLine.
      1019bf14
  8. 15 3月, 2016 8 次提交
  9. 14 3月, 2016 1 次提交
  10. 12 3月, 2016 8 次提交
  11. 11 3月, 2016 8 次提交