[libvirt] [PATCH] conf: move the check for secondary consoles of targetType serial

Michal Privoznik mprivozn at redhat.com
Mon Dec 15 09:34:38 UTC 2014


On 12.12.2014 17:17, Michal Privoznik wrote:
> On 11.12.2014 12:28, Erik Skultety wrote:
>> For historical reasons, only the first <console> element might be of
>> targetType
>> serial, but we checked for other consoles of targetType serial in our
>> post-parse
>> callback if and only if we knew the first console was serial, otherwise
>> the check was skipped.
>> This patch moves the check one level up, so first
>> the check for secondary console of type serial is performed and then the
>> rest of operations continue unchanged.
>> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1170092
>> ---
>>   src/conf/domain_conf.c | 23 +++++++++++++----------
>>   1 file changed, 13 insertions(+), 10 deletions(-)
>>

>
> ACK and will push after the release.

Now pushed.

Michal




More information about the libvir-list mailing list