[libvirt PATCH 0/2] fix console device access in ch driver

Praveen K Paladugu posted 2 patches 1 year, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20220729203657.4761-1-prapal@linux.microsoft.com
src/ch/ch_domain.c     | 9 +--------
src/conf/domain_conf.c | 1 +
2 files changed, 2 insertions(+), 8 deletions(-)
[libvirt PATCH 0/2] fix console device access in ch driver
Posted by Praveen K Paladugu 1 year, 8 months ago
Patch1:
Drops the check to only have a console/serial device configured
for ch VMs. This is no longer needed.

Patch2:
Addresses https://gitlab.com/libvirt/libvirt/-/issues/344. Libvirt adds compat
console devices for "hvm" VMs. The added console/serial device type is
initialized to VIR_DOMAIN_CHR_TYPE_NULL, when in fact the device added is a pty
device. This patch modifies the default console device type to "pty".

I looked at NOT adding Compat Console devices for ch VMs. But this looked like
a better fix.

Praveen K Paladugu (2):
  ch: drop the check to have a single console/serial
  conf: set the default chr device type to pty

 src/ch/ch_domain.c     | 9 +--------
 src/conf/domain_conf.c | 1 +
 2 files changed, 2 insertions(+), 8 deletions(-)

-- 
2.27.0