]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/char/virtio-serial: Do not expose the 'emergency-write' property
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 8 Jan 2026 03:30:51 +0000 (11:30 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Sat, 7 Feb 2026 13:37:53 +0000 (14:37 +0100)
commitd0660e5b7fc7e97926232d13d2500a16df32b310
tree9d8405e850e10891c4915c3ec3dcbe1e645838a4
parentda5c0274ea2cff5e4c5be759ee7cafa386e7052c
hw/char/virtio-serial: Do not expose the 'emergency-write' property

The VIRTIO_CONSOLE_F_EMERG_WRITE feature bit was only set
in the hw_compat_2_7[] array, via the 'emergency-write=off'
property. We removed all machines using that array, lets remove
that property. All instances have this feature bit set and
it can not be disabled. VirtIOSerial::host_features mask is
now unused, remove it.

Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20260108033051.777361-28-zhao1.liu@intel.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/char/virtio-serial-bus.c
include/hw/virtio/virtio-serial.h