"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "qom/object_interfaces.c" between
qemu-6.0.0-rc1.tar.xz and qemu-6.0.0-rc2.tar.xz

About: QEMU is a generic machine/processor emulator and virtualizer. Release candidate.

object_interfaces.c  (qemu-6.0.0-rc1.tar.xz):object_interfaces.c  (qemu-6.0.0-rc2.tar.xz)
skipping to change at line 20 skipping to change at line 20
#include "qapi/qobject-input-visitor.h" #include "qapi/qobject-input-visitor.h"
#include "qapi/qobject-output-visitor.h" #include "qapi/qobject-output-visitor.h"
#include "qom/object_interfaces.h" #include "qom/object_interfaces.h"
#include "qemu/help_option.h" #include "qemu/help_option.h"
#include "qemu/id.h" #include "qemu/id.h"
#include "qemu/module.h" #include "qemu/module.h"
#include "qemu/option.h" #include "qemu/option.h"
#include "qemu/qemu-print.h" #include "qemu/qemu-print.h"
#include "qapi/opts-visitor.h" #include "qapi/opts-visitor.h"
#include "qemu/config-file.h" #include "qemu/config-file.h"
#include "qemu/qemu-print.h"
bool user_creatable_complete(UserCreatable *uc, Error **errp) bool user_creatable_complete(UserCreatable *uc, Error **errp)
{ {
UserCreatableClass *ucc = USER_CREATABLE_GET_CLASS(uc); UserCreatableClass *ucc = USER_CREATABLE_GET_CLASS(uc);
Error *err = NULL; Error *err = NULL;
if (ucc->complete) { if (ucc->complete) {
ucc->complete(uc, &err); ucc->complete(uc, &err);
error_propagate(errp, err); error_propagate(errp, err);
} }
skipping to change at line 162 skipping to change at line 161
if (str->len < 24) { if (str->len < 24) {
g_string_append_printf(str, "%*s", 24 - (int)str->len, ""); g_string_append_printf(str, "%*s", 24 - (int)str->len, "");
} }
g_string_append(str, " - "); g_string_append(str, " - ");
} }
if (description) { if (description) {
g_string_append(str, description); g_string_append(str, description);
} }
if (defval) { if (defval) {
g_autofree char *def_json = g_string_free(qobject_to_json(defval), g_autofree char *def_json = g_string_free(qobject_to_json(defval),
true); false);
g_string_append_printf(str, " (default: %s)", def_json); g_string_append_printf(str, " (default: %s)", def_json);
} }
return g_string_free(str, false); return g_string_free(str, false);
} }
static void user_creatable_print_types(void) static void user_creatable_print_types(void)
{ {
GSList *l, *list; GSList *l, *list;
 End of changes. 2 change blocks. 
2 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)