Skip to content
Snippets Groups Projects
  1. Jan 11, 2019
    • Philippe Mathieu-Daudé's avatar
      configure: Let the TARGET_GPROF var use the regular 'y' for Yes · 0acf7ded
      Philippe Mathieu-Daudé authored
      
      All other variables are set using 'y', which is what the rules.mak
      functions expect to parse.
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-Id: <20190103150951.17592-2-philmd@redhat.com>
      Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
      0acf7ded
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/ehabkost/tags/machine-next-pull-request' into staging · e53f7796
      Peter Maydell authored
      
      Machine queue, 2019-01-10
      
      * Simplify GlobalProperty array declarations (Eduardo Habkost)
      * Deprecate cpu-add commands (Kashyap Chamarthy)
      * range/memory-device cleanups (David Hildenbrand)
      * Fix -device scsi-hd,help regression (Marc-André Lureau)
      * Fix crash when -global generates multiple warnings (Eduardo
        Habkost)
      
      # gpg: Signature made Thu 10 Jan 2019 14:28:23 GMT
      # gpg:                using RSA key 2807936F984DC5A6
      # 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:
        qom: Don't keep error value between object_property_parse() calls
        qdev: fix -device scsi-hd,help regression
        machine: Use shorter format for GlobalProperty arrays
        machine: Eliminate unnecessary stringify() usage
        spapr: Eliminate SPAPR_PCI_2_7_MMIO_WIN_SIZE macro
        memory-device: rewrite address assignment using ranges
        range: add some more functions
        Mention that QMP 'cpu-add' will be deprecated
        Update that HMP 'cpu-add' is deprecated in 4.0
        qemu-deprecated.texi: Rename the HMP section
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      e53f7796
  2. Jan 10, 2019
  3. Jan 09, 2019
    • Peter Maydell's avatar
      Merge remote-tracking branch 'remotes/dgibson/tags/ppc-for-4.0-20190109' into staging · 8ae951fb
      Peter Maydell authored
      
      ppc patch queue 2019-01-09
      
      Second main pull request for qemu-4.0.  Highlights are:
       * Final parts of XIVE support for pseries (without KVM)
       * Preliminary work for PHB hotplug
       * Starting to use TCG vector operations
      
      This includes some changes in the PCI core, which Michael Tsirkin
      requested come through this tree, since they're primarily of interest
      for ppc.
      
      # gpg: Signature made Tue 08 Jan 2019 22:44:10 GMT
      # gpg:                using RSA key 6C38CACA20D9B392
      # gpg: Good signature from "David Gibson <david@gibson.dropbear.id.au>"
      # gpg:                 aka "David Gibson (Red Hat) <dgibson@redhat.com>"
      # gpg:                 aka "David Gibson (ozlabs.org) <dgibson@ozlabs.org>"
      # gpg:                 aka "David Gibson (kernel.org) <dwg@kernel.org>"
      # Primary key fingerprint: 75F4 6586 AE61 A66C C44E  87DC 6C38 CACA 20D9 B392
      
      * remotes/dgibson/tags/ppc-for-4.0-20190109: (29 commits)
        spapr: enable XIVE MMIOs at reset
        spapr: introduce a new sPAPR IRQ backend supporting XIVE and XICS
        ppc/xics: allow ICSState to have an offset 0
        spapr: move the qemu_irq array under the machine
        pnv/psi: move the ICSState qemu_irq array under the PSI device model
        ppc: export the XICS and XIVE set_irq handlers
        spapr: return from post_load method when RTC import fails
        ppc: replace the 'Object *intc' by a 'ICPState *icp' pointer under the CPU
        ppc/xive: introduce a XiveTCTX pointer under PowerPCCPU
        spapr: modify the prototype of the cpu_intc_create() method
        spapr/xive: simplify the sPAPR IRQ qirq method for XIVE
        spapr_pci: Define SPAPR_MAX_PHBS in hw/pci-host/spapr.h
        pci: allow cleanup/unregistration of PCI root buses
        spapr: move spapr_create_phb() to core machine code
        MAINTAINERS: add qemu_vga.ndrv file entry for Mac machines
        MAINTAINERS: Add some missing ppc-related files
        target/ppc: replace AVR* macros with Vsr* macros
        target/ppc: move FP and VMX registers into aligned vsr register array
        target/ppc: merge ppc_vsr_t and ppc_avr_t union types
        target/ppc: switch FPR, VMX and VSX helpers to access data directly from cpu_env
        ...
      
      Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
      8ae951fb
    • Li Qiang's avatar
      ioapic: use TYPE_FOO MACRO than constant string · 34bec7a8
      Li Qiang authored
      
      Make them more QOMConventional.
      Cc:qemu-trivial@nongnu.org
      
      Signed-off-by: default avatarLi Qiang <liq3ea@163.com>
      Reviewed-by: default avatarLaurent Vivier <laurent@vivier.eu>
      Message-Id: <20190105023831.66910-1-liq3ea@163.com>
      Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
      34bec7a8
    • Thomas Huth's avatar
      trivial: Don't include isa.h if it is not really necessary · 0cd0589e
      Thomas Huth authored
      
      These files don't seem to do anything related to ISA directly, so
      there is no need to include isa.h here.
      
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <1546615943-16274-1-git-send-email-thuth@redhat.com>
      Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
      0cd0589e
    • Thomas Huth's avatar
      hw/audio/marvell: Don't include unnecessary i2c.h header file · 29bc0a60
      Thomas Huth authored
      
      This device does not use I2C, so no need to include the header file here.
      
      Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
      Message-Id: <1546614146-10525-1-git-send-email-thuth@redhat.com>
      Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
      29bc0a60
    • Priit Laes's avatar
      qom: Include qemu/fprintf-fn.h in cpu.h · c0b05ec5
      Priit Laes authored
      
      QOM cpu.h uses fprintf_function which requires Qemu's
      qemu/fprintf-fn.h header. Include it.
      
      Signed-off-by: default avatarPriit Laes <plaes@plaes.org>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-Id: <20181226003722.31257-1-plaes@plaes.org>
      Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
      c0b05ec5
    • Wainer dos Santos Moschetta's avatar
      hw/core: fix whitespace in a sentence · 097f699c
      Wainer dos Santos Moschetta authored
      
      Signed-off-by: default avatarWainer dos Santos Moschetta <wainersm@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-Id: <20181224154922.3338-1-wainersm@redhat.com>
      Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
      097f699c
    • Eric Blake's avatar
      typedefs: (Re-)sort entries alphabetically · a98c370c
      Eric Blake authored
      
      Since the last time we sorted things (2988cbea), we've had a
      few relapses that were inserted out of order.  Also, we had more
      entries that were sorted case-insensitively than not, so let's
      document that convention and stick to it.
      
      Signed-off-by: default avatarEric Blake <eblake@redhat.com>
      Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Reviewed-by: default avatarMarkus Armbruster <armbru@redhat.com>
      Message-Id: <20181115211752.1295571-2-eblake@redhat.com>
      Signed-off-by: default avatarLaurent Vivier <laurent@vivier.eu>
      a98c370c
    • Philippe Mathieu-Daudé's avatar
      docker: Use a stable snapshot for Debian Sid · 4ce58d86
      Philippe Mathieu-Daudé authored
      
      The Debian Sid repository is not garanteed to be stable, as his
      'unstable' name suggest :)
      
      To allow quick testing, Debian maintainers might push packages
      various time a day. Sometime package dependencies might break,
      which is annoying when using this repository for stable development
      (which is not recommended, but Sid provides edge packages we use
      for testing).
      
      Debian provides repositories snapshots which are suitable for our
      use. Pick a recent date that works. When required, update to newer
      releases will be easy.
      
      This fixes current issues with this image:
      
        $ make docker-image-debian-sid
        [...]
        The following packages have unmet dependencies:
         build-essential : Depends: dpkg-dev (>= 1.17.11) but it is not going to be installed
         git : Depends: perl but it is not going to be installed
               Depends: liberror-perl but it is not going to be installed
         pkg-config : Depends: libdpkg-perl but it is not going to be installed
         texinfo : Depends: perl (>= 5.26.2-6) but it is not going to be installed
                   Depends: libtext-unidecode-perl but it is not going to be installed
                   Depends: libxml-libxml-perl but it is not going to be installed
        E: Unable to correct problems, you have held broken packages.
      
      Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
      Message-Id: <20181101183705.5422-1-philmd@redhat.com>
      Signed-off-by: default avatarFam Zheng <famz@redhat.com>
      4ce58d86
    • Li Feng's avatar
      block/nvme: optimize the performance of nvme driver based on vfio-pci · 2916405a
      Li Feng authored
      
      When the IO size is larger than 2 pages, we move the the pointer one by
      one in the pagelist, this is inefficient.
      
      This is a simple benchmark result:
      
      Before:
      $ qemu-io -c 'write 0 1G' nvme://0000:00:04.0/1
      
      wrote 1073741824/1073741824 bytes at offset 0
      1 GiB, 1 ops; 0:00:02.41 (424.504 MiB/sec and 0.4146 ops/sec)
      
       $ qemu-io -c 'read 0 1G' nvme://0000:00:04.0/1
      
      read 1073741824/1073741824 bytes at offset 0
      1 GiB, 1 ops; 0:00:02.03 (503.055 MiB/sec and 0.4913 ops/sec)
      
      After:
      $ qemu-io -c 'write 0 1G' nvme://0000:00:04.0/1
      
      wrote 1073741824/1073741824 bytes at offset 0
      1 GiB, 1 ops; 0:00:02.17 (471.517 MiB/sec and 0.4605 ops/sec)
      
       $ qemu-io -c 'read 0 1G' nvme://0000:00:04.0/1
      
      read 1073741824/1073741824 bytes at offset 0
      1 GiB, 1 ops; 0:00:01.94 (526.770 MiB/sec and 0.5144 ops/sec)
      
      Signed-off-by: default avatarLi Feng <lifeng1519@gmail.com>
      Message-Id: <20181101103807.25862-1-lifeng1519@gmail.com>
      Signed-off-by: default avatarFam Zheng <famz@redhat.com>
      2916405a
  4. Jan 08, 2019
Loading