summary refs log tree commit diff stats
path: root/scripts/qapi/commands.py
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@redhat.com>2019-12-31 19:32:05 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-01-07 12:08:39 +0100
commitff2efdcdc1674b31fcad64d668a4da01cd454b82 (patch)
tree671907b554749a3b6c4c70174451cee7689fe366 /scripts/qapi/commands.py
parent48ca2c4aa174aebedfdd64369697e467e30ffd22 (diff)
downloadfocaccia-qemu-ff2efdcdc1674b31fcad64d668a4da01cd454b82.tar.gz
focaccia-qemu-ff2efdcdc1674b31fcad64d668a4da01cd454b82.zip
hw/i386/Kconfig: Let the MicroVM machine select the SERIAL_ISA config
When configured with --without-default-devices, the build fails:

     LINK    x86_64-softmmu/qemu-system-x86_64
  /usr/bin/ld: hw/i386/microvm.o: in function `microvm_devices_init':
  hw/i386/microvm.c:157: undefined reference to `serial_hds_isa_init'
  collect2: error: ld returned 1 exit status
  make[1]: *** [Makefile:206: qemu-system-x86_64] Error 1
  make: *** [Makefile:483: x86_64-softmmu/all] Error 2

While the MicroVM machine only uses the ISA serial port when the
MICROVM_MACHINE_ISA_SERIAL property is set, it has to be linked
with it. Replace the 'imply' Kconfig rule by a 'select'.

Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20191231183216.6781-4-philmd@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi/commands.py')
0 files changed, 0 insertions, 0 deletions