[libvirt PATCH 1/1] ch: Do not add stub console to ch VMs
Praveen Paladugu
prapal at linux.microsoft.com
Fri Feb 10 18:30:08 UTC 2023
O Fri, Feb 10, 2023 at 03:24:02PM +0100, Michal Pr??vozn??k wrote:
> On 2/9/23 23:09, Praveen K Paladugu wrote:
> > virDomainDefAddConsoleCompat in post parsing step appends a stub console
> > of type VIR_DOMAIN_CHR_TYPE_NULL to ch VMs' Domain XML. Cloud-hypervisor's
> > deviceValidateCallback (chValidateDomainDeviceDef) checks that the type of
> > stub console is not of type VIR_DOMAIN_CHR_TYPE_PTY and throws an error.
> >
> > This commit introduces NO_STUB_CONSOLE feature check to Domain features and
> > uses it to skip adding stub console to ch VMs.
> >
> > Signed-off-by: Praveen K Paladugu <prapal at linux.microsoft.com>
> > ---
> > src/ch/ch_domain.c | 1 +
> > src/conf/domain_conf.c | 7 ++++---
> > src/conf/domain_conf.h | 1 +
> > 3 files changed, 6 insertions(+), 3 deletions(-)
>
> Yes, I think we can finally break this backwards compatibility at least
> for this new driver.
>
> Reviewed-by: Michal Privoznik <mprivozn at redhat.com>
>
> and pushed.
>
> Michal
Thanks for promptly pushing this patch.
Praveen
More information about the libvir-list
mailing list