[libvirt] [PATCH] conf: Don't drop console definition on domain restart
Michal Privoznik
mprivozn at redhat.com
Fri Nov 25 07:06:58 UTC 2011
On 25.11.2011 03:39, Daniel Veillard wrote:
> On Thu, Nov 24, 2011 at 04:57:41PM +0100, Michal Privoznik wrote:
>> One of my latest patches 2e37bf42d28d8bb5d045b206587c64643c64d02a
>> copy serial console definition. On domain shutdown we save this
>> info into state XML. However, later on the daemon start we simply
>> drop this info and since we are not re-reading qemu log,
>> vm->def->consoles[0] does not get populated with copy. Therefore
>> we need to avoid dropping console definition if it is just alias
>> for serial console.
>> ---
>> src/conf/domain_conf.c | 76 +++++++++++++++++++++++++++++++++++++++++++----
>> 1 files changed, 69 insertions(+), 7 deletions(-)
>>
>
> ACK,
>
> Daniel
>
Thanks, pushed.
Michal
More information about the libvir-list
mailing list