Skip to content
Commit e7397d99 authored by Zeeshan Ali's avatar Zeeshan Ali
Browse files

machine: Add virtual update_info()

In commit b1aaa706, we consolidated the setting of 'info' to some extent
by ensuring the this property is only set by
LibvirtMachine.update_info(). This patch takes that effort further by
making LibvirtMachine.update_info() a virtual method of the base Machine
class.

This also implies that Machine no longer keep the existing status string
and instead of concatenating new strings, it simply overrides it. This
is the right thing to do IMO since no critical information is kept in
this property and so far we haven't had the need to keep two different
pieces of information at the same time in it.

https://bugzilla.gnome.org/show_bug.cgi?id=744004
parent 01fe2ace
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment