Skip to content
Permalink
Branch: master
Commits on Mar 21, 2019
  1. virtio-vga: only enable for specific boards

    bonzini committed Mar 21, 2019
    When virtio-vga was added, the intention was to only support it for
    those machines where the firmware does not know about virtio-gpu,
    and supported VGA legacy hardware before virtio-{gpu,vga} were
    introduced.
    
    The Kconfig switch however enabled virtio-vga for all machines with
    a PCI bus, and libvirt then prefers it even on hardware where
    virtio-gpu would be preferrable.  At least for now, only enable
    virtio-vga for PC, hppa and pSeries machines, as was the case
    before Kconfig dependencies were introduced.
    
    Reported-by: Laszlo Ersek <lersek@redhat.com>
    Reviewed-by: Thomas Huth <thuth@redhat.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commits on Mar 20, 2019
  1. config-all-devices.mak: rebuild on reconfigure

    bonzini committed Mar 13, 2019
    This ensures that softmmu directories are culled after a
    "./configure --target-list=x86_64-linux-user".
    
    Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
    Reviewed-by: Eric Blake <eblake@redhat.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  2. minikconf: fix parser typo

    bonzini committed Mar 12, 2019
    The result of this typo would be that "select_foo" would be treated as a "select"
    keyword followed by "_foo".  Nothing too bad, but easy to fix so let's be clean.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  3. test-announce-self: convert to qgraph

    bonzini committed Mar 12, 2019
    This removes the duplicated initialization code.
    
    Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  4. prep: do not select I82374

    bonzini committed Mar 20, 2019
    It is only needed through I82378, which also selects it.
    
    Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  5. hw/i386/Kconfig: PC uses I8257, not I82374

    bonzini committed Mar 20, 2019
    CONFIG_I82374 is not needed for PC machines, since they create
    i8257 directly instead.
    
    Reported-by: Miroslav Rezanina <mrezanin@redhat.com>
    Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commits on Mar 18, 2019
  1. kconfig: add dependencies on CONFIG_MSI_NONBROKEN

    bonzini committed Mar 14, 2019
    For devices that require msi_init/msix_init to succeed, add a
    dependency on CONFIG_MSI_NONBROKEN.  This will prevent those devices
    from appearing in a binary that cannot instantiate them.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  2. kconfig: add CONFIG_MSI_NONBROKEN

    bonzini committed Mar 14, 2019
    Not all interrupt controllers have a working implementation of
    message-signalled interrupts; in some cases, the guest may expect
    MSI to work but it won't due to the buggy or lacking emulation.
    
    In QEMU this is represented by the "msi_nonbroken" variable.  This
    patch adds a new configuration symbol enabled whenever the binary
    contains an interrupt controller that will set "msi_nonbroken".  We
    can then use it to remove devices that cannot be possibly added
    to the machine, because they require MSI.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commits on Mar 12, 2019
  1. test-migration: fix memory leak

    bonzini committed Mar 12, 2019
    Reported by ASAN.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  2. migration: fix memory leak

    bonzini committed Mar 12, 2019
    Reported by ASAN.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  3. test-bdrv-graph-mod: fix Error leak

    bonzini committed Mar 12, 2019
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  4. test-char: fix undefined behavior

    bonzini committed Mar 12, 2019
    Fixes the following failure with --enable-debug:
    
    /tmp/qemu-test/src/tests/test-char.c:838:10: runtime error: load of value 40, which is not a valid value for type bool
    SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /tmp/qemu-test/src/tests/test-char.c:838:10 in
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commits on Mar 11, 2019
  1. qemugdb: fix licensing

    bonzini committed Mar 11, 2019
    qemu-gdb.py was committed after 2012-01-13, so the notice about
    GPL v2-only contributions does not apply.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  2. build: clean trace/generated-helpers.c

    bonzini committed Feb 15, 2019
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  3. build: remove unnecessary assignments from Makefile.target

    bonzini committed Feb 15, 2019
    It is only necessary to clear block-obj-y because Makefile.objs
    uses "+=" instead of "="; fix that and remove the assignment.
    The other variables need not be cleared at all.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  4. build: get rid of target-obj-y

    bonzini committed Mar 8, 2019
    It is possible to specify the trace/ directory already in objs-y;
    there is no need to have a separate unnest-vars invocation.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  5. target-i386: add kvm stubs to user-mode emulators

    bonzini committed Feb 28, 2019
    The CPUID code will call kvm_arch_get_supported_cpuid() and, even though
    it is undef kvm_enabled() so it never runs for user-mode emulators,
    sometimes clang will not optimize it out at -O0.
    
    That could be considered a compiler bug, however at -O0 we give it
    a pass and just add the stubs.
    
    Reported-by: Kamil Rytarowski <n54@gmx.com>
    Tested-by: Kamil Rytarowski <n54@gmx.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  6. vfio-pci: enable by default

    bonzini committed Mar 8, 2019
    CONFIG_VFIO_PCI was not "default y" - and once you do that, it is also
    important to disable it if PCI is not there.
    
    Reported-by: Alex Williamson <alex.williamson@redhat.com>
    Tested-by: Alex Williamson <alex.williamson@redhat.com>
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Commits on Mar 7, 2019
  1. kconfig: add documentation

    bonzini committed Feb 12, 2019
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  2. .travis.yml: test that no-default-device builds do not regress

    bonzini committed Jan 31, 2019
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  3. xtensa-softmmu.mak: express dependencies with Kconfig

    bonzini committed Jan 29, 2019
    %-softmmu.mak only keep boards and optional device
    definitions in Kconfig mode.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  4. unicore32-softmmu.mak: express dependencies with Kconfig

    bonzini committed Jan 29, 2019
    %-softmmu.mak only keep boards and optional device
    definitions in Kconfig mode.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  5. sparc64-softmmu.mak: express dependencies with Kconfig

    bonzini committed Jan 29, 2019
    %-softmmu.mak only keep boards and optional device
    definitions in Kconfig mode.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  6. sparc-softmmu.mak: express dependencies with Kconfig

    bonzini committed Jan 29, 2019
    %-softmmu.mak only keep boards and optional device
    definitions in Kconfig mode.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  7. sh4-softmmu.mak: express dependencies with Kconfig

    bonzini committed Jan 29, 2019
    %-softmmu.mak only keep boards and optional device
    definitions in Kconfig mode.
    
    Note that USB_OHCI was missing (it was brought in via pci.mak,
    but r2d needs the sysbus version) and SERIAL is not used.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  8. riscv-softmmu.mak: replace CONFIG_* with Kconfig "select" directives

    bonzini committed Jan 29, 2019
    %-softmmu.mak only keep boards and optional device
    definitions in Kconfig mode.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  9. or1k-softmmu.mak: express dependencies with Kconfig

    bonzini committed Jan 29, 2019
    %-softmmu.mak only keep boards and optional device
    definitions in Kconfig mode.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  10. nios2-softmmu.mak: express dependencies with Kconfig

    bonzini committed Jan 29, 2019
    %-softmmu.mak only keep boards and optional device
    definitions in Kconfig mode.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  11. moxie-softmmu.mak: express dependencies with Kconfig

    bonzini committed Jan 29, 2019
    %-softmmu.mak only keep boards and optional device
    definitions in Kconfig mode.
    
    Moxie does not use VGA, ISA or RTC, and only has a memory-mapped
    serial port.  Adjust for the correct dependencies.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  12. microblaze-softmmu.mak: express dependencies with Kconfig

    bonzini committed Jan 29, 2019
    %-softmmu.mak only keep boards and optional device
    definitions in Kconfig mode.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  13. m68k-softmmu.mak: express dependencies with Kconfig

    bonzini committed Jan 29, 2019
    %-softmmu.mak only keep boards and optional device
    definitions in Kconfig mode.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  14. lm32-softmmu.mak: express dependencies with Kconfig

    bonzini committed Jan 29, 2019
    %-softmmu.mak only keep boards and optional device
    definitions in Kconfig mode.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  15. hppa-softmmu.mak: express dependencies with Kconfig

    bonzini committed Jan 29, 2019
    %-softmmu.mak only keep boards and optional device
    definitions in Kconfig mode.
    
    Note that the Dino board uses a memory mapped 16550 UART and
    therefore only CONFIG_SERIAL is needed, not CONFIG_SERIAL_ISA.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  16. cris-softmmu.mak: express dependencies with Kconfig

    bonzini committed Jan 29, 2019
    %-softmmu.mak only keep boards and optional device
    definitions in Kconfig mode.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  17. alpha-softmmu.mak: express dependencies with Kconfig

    bonzini committed Jan 29, 2019
    %-softmmu.mak only keep boards and optional device
    definitions in Kconfig mode.
    
    Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Older
You can’t perform that action at this time.