monitor: rename monitor_init* to monitor_new*
The current "monitor_init" functions will clash with the methods of the same name that are required by QOM. To ease the transition to QOM, rename them out of the way. Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dave@treblig.org> Tested-by: Peter Krempa <pkrempa@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20260706135824.2623960-5-berrange@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
committed by
Markus Armbruster
parent
7f0909bd80
commit
fc500ce4d3
@@ -8,6 +8,6 @@ int monitor_get_fd(Monitor *mon, const char *name, Error **errp)
|
||||
return -1;
|
||||
}
|
||||
|
||||
void monitor_init_hmp(Chardev *chr, bool use_readline, Error **errp)
|
||||
void monitor_new_hmp(Chardev *chr, bool use_readline, Error **errp)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user