1. 22 9月, 2017 16 次提交
  2. 21 9月, 2017 6 次提交
    • P
      atomic: update documentation · db81b995
      Paolo Bonzini 提交于
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      db81b995
    • K
      memory: avoid a name clash with access macro · 05e015f7
      KONRAD Frederic 提交于
      This avoids a name clash with the access macro on windows 64:
      
      make
      	CHK version_gen.h
        CC      aarch64-softmmu/memory.o
      /home/konrad/qemu/memory.c: In function 'access_with_adjusted_size':
      /home/konrad/qemu/memory.c:591:73: error: macro "access" passed 7 arguments, \
                               but takes just 2
                               (size - access_size - i) * 8, access_mask, attrs);
                                                                               ^
      Signed-off-by: NKONRAD Frederic <frederic.konrad@adacore.com>
      Message-Id: <1505988260-8483-1-git-send-email-frederic.konrad@adacore.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      05e015f7
    • D
      kvm: drop wrong assertion creating problems with pflash · 3110cdbd
      David Hildenbrand 提交于
      pflash toggles mr->romd_mode. So this assert does not always hold.
      
      1) a device was added with !mr->romd_mode, therefore effectively not
         creating a kvm slot as we want to trap every access (add = false).
      2) mr->romd_mode was toggled on before remove it. There is now
         actually no slot to remove and the assert is wrong.
      
      So let's just drop the assert.
      Reported-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NDavid Hildenbrand <david@redhat.com>
      Message-Id: <20170920145025.19403-1-david@redhat.com>
      Tested-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      3110cdbd
    • P
      virtio-serial: add enable_backend callback · 55289fb0
      Pavel Butsykin 提交于
      We should guarantee that RAM will not be modified while VM has a stopped
      state, otherwise it can lead to negative consequences during post-copy
      migration. In RUN_STATE_FINISH_MIGRATE step, it's expected that RAM on
      source side will not be modified as this could lead to non-consistent vm state
      on the destination side. Also RAM access during postcopy-ram migration with
      enabled release-ram capability can lead to sad consequences.
      
      Let's add enable_backend() callback to avoid undesirable virtioqueue changes
      in the guest memory.
      Signed-off-by: NPavel Butsykin <pbutsykin@virtuozzo.com>
      Message-Id: <20170919120733.22020-1-pbutsykin@virtuozzo.com>
      Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
      55289fb0
    • P
      Merge remote-tracking branch 'remotes/gkurz/tags/for-upstream' into staging · b62b7ed0
      Peter Maydell 提交于
      These patches fix regressions in 2.10
      
      # gpg: Signature made Wed 20 Sep 2017 07:51:07 BST
      # gpg:                using DSA key 0x02FC3AEB0101DBC2
      # gpg: Good signature from "Greg Kurz <groug@kaod.org>"
      # gpg:                 aka "Greg Kurz <groug@free.fr>"
      # gpg:                 aka "Greg Kurz <gkurz@linux.vnet.ibm.com>"
      # gpg:                 aka "Gregory Kurz (Groug) <groug@free.fr>"
      # gpg:                 aka "[jpeg image of size 3330]"
      # gpg: WARNING: This key is not certified with a trusted signature!
      # gpg:          There is no indication that the signature belongs to the owner.
      # Primary key fingerprint: 2BD4 3B44 535E C0A7 9894  DBA2 02FC 3AEB 0101 DBC2
      
      * remotes/gkurz/tags/for-upstream:
        9pfs: check the size of transport buffer before marshaling
        9pfs: fix name_to_path assertion in v9fs_complete_rename()
        9pfs: fix readdir() for 9p2000.u
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      b62b7ed0
    • P
      Merge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull-request' into staging · d3f5433c
      Peter Maydell 提交于
      Machine/CPU/NUMA queue, 2017-09-19
      
      # gpg: Signature made Tue 19 Sep 2017 21:17:01 BST
      # gpg:                using RSA key 0x2807936F984DC5A6
      # gpg: Good signature from "Eduardo Habkost <ehabkost@redhat.com>"
      # Primary key fingerprint: 5A32 2FD5 ABC4 D3DB ACCF  D1AA 2807 936F 984D C5A6
      
      * remotes/ehabkost/tags/machine-next-pull-request:
        MAINTAINERS: Update git URLs for my trees
        hw/acpi-build: Fix SRAT memory building in case of node 0 without RAM
        NUMA: Replace MAX_NODES with nb_numa_nodes in for loop
        numa: cpu: calculate/set default node-ids after all -numa CLI options are parsed
        arm: drop intermediate cpu_model -> cpu type parsing and use cpu type directly
        pc: use generic cpu_model parsing
        vl.c: convert cpu_model to cpu type and set of global properties before machine_init()
        cpu: make cpu_generic_init() abort QEMU on error
        qom: cpus: split cpu_generic_init() on feature parsing and cpu creation parts
        hostmem-file: Add "discard-data" option
        osdep: Define QEMU_MADV_REMOVE
        vl: Clean up user-creatable objects when exiting
      Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
      d3f5433c
  3. 20 9月, 2017 18 次提交