1. 11 3月, 2019 1 次提交
  2. 28 2月, 2019 2 次提交
  3. 05 2月, 2019 1 次提交
  4. 08 1月, 2019 1 次提交
  5. 07 1月, 2019 14 次提交
  6. 21 12月, 2018 1 次提交
  7. 20 12月, 2018 1 次提交
  8. 12 12月, 2018 2 次提交
  9. 20 11月, 2018 1 次提交
  10. 02 7月, 2018 1 次提交
  11. 18 6月, 2018 1 次提交
  12. 12 6月, 2018 1 次提交
    • M
      object: fix OBJ_PROP_LINK_UNREF_ON_RELEASE ambivalence · 265b578c
      Marc-André Lureau 提交于
      A link property can be set during creation, with
      object_property_add_link() and later with object_property_set_link().
      
      add_link() doesn't add a reference to the target object, while
      set_link() does.
      
      Furthemore, OBJ_PROP_LINK_UNREF_ON_RELEASE flags, set during add_link,
      says whether a reference must be released when the property is destroyed.
      This can lead to leaks if the property was later set_link(), as the
      added reference is never released.
      
      Instead, rename OBJ_PROP_LINK_UNREF_ON_RELEASE to OBJ_PROP_LINK_STRONG
      and use that has an indication on how the link handle reference
      management in set_link().
      Signed-off-by: NMarc-André Lureau <marcandre.lureau@redhat.com>
      Message-id: 20180531195119.22021-3-marcandre.lureau@redhat.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      265b578c
  13. 11 6月, 2018 1 次提交
  14. 04 6月, 2018 1 次提交
  15. 29 5月, 2018 1 次提交
  16. 15 5月, 2018 1 次提交
  17. 12 3月, 2018 1 次提交
    • P
      q35: change default NIC to e1000e · 4b9c264b
      Paolo Bonzini 提交于
      The e1000 NIC is getting old and is not a very good default for a
      PCIe machine type.  Change it to e1000e, which should be supported
      by a good number of guests.
      
      In particular, drivers for 82574 were added first to Linux 2.6.27 (2008)
      and Windows 2008 R2.  This does mean that Windows 2008 will not work
      anymore with Q35 machine types and a default "-net nic -net xxx" network
      configuration; it did work before because it does have an AHCI driver.
      However, Windows 2008 has been declared out of main stream support
      in 2015.  It will get out of extended support in 2020.  Windows 2008
      R2 has the same end of support dates and, since the two are basically
      Vista vs. Windows 7, R2 probably is more popular.
      Reviewed-by: NJason Wang <jasowang@redhat.com>
      Reviewed-by: NThomas Huth <thuth@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      4b9c264b
  18. 06 3月, 2018 1 次提交
  19. 09 2月, 2018 1 次提交
  20. 19 1月, 2018 2 次提交
  21. 18 1月, 2018 1 次提交
  22. 16 11月, 2017 1 次提交
    • D
      NUMA: Enable adding NUMA node implicitly · 7b8be49d
      Dou Liyang 提交于
      Linux and Windows need ACPI SRAT table to make memory hotplug work properly,
      however currently QEMU doesn't create SRAT table if numa options aren't present
      on CLI.
      
      Which breaks both linux and windows guests in certain conditions:
       * Windows: won't enable memory hotplug without SRAT table at all
       * Linux: if QEMU is started with initial memory all below 4Gb and no SRAT table
         present, guest kernel will use nommu DMA ops, which breaks 32bit hw drivers
         when memory is hotplugged and guest tries to use it with that drivers.
      
      Fix above issues by automatically creating a numa node when QEMU is started with
      memory hotplug enabled but without '-numa' options on CLI.
      (PS: auto-create numa node only for new machine types so not to break migration).
      
      Which would provide SRAT table to guests without explicit -numa options on CLI
      and would allow:
       * Windows: to enable memory hotplug
       * Linux: switch to SWIOTLB DMA ops, to bounce DMA transfers to 32bit allocated
         buffers that legacy drivers/hw can handle.
      
      [Rewritten by Igor]
      Reported-by: NThadeu Lima de Souza Cascardo <cascardo@canonical.com>
      Suggested-by: NIgor Mammedov <imammedo@redhat.com>
      Signed-off-by: NDou Liyang <douly.fnst@cn.fujitsu.com>
      Cc: Paolo Bonzini <pbonzini@redhat.com>
      Cc: Richard Henderson <rth@twiddle.net>
      Cc: Eduardo Habkost <ehabkost@redhat.com>
      Cc: "Michael S. Tsirkin" <mst@redhat.com>
      Cc: Marcel Apfelbaum <marcel@redhat.com>
      Cc: Igor Mammedov <imammedo@redhat.com>
      Cc: David Hildenbrand <david@redhat.com>
      Cc: Thomas Huth <thuth@redhat.com>
      Cc: Alistair Francis <alistair23@gmail.com>
      Cc: Takao Indoh <indou.takao@jp.fujitsu.com>
      Cc: Izumi Taku <izumi.taku@jp.fujitsu.com>
      Reviewed-by: NIgor Mammedov <imammedo@redhat.com>
      Reviewed-by: NMichael S. Tsirkin <mst@redhat.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      7b8be49d
  23. 15 10月, 2017 1 次提交
  24. 19 9月, 2017 1 次提交