/* libvirt-machine-properties.c generated by valac 0.36.1.38-6532, the Vala compiler
 * generated from libvirt-machine-properties.vala, do not modify */

/* This file is part of GNOME Boxes. License: LGPLv2+*/

#include <glib.h>
#include <glib-object.h>
#include <libvirt-gconfig/libvirt-gconfig.h>
#include <libvirt-gobject/libvirt-gobject.h>
#include <stdlib.h>
#include <string.h>
#include <gio/gio.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <libcommon.h>
#include <glib/gstdio.h>
#include <glib/gi18n-lib.h>
#include <gtk/gtk.h>
#include <pango/pango.h>
#include <osinfo/osinfo.h>
#include <float.h>
#include <math.h>


#define BOXES_TYPE_IPROPERTIES_PROVIDER (boxes_iproperties_provider_get_type ())
#define BOXES_IPROPERTIES_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_IPROPERTIES_PROVIDER, BoxesIPropertiesProvider))
#define BOXES_IS_IPROPERTIES_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_IPROPERTIES_PROVIDER))
#define BOXES_IPROPERTIES_PROVIDER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), BOXES_TYPE_IPROPERTIES_PROVIDER, BoxesIPropertiesProviderIface))

typedef struct _BoxesIPropertiesProvider BoxesIPropertiesProvider;
typedef struct _BoxesIPropertiesProviderIface BoxesIPropertiesProviderIface;

#define BOXES_TYPE_PROPERTIES_PAGE (boxes_properties_page_get_type ())

#define BOXES_TYPE_PROPERTY (boxes_property_get_type ())
#define BOXES_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_PROPERTY, BoxesProperty))
#define BOXES_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_PROPERTY, BoxesPropertyClass))
#define BOXES_IS_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_PROPERTY))
#define BOXES_IS_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_PROPERTY))
#define BOXES_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_PROPERTY, BoxesPropertyClass))

typedef struct _BoxesProperty BoxesProperty;
typedef struct _BoxesPropertyClass BoxesPropertyClass;

#define BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES (boxes_libvirt_machine_properties_get_type ())
#define BOXES_LIBVIRT_MACHINE_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES, BoxesLibvirtMachineProperties))
#define BOXES_LIBVIRT_MACHINE_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES, BoxesLibvirtMachinePropertiesClass))
#define BOXES_IS_LIBVIRT_MACHINE_PROPERTIES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES))
#define BOXES_IS_LIBVIRT_MACHINE_PROPERTIES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES))
#define BOXES_LIBVIRT_MACHINE_PROPERTIES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES, BoxesLibvirtMachinePropertiesClass))

typedef struct _BoxesLibvirtMachineProperties BoxesLibvirtMachineProperties;
typedef struct _BoxesLibvirtMachinePropertiesClass BoxesLibvirtMachinePropertiesClass;
typedef struct _BoxesLibvirtMachinePropertiesPrivate BoxesLibvirtMachinePropertiesPrivate;

#define BOXES_TYPE_COLLECTION_ITEM (boxes_collection_item_get_type ())
#define BOXES_COLLECTION_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItem))
#define BOXES_COLLECTION_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItemClass))
#define BOXES_IS_COLLECTION_ITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_COLLECTION_ITEM))
#define BOXES_IS_COLLECTION_ITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_COLLECTION_ITEM))
#define BOXES_COLLECTION_ITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_COLLECTION_ITEM, BoxesCollectionItemClass))

typedef struct _BoxesCollectionItem BoxesCollectionItem;
typedef struct _BoxesCollectionItemClass BoxesCollectionItemClass;

#define BOXES_TYPE_MACHINE (boxes_machine_get_type ())
#define BOXES_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_MACHINE, BoxesMachine))
#define BOXES_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_MACHINE, BoxesMachineClass))
#define BOXES_IS_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_MACHINE))
#define BOXES_IS_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_MACHINE))
#define BOXES_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_MACHINE, BoxesMachineClass))

typedef struct _BoxesMachine BoxesMachine;
typedef struct _BoxesMachineClass BoxesMachineClass;

#define BOXES_TYPE_LIBVIRT_MACHINE (boxes_libvirt_machine_get_type ())
#define BOXES_LIBVIRT_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachine))
#define BOXES_LIBVIRT_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachineClass))
#define BOXES_IS_LIBVIRT_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_LIBVIRT_MACHINE))
#define BOXES_IS_LIBVIRT_MACHINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_LIBVIRT_MACHINE))
#define BOXES_LIBVIRT_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_LIBVIRT_MACHINE, BoxesLibvirtMachineClass))

typedef struct _BoxesLibvirtMachine BoxesLibvirtMachine;
typedef struct _BoxesLibvirtMachineClass BoxesLibvirtMachineClass;
enum  {
	BOXES_LIBVIRT_MACHINE_PROPERTIES_DUMMY_PROPERTY,
	BOXES_LIBVIRT_MACHINE_PROPERTIES_LAST_PROPERTY
};
static GParamSpec* boxes_libvirt_machine_properties_properties[BOXES_LIBVIRT_MACHINE_PROPERTIES_LAST_PROPERTY];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_error_free0(var) ((var == NULL) ? NULL : (var = (g_error_free (var), NULL)))

#define BOXES_TYPE_UI (boxes_ui_get_type ())
#define BOXES_UI(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UI, BoxesUI))
#define BOXES_IS_UI(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UI))
#define BOXES_UI_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), BOXES_TYPE_UI, BoxesUIIface))

typedef struct _BoxesUI BoxesUI;
typedef struct _BoxesUIIface BoxesUIIface;

#define BOXES_TYPE_UI_STATE (boxes_ui_state_get_type ())
typedef struct _BoxesCollectionItemPrivate BoxesCollectionItemPrivate;
typedef struct _BoxesMachinePrivate BoxesMachinePrivate;

#define BOXES_MACHINE_TYPE_CONNECT_FLAGS (boxes_machine_connect_flags_get_type ())
#define _g_free0(var) (var = (g_free (var), NULL))
#define __vala_GVirDomainInfo_free0(var) ((var == NULL) ? NULL : (var = (_vala_GVirDomainInfo_free (var), NULL)))
#define __vala_GVirNodeInfo_free0(var) ((var == NULL) ? NULL : (var = (_vala_GVirNodeInfo_free (var), NULL)))
#define _g_string_free0(var) ((var == NULL) ? NULL : (var = (g_string_free (var, TRUE), NULL)))

#define BOXES_TYPE_DISPLAY (boxes_display_get_type ())
#define BOXES_DISPLAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_DISPLAY, BoxesDisplay))
#define BOXES_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_DISPLAY, BoxesDisplayClass))
#define BOXES_IS_DISPLAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_DISPLAY))
#define BOXES_IS_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_DISPLAY))
#define BOXES_DISPLAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_DISPLAY, BoxesDisplayClass))

typedef struct _BoxesDisplay BoxesDisplay;
typedef struct _BoxesDisplayClass BoxesDisplayClass;
#define __g_list_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL)))

#define BOXES_TYPE_EDITABLE_STRING_PROPERTY (boxes_editable_string_property_get_type ())
#define BOXES_EDITABLE_STRING_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_EDITABLE_STRING_PROPERTY, BoxesEditableStringProperty))
#define BOXES_EDITABLE_STRING_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_EDITABLE_STRING_PROPERTY, BoxesEditableStringPropertyClass))
#define BOXES_IS_EDITABLE_STRING_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_EDITABLE_STRING_PROPERTY))
#define BOXES_IS_EDITABLE_STRING_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_EDITABLE_STRING_PROPERTY))
#define BOXES_EDITABLE_STRING_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_EDITABLE_STRING_PROPERTY, BoxesEditableStringPropertyClass))

typedef struct _BoxesEditableStringProperty BoxesEditableStringProperty;
typedef struct _BoxesEditableStringPropertyClass BoxesEditableStringPropertyClass;
typedef struct _Block48Data Block48Data;

#define BOXES_TYPE_STRING_PROPERTY (boxes_string_property_get_type ())
#define BOXES_STRING_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_STRING_PROPERTY, BoxesStringProperty))
#define BOXES_STRING_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_STRING_PROPERTY, BoxesStringPropertyClass))
#define BOXES_IS_STRING_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_STRING_PROPERTY))
#define BOXES_IS_STRING_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_STRING_PROPERTY))
#define BOXES_STRING_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_STRING_PROPERTY, BoxesStringPropertyClass))

typedef struct _BoxesStringProperty BoxesStringProperty;
typedef struct _BoxesStringPropertyClass BoxesStringPropertyClass;

#define BOXES_TYPE_SNAPSHOTS_PROPERTY (boxes_snapshots_property_get_type ())
#define BOXES_SNAPSHOTS_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SNAPSHOTS_PROPERTY, BoxesSnapshotsProperty))
#define BOXES_SNAPSHOTS_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SNAPSHOTS_PROPERTY, BoxesSnapshotsPropertyClass))
#define BOXES_IS_SNAPSHOTS_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SNAPSHOTS_PROPERTY))
#define BOXES_IS_SNAPSHOTS_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SNAPSHOTS_PROPERTY))
#define BOXES_SNAPSHOTS_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SNAPSHOTS_PROPERTY, BoxesSnapshotsPropertyClass))

typedef struct _BoxesSnapshotsProperty BoxesSnapshotsProperty;
typedef struct _BoxesSnapshotsPropertyClass BoxesSnapshotsPropertyClass;

#define BOXES_TYPE_SIZE_PROPERTY (boxes_size_property_get_type ())
#define BOXES_SIZE_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SIZE_PROPERTY, BoxesSizeProperty))
#define BOXES_SIZE_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SIZE_PROPERTY, BoxesSizePropertyClass))
#define BOXES_IS_SIZE_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SIZE_PROPERTY))
#define BOXES_IS_SIZE_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SIZE_PROPERTY))
#define BOXES_SIZE_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SIZE_PROPERTY, BoxesSizePropertyClass))

typedef struct _BoxesSizeProperty BoxesSizeProperty;
typedef struct _BoxesSizePropertyClass BoxesSizePropertyClass;
typedef struct _Block49Data Block49Data;

#define BOXES_TYPE_VM_CREATOR (boxes_vm_creator_get_type ())
#define BOXES_VM_CREATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_VM_CREATOR, BoxesVMCreator))
#define BOXES_VM_CREATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_VM_CREATOR, BoxesVMCreatorClass))
#define BOXES_IS_VM_CREATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_VM_CREATOR))
#define BOXES_IS_VM_CREATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_VM_CREATOR))
#define BOXES_VM_CREATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_VM_CREATOR, BoxesVMCreatorClass))

typedef struct _BoxesVMCreator BoxesVMCreator;
typedef struct _BoxesVMCreatorClass BoxesVMCreatorClass;

#define BOXES_TYPE_INSTALLER_MEDIA (boxes_installer_media_get_type ())
#define BOXES_INSTALLER_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMedia))
#define BOXES_INSTALLER_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMediaClass))
#define BOXES_IS_INSTALLER_MEDIA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_INSTALLER_MEDIA))
#define BOXES_IS_INSTALLER_MEDIA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_INSTALLER_MEDIA))
#define BOXES_INSTALLER_MEDIA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_INSTALLER_MEDIA, BoxesInstallerMediaClass))

typedef struct _BoxesInstallerMedia BoxesInstallerMedia;
typedef struct _BoxesInstallerMediaClass BoxesInstallerMediaClass;
typedef struct _BoxesInstallerMediaPrivate BoxesInstallerMediaPrivate;

#define BOXES_TYPE_APP_WINDOW (boxes_app_window_get_type ())
#define BOXES_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_APP_WINDOW, BoxesAppWindow))
#define BOXES_APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_APP_WINDOW, BoxesAppWindowClass))
#define BOXES_IS_APP_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_APP_WINDOW))
#define BOXES_IS_APP_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_APP_WINDOW))
#define BOXES_APP_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_APP_WINDOW, BoxesAppWindowClass))

typedef struct _BoxesAppWindow BoxesAppWindow;
typedef struct _BoxesAppWindowClass BoxesAppWindowClass;
typedef struct _BoxesAppWindowPrivate BoxesAppWindowPrivate;

#define BOXES_TYPE_WIZARD_WINDOW (boxes_wizard_window_get_type ())
#define BOXES_WIZARD_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_WIZARD_WINDOW, BoxesWizardWindow))
#define BOXES_WIZARD_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_WIZARD_WINDOW, BoxesWizardWindowClass))
#define BOXES_IS_WIZARD_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_WIZARD_WINDOW))
#define BOXES_IS_WIZARD_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_WIZARD_WINDOW))
#define BOXES_WIZARD_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_WIZARD_WINDOW, BoxesWizardWindowClass))

typedef struct _BoxesWizardWindow BoxesWizardWindow;
typedef struct _BoxesWizardWindowClass BoxesWizardWindowClass;

#define BOXES_TYPE_PROPERTIES_WINDOW (boxes_properties_window_get_type ())
#define BOXES_PROPERTIES_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_PROPERTIES_WINDOW, BoxesPropertiesWindow))
#define BOXES_PROPERTIES_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_PROPERTIES_WINDOW, BoxesPropertiesWindowClass))
#define BOXES_IS_PROPERTIES_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_PROPERTIES_WINDOW))
#define BOXES_IS_PROPERTIES_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_PROPERTIES_WINDOW))
#define BOXES_PROPERTIES_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_PROPERTIES_WINDOW, BoxesPropertiesWindowClass))

typedef struct _BoxesPropertiesWindow BoxesPropertiesWindow;
typedef struct _BoxesPropertiesWindowClass BoxesPropertiesWindowClass;

#define BOXES_TYPE_SEARCHBAR (boxes_searchbar_get_type ())
#define BOXES_SEARCHBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SEARCHBAR, BoxesSearchbar))
#define BOXES_SEARCHBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SEARCHBAR, BoxesSearchbarClass))
#define BOXES_IS_SEARCHBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SEARCHBAR))
#define BOXES_IS_SEARCHBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SEARCHBAR))
#define BOXES_SEARCHBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SEARCHBAR, BoxesSearchbarClass))

typedef struct _BoxesSearchbar BoxesSearchbar;
typedef struct _BoxesSearchbarClass BoxesSearchbarClass;

#define BOXES_TYPE_TOPBAR (boxes_topbar_get_type ())
#define BOXES_TOPBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_TOPBAR, BoxesTopbar))
#define BOXES_TOPBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_TOPBAR, BoxesTopbarClass))
#define BOXES_IS_TOPBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_TOPBAR))
#define BOXES_IS_TOPBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_TOPBAR))
#define BOXES_TOPBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_TOPBAR, BoxesTopbarClass))

typedef struct _BoxesTopbar BoxesTopbar;
typedef struct _BoxesTopbarClass BoxesTopbarClass;

#define BOXES_TYPE_SELECTIONBAR (boxes_selectionbar_get_type ())
#define BOXES_SELECTIONBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_SELECTIONBAR, BoxesSelectionbar))
#define BOXES_SELECTIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_SELECTIONBAR, BoxesSelectionbarClass))
#define BOXES_IS_SELECTIONBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_SELECTIONBAR))
#define BOXES_IS_SELECTIONBAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_SELECTIONBAR))
#define BOXES_SELECTIONBAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_SELECTIONBAR, BoxesSelectionbarClass))

typedef struct _BoxesSelectionbar BoxesSelectionbar;
typedef struct _BoxesSelectionbarClass BoxesSelectionbarClass;

#define BOXES_TYPE_DISPLAY_PAGE (boxes_display_page_get_type ())
#define BOXES_DISPLAY_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPage))
#define BOXES_DISPLAY_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPageClass))
#define BOXES_IS_DISPLAY_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_DISPLAY_PAGE))
#define BOXES_IS_DISPLAY_PAGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_DISPLAY_PAGE))
#define BOXES_DISPLAY_PAGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_DISPLAY_PAGE, BoxesDisplayPageClass))

typedef struct _BoxesDisplayPage BoxesDisplayPage;
typedef struct _BoxesDisplayPageClass BoxesDisplayPageClass;

#define BOXES_TYPE_EMPTY_BOXES (boxes_empty_boxes_get_type ())
#define BOXES_EMPTY_BOXES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxes))
#define BOXES_EMPTY_BOXES_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxesClass))
#define BOXES_IS_EMPTY_BOXES(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_EMPTY_BOXES))
#define BOXES_IS_EMPTY_BOXES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_EMPTY_BOXES))
#define BOXES_EMPTY_BOXES_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_EMPTY_BOXES, BoxesEmptyBoxesClass))

typedef struct _BoxesEmptyBoxes BoxesEmptyBoxes;
typedef struct _BoxesEmptyBoxesClass BoxesEmptyBoxesClass;
typedef struct _BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData;

#define BOXES_TYPE_OS_DATABASE (boxes_os_database_get_type ())
#define BOXES_OS_DATABASE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_OS_DATABASE, BoxesOSDatabase))
#define BOXES_OS_DATABASE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_OS_DATABASE, BoxesOSDatabaseClass))
#define BOXES_IS_OS_DATABASE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_OS_DATABASE))
#define BOXES_IS_OS_DATABASE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_OS_DATABASE))
#define BOXES_OS_DATABASE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_OS_DATABASE, BoxesOSDatabaseClass))

typedef struct _BoxesOSDatabase BoxesOSDatabase;
typedef struct _BoxesOSDatabaseClass BoxesOSDatabaseClass;

#define BOXES_TYPE_MEDIA_MANAGER (boxes_media_manager_get_type ())
#define BOXES_MEDIA_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_MEDIA_MANAGER, BoxesMediaManager))
#define BOXES_MEDIA_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_MEDIA_MANAGER, BoxesMediaManagerClass))
#define BOXES_IS_MEDIA_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_MEDIA_MANAGER))
#define BOXES_IS_MEDIA_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_MEDIA_MANAGER))
#define BOXES_MEDIA_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_MEDIA_MANAGER, BoxesMediaManagerClass))

typedef struct _BoxesMediaManager BoxesMediaManager;
typedef struct _BoxesMediaManagerClass BoxesMediaManagerClass;
typedef struct _BoxesLibvirtMachinePropertiesGetOsForMachineData BoxesLibvirtMachinePropertiesGetOsForMachineData;

#define BOXES_TYPE_RESOURCE_GRAPH (boxes_resource_graph_get_type ())
#define BOXES_RESOURCE_GRAPH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_RESOURCE_GRAPH, BoxesResourceGraph))
#define BOXES_RESOURCE_GRAPH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_RESOURCE_GRAPH, BoxesResourceGraphClass))
#define BOXES_IS_RESOURCE_GRAPH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_RESOURCE_GRAPH))
#define BOXES_IS_RESOURCE_GRAPH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_RESOURCE_GRAPH))
#define BOXES_RESOURCE_GRAPH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_RESOURCE_GRAPH, BoxesResourceGraphClass))

typedef struct _BoxesResourceGraph BoxesResourceGraph;
typedef struct _BoxesResourceGraphClass BoxesResourceGraphClass;
typedef struct _Block50Data Block50Data;
typedef struct _BoxesLibvirtMachinePrivate BoxesLibvirtMachinePrivate;
typedef struct _Block51Data Block51Data;
typedef struct _Block52Data Block52Data;

#define BOXES_MACHINE_TYPE_MACHINE_STATE (boxes_machine_machine_state_get_type ())
typedef struct _Block53Data Block53Data;
#define __vala_GVirStorageVolInfo_free0(var) ((var == NULL) ? NULL : (var = (_vala_GVirStorageVolInfo_free (var), NULL)))
#define __vala_GVirStoragePoolInfo_free0(var) ((var == NULL) ? NULL : (var = (_vala_GVirStoragePoolInfo_free (var), NULL)))
typedef struct _Block54Data Block54Data;
typedef struct _BoxesLibvirtMachinePropertiesChangeStorageSizeData BoxesLibvirtMachinePropertiesChangeStorageSizeData;
typedef struct _BoxesLibvirtMachinePropertiesGetSnapshotsData BoxesLibvirtMachinePropertiesGetSnapshotsData;
typedef struct _Block55Data Block55Data;

#define BOXES_TYPE_APP (boxes_app_get_type ())
#define BOXES_APP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_APP, BoxesApp))
#define BOXES_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_APP, BoxesAppClass))
#define BOXES_IS_APP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_APP))
#define BOXES_IS_APP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_APP))
#define BOXES_APP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_APP, BoxesAppClass))

typedef struct _BoxesApp BoxesApp;
typedef struct _BoxesAppClass BoxesAppClass;

typedef enum  {
	BOXES_PROPERTIES_PAGE_GENERAL,
	BOXES_PROPERTIES_PAGE_SYSTEM,
	BOXES_PROPERTIES_PAGE_DEVICES,
	BOXES_PROPERTIES_PAGE_SNAPSHOTS,
	BOXES_PROPERTIES_PAGE_LAST
} BoxesPropertiesPage;

struct _BoxesIPropertiesProviderIface {
	GTypeInterface parent_iface;
	GList* (*get_properties) (BoxesIPropertiesProvider* self, BoxesPropertiesPage page);
};

struct _BoxesLibvirtMachineProperties {
	GObject parent_instance;
	BoxesLibvirtMachinePropertiesPrivate * priv;
};

struct _BoxesLibvirtMachinePropertiesClass {
	GObjectClass parent_class;
};

struct _BoxesLibvirtMachinePropertiesPrivate {
	BoxesLibvirtMachine* machine;
};

typedef enum  {
	BOXES_UI_STATE_NONE,
	BOXES_UI_STATE_COLLECTION,
	BOXES_UI_STATE_CREDS,
	BOXES_UI_STATE_DISPLAY,
	BOXES_UI_STATE_WIZARD,
	BOXES_UI_STATE_PROPERTIES
} BoxesUIState;

struct _BoxesUIIface {
	GTypeInterface parent_iface;
	BoxesUIState (*get_previous_ui_state) (BoxesUI* self);
	void (*set_previous_ui_state) (BoxesUI* self, BoxesUIState value);
	BoxesUIState (*get_ui_state) (BoxesUI* self);
	void (*set_ui_state) (BoxesUI* self, BoxesUIState value);
};

struct _BoxesCollectionItem {
	GObject parent_instance;
	BoxesCollectionItemPrivate * priv;
};

struct _BoxesCollectionItemClass {
	GObjectClass parent_class;
	gint (*compare) (BoxesCollectionItem* self, BoxesCollectionItem* other);
};

typedef enum  {
	BOXES_MACHINE_CONNECT_FLAGS_NONE = 0,
	BOXES_MACHINE_CONNECT_FLAGS_IGNORE_SAVED_STATE = 1 << 0
} BoxesMachineConnectFlags;

struct _BoxesMachine {
	BoxesCollectionItem parent_instance;
	BoxesMachinePrivate * priv;
	BoxesCollectionSource* source;
	BoxesBoxConfig* config;
	gboolean stay_on_display;
};

struct _BoxesMachineClass {
	BoxesCollectionItemClass parent_class;
	void (*save_real) (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*save_real_finish) (BoxesMachine* self, GAsyncResult* _res_, GError** error);
	void (*take_screenshot) (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	GdkPixbuf* (*take_screenshot_finish) (BoxesMachine* self, GAsyncResult* _res_, GError** error);
	GList* (*get_properties) (BoxesMachine* self, BoxesPropertiesPage page);
	void (*connect_display) (BoxesMachine* self, BoxesMachineConnectFlags flags, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*connect_display_finish) (BoxesMachine* self, GAsyncResult* _res_, GError** error);
	void (*restart) (BoxesMachine* self);
	void (*clone) (BoxesMachine* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*clone_finish) (BoxesMachine* self, GAsyncResult* _res_);
	void (*disconnect_display) (BoxesMachine* self);
	void (*update_status) (BoxesMachine* self);
	void (*delete) (BoxesMachine* self, gboolean by_user);
	gboolean (*get_suspend_at_exit) (BoxesMachine* self);
	gboolean (*get_can_save) (BoxesMachine* self);
	gboolean (*get_can_restart) (BoxesMachine* self);
	gboolean (*get_can_clone) (BoxesMachine* self);
	gboolean (*get_should_autosave) (BoxesMachine* self);
	gboolean (*get_is_local) (BoxesMachine* self);
};

struct _Block48Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	BoxesEditableStringProperty* name_property;
};

struct _Block49Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	GtkLabel* label;
	gboolean empty;
	GtkLabel* button_label;
	GVirConfigDomainDisk* disk_config;
};

struct _BoxesInstallerMedia {
	GObject parent_instance;
	BoxesInstallerMediaPrivate * priv;
	OsinfoOs* os;
	OsinfoResources* resources;
	OsinfoMedia* os_media;
	gchar* label;
	gchar* device_file;
	gchar* mount_point;
	gboolean from_image;
};

struct _BoxesInstallerMediaClass {
	GObjectClass parent_class;
	void (*set_direct_boot_params) (BoxesInstallerMedia* self, GVirConfigDomainOs* os);
	void (*prepare) (BoxesInstallerMedia* self, BoxesActivityProgress* progress, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	gboolean (*prepare_finish) (BoxesInstallerMedia* self, GAsyncResult* _res_);
	void (*prepare_for_installation) (BoxesInstallerMedia* self, const gchar* vm_name, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
	void (*prepare_for_installation_finish) (BoxesInstallerMedia* self, GAsyncResult* _res_);
	void (*prepare_to_continue_installation) (BoxesInstallerMedia* self, const gchar* vm_name);
	void (*clean_up) (BoxesInstallerMedia* self);
	void (*clean_up_preparation_cache) (BoxesInstallerMedia* self);
	void (*setup_domain_config) (BoxesInstallerMedia* self, GVirConfigDomain* domain);
	void (*setup_post_install_domain_config) (BoxesInstallerMedia* self, GVirConfigDomain* domain);
	void (*populate_setup_box) (BoxesInstallerMedia* self, GtkBox* setup_box);
	GList* (*get_vm_properties) (BoxesInstallerMedia* self);
	BoxesVMCreator* (*get_vm_creator) (BoxesInstallerMedia* self);
	OsinfoDeviceList* (*get_supported_devices) (BoxesInstallerMedia* self);
	guint64 (*get_installed_size) (BoxesInstallerMedia* self);
	gboolean (*get_need_user_input_for_vm_creation) (BoxesInstallerMedia* self);
	gboolean (*get_ready_to_create) (BoxesInstallerMedia* self);
	gboolean (*get_live) (BoxesInstallerMedia* self);
	gchar* (*get_architecture) (BoxesInstallerMedia* self);
};

struct _BoxesAppWindow {
	GtkApplicationWindow parent_instance;
	BoxesAppWindowPrivate * priv;
	BoxesWizardWindow* wizard_window;
	BoxesPropertiesWindow* props_window;
	BoxesSearchbar* searchbar;
	BoxesTopbar* topbar;
	BoxesSelectionbar* selectionbar;
	BoxesDisplayPage* display_page;
	BoxesEmptyBoxes* empty_boxes;
	GtkStack* below_bin;
	GSettings* settings;
};

struct _BoxesAppWindowClass {
	GtkApplicationWindowClass parent_class;
};

typedef void (*BoxesPropertiesWindowFileChosenFunc) (const gchar* path, void* user_data);
struct _BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	BoxesLibvirtMachineProperties* self;
	BoxesSizeProperty* ram_property;
	BoxesSizeProperty* storage_property;
	gboolean _tmp0_;
	BoxesSizeProperty* _tmp1_;
	BoxesSizeProperty* _tmp2_;
	OsinfoOs* os;
	BoxesLibvirtMachine* _tmp3_;
	OsinfoOs* _tmp4_;
	OsinfoOs* _tmp5_;
	gchar* architecture;
	BoxesLibvirtMachine* _tmp6_;
	GVirConfigDomain* _tmp7_;
	GVirConfigDomain* _tmp8_;
	GVirConfigDomainOs* _tmp9_;
	GVirConfigDomainOs* _tmp10_;
	const gchar* _tmp11_;
	gchar* _tmp12_;
	gchar* _tmp13_;
	OsinfoResources* resources;
	OsinfoOs* _tmp14_;
	const gchar* _tmp15_;
	OsinfoResources* _tmp16_;
	OsinfoResources* _tmp17_;
	BoxesSizeProperty* _tmp18_;
	BoxesSizeProperty* _tmp19_;
	OsinfoResources* _tmp20_;
	gint64 _tmp21_;
	gint64 _tmp22_;
	BoxesSizeProperty* _tmp23_;
	BoxesSizeProperty* _tmp24_;
	OsinfoResources* _tmp25_;
	gint64 _tmp26_;
	gint64 _tmp27_;
};

typedef enum  {
	BOXES_OS_DATABASE_ERROR_NON_BOOTABLE,
	BOXES_OS_DATABASE_ERROR_DB_LOADING_FAILED,
	BOXES_OS_DATABASE_ERROR_UNKNOWN_OS_ID,
	BOXES_OS_DATABASE_ERROR_UNKNOWN_MEDIA_ID
} BoxesOSDatabaseError;
#define BOXES_OS_DATABASE_ERROR boxes_os_database_error_quark ()
struct _BoxesLibvirtMachinePropertiesGetOsForMachineData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* machine;
	OsinfoOs* result;
	gchar* os_id;
	BoxesLibvirtMachine* _tmp0_;
	GVirConfigDomain* _tmp1_;
	GVirConfigDomain* _tmp2_;
	gchar* _tmp3_;
	const gchar* _tmp4_;
	BoxesOSDatabase* os_db;
	BoxesMediaManager* _tmp5_;
	BoxesMediaManager* _tmp6_;
	BoxesOSDatabase* _tmp7_;
	BoxesOSDatabase* _tmp8_;
	BoxesOSDatabase* _tmp9_;
	BoxesOSDatabase* _tmp10_;
	OsinfoOs* _tmp11_;
	BoxesOSDatabase* _tmp12_;
	const gchar* _tmp13_;
	OsinfoOs* _tmp14_;
	OsinfoOs* _tmp15_;
	GError* _error_;
	const gchar* _tmp16_;
	GError* _tmp17_;
	const gchar* _tmp18_;
	GError * _inner_error_;
};

struct _Block50Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	BoxesResourceGraph* cpu_graph;
	BoxesResourceGraph* io_graph;
	BoxesResourceGraph* net_graph;
	gulong stats_id;
	BoxesProperty* prop;
	gulong flushed_id;
};

struct _BoxesLibvirtMachine {
	BoxesMachine parent_instance;
	BoxesLibvirtMachinePrivate * priv;
	BoxesLibvirtMachineProperties* properties;
	gdouble* cpu_stats;
	gint cpu_stats_length1;
	gint _cpu_stats_size_;
	gdouble* io_stats;
	gint io_stats_length1;
	gint _io_stats_size_;
	gdouble* net_stats;
	gint net_stats_length1;
	gint _net_stats_size_;
};

struct _BoxesLibvirtMachineClass {
	BoxesMachineClass parent_class;
};

struct _Block51Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	GtkButton* restart_button;
	GtkButton* shutdown_button;
	gulong state_notify_id;
	BoxesProperty* prop;
	gulong flushed_id;
};

struct _Block52Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	BoxesSizeProperty* property;
};

typedef enum  {
	BOXES_MACHINE_MACHINE_STATE_UNKNOWN,
	BOXES_MACHINE_MACHINE_STATE_STOPPED,
	BOXES_MACHINE_MACHINE_STATE_FORCE_STOPPED,
	BOXES_MACHINE_MACHINE_STATE_RUNNING,
	BOXES_MACHINE_MACHINE_STATE_PAUSED,
	BOXES_MACHINE_MACHINE_STATE_SAVED,
	BOXES_MACHINE_MACHINE_STATE_SLEEPING
} BoxesMachineMachineState;

struct _Block53Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	BoxesProperty* property;
	guint64 value;
};

struct _Block54Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	BoxesProperty* property;
	guint64 value;
};

struct _BoxesLibvirtMachinePropertiesChangeStorageSizeData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	BoxesLibvirtMachineProperties* self;
	BoxesProperty* property;
	guint64 value;
	BoxesLibvirtMachine* _tmp0_;
	GVirStorageVol* _tmp1_;
	GVirStorageVol* _tmp2_;
	BoxesLibvirtMachine* _tmp3_;
	gboolean _tmp4_;
	gboolean _tmp5_;
	GVirDomainDisk* disk;
	BoxesLibvirtMachine* _tmp6_;
	GVirDomainDisk* _tmp7_;
	GVirDomainDisk* _tmp8_;
	guint64 size;
	guint64 _tmp9_;
	GVirDomainDisk* _tmp10_;
	guint64 _tmp11_;
	GVirStoragePool* pool;
	BoxesLibvirtMachine* _tmp12_;
	GVirConnection* _tmp13_;
	GVirConnection* _tmp14_;
	GVirStoragePool* _tmp15_;
	GVirStoragePool* _tmp16_;
	BoxesLibvirtMachine* _tmp17_;
	guint64 _tmp18_;
	GError* _error_;
	BoxesLibvirtMachine* _tmp19_;
	GVirStorageVol* _tmp20_;
	GVirStorageVol* _tmp21_;
	const gchar* _tmp22_;
	guint64 _tmp23_;
	GError* _tmp24_;
	const gchar* _tmp25_;
	guint64 _tmp26_;
	guint64 _tmp27_;
	GError* _vala1__error_;
	BoxesLibvirtMachine* _tmp28_;
	GVirStorageVol* _tmp29_;
	GVirStorageVol* _tmp30_;
	const gchar* _tmp31_;
	guint64 _tmp32_;
	GError* _tmp33_;
	const gchar* _tmp34_;
	GError * _inner_error_;
};

struct _BoxesLibvirtMachinePropertiesGetSnapshotsData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GTask* _async_result;
	gboolean _task_complete_;
	BoxesLibvirtMachineProperties* self;
	GCancellable* cancellable;
	GList* result;
	BoxesLibvirtMachine* _tmp0_;
	GVirDomain* _tmp1_;
	GVirDomain* _tmp2_;
	GCancellable* _tmp3_;
	BoxesLibvirtMachine* _tmp4_;
	GVirDomain* _tmp5_;
	GVirDomain* _tmp6_;
	GList* _tmp7_;
	GError * _inner_error_;
};

struct _Block55Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	GtkBox* box;
	GtkSwitch* toggle;
	gchar* name;
};


static gpointer boxes_libvirt_machine_properties_parent_class = NULL;
extern BoxesApp* boxes_app_app;
static BoxesIPropertiesProviderIface * boxes_libvirt_machine_properties_boxes_iproperties_provider_parent_iface = NULL;

GType boxes_properties_page_get_type (void) G_GNUC_CONST;
GType boxes_property_get_type (void) G_GNUC_CONST;
GType boxes_iproperties_provider_get_type (void) G_GNUC_CONST;
GType boxes_libvirt_machine_properties_get_type (void) G_GNUC_CONST;
GType boxes_collection_item_get_type (void) G_GNUC_CONST;
GType boxes_machine_get_type (void) G_GNUC_CONST;
GType boxes_libvirt_machine_get_type (void) G_GNUC_CONST;
#define BOXES_LIBVIRT_MACHINE_PROPERTIES_GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES, BoxesLibvirtMachinePropertiesPrivate))
#define BOXES_LIBVIRT_MACHINE_PROPERTIES_MEGABYTES ((guint64) (1000 * 1000))
BoxesLibvirtMachineProperties* boxes_libvirt_machine_properties_new (BoxesLibvirtMachine* machine);
BoxesLibvirtMachineProperties* boxes_libvirt_machine_properties_construct (GType object_type, BoxesLibvirtMachine* machine);
static void __lambda103_ (BoxesLibvirtMachineProperties* self);
static gboolean boxes_libvirt_machine_properties_save_machine_name_change (BoxesLibvirtMachineProperties* self);
static void ___lambda103__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
GVirDomain* boxes_libvirt_machine_get_domain (BoxesLibvirtMachine* self);
const gchar* boxes_collection_item_get_name (BoxesCollectionItem* self);
static gchar* boxes_libvirt_machine_properties_collect_logs (BoxesLibvirtMachineProperties* self);
GType boxes_ui_state_get_type (void) G_GNUC_CONST;
GType boxes_ui_get_type (void) G_GNUC_CONST;
GType boxes_machine_connect_flags_get_type (void) G_GNUC_CONST;
GVirConnection* boxes_libvirt_machine_get_connection (BoxesLibvirtMachine* self);
static void _vala_GVirDomainInfo_free (GVirDomainInfo* self);
static void _vala_GVirNodeInfo_free (GVirNodeInfo* self);
const gchar* gvir_domain_state_to_string (GVirDomainState self);
GType boxes_display_get_type (void) G_GNUC_CONST;
BoxesDisplay* boxes_machine_get_display (BoxesMachine* self);
void boxes_display_collect_logs (BoxesDisplay* self, GString* builder);
static GList* boxes_libvirt_machine_properties_real_get_properties (BoxesIPropertiesProvider* base, BoxesPropertiesPage page);
gboolean boxes_machine_get_is_on (BoxesMachine* self);
gboolean boxes_libvirt_machine_update_display (BoxesLibvirtMachine* self, GError** error);
static void _g_object_unref0_ (gpointer var);
static inline void _g_list_free__g_object_unref0_ (GList* self);
GType boxes_editable_string_property_get_type (void) G_GNUC_CONST;
static Block48Data* block48_data_ref (Block48Data* _data48_);
static void block48_data_unref (void * _userdata_);
BoxesEditableStringProperty* boxes_iproperties_provider_add_editable_string_property (BoxesIPropertiesProvider* self, GList* * list, const gchar* name, const gchar* value);
static void ___lambda104_ (BoxesLibvirtMachineProperties* self, BoxesEditableStringProperty* property, const gchar* name);
void boxes_collection_item_set_name (BoxesCollectionItem* self, const gchar* value);
static void ____lambda104__boxes_editable_string_property_changed (BoxesEditableStringProperty* _sender, const gchar* value, gpointer self);
static void ___lambda105_ (Block48Data* _data48_);
void boxes_editable_string_property_set_text (BoxesEditableStringProperty* self, const gchar* value);
static void ____lambda105__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
gchar* boxes_libvirt_machine_get_ip_address (BoxesLibvirtMachine* self);
GType boxes_string_property_get_type (void) G_GNUC_CONST;
BoxesStringProperty* boxes_iproperties_provider_add_string_property (BoxesIPropertiesProvider* self, GList* * list, const gchar* name, const gchar* value);
const gchar* boxes_display_get_protocol (BoxesDisplay* self);
gchar* boxes_display_get_uri (BoxesDisplay* self);
static void boxes_libvirt_machine_properties_add_resource_usage_graphs (BoxesLibvirtMachineProperties* self, GList* * list);
static void boxes_libvirt_machine_properties_add_system_props_buttons (BoxesLibvirtMachineProperties* self, GList* * list);
void boxes_libvirt_machine_properties_get_resources_properties (BoxesLibvirtMachineProperties* self, GList* * list);
static void boxes_libvirt_machine_properties_add_run_in_bg_property (BoxesLibvirtMachineProperties* self, GList* * list);
GVirConfigDomain* boxes_libvirt_machine_get_domain_config (BoxesLibvirtMachine* self);
static void boxes_libvirt_machine_properties_add_cdrom_property (BoxesLibvirtMachineProperties* self, GVirConfigDomainDisk* disk_config, GList* * list);
gboolean boxes_vm_configurator_is_install_config (GVirConfigDomain* domain);
GType boxes_snapshots_property_get_type (void) G_GNUC_CONST;
static BoxesSnapshotsProperty* boxes_libvirt_machine_properties_add_snapshots_property (BoxesLibvirtMachineProperties* self, GList* * list);
GType boxes_size_property_get_type (void) G_GNUC_CONST;
static BoxesSizeProperty* boxes_libvirt_machine_properties_add_ram_property (BoxesLibvirtMachineProperties* self, GList* * list);
static BoxesSizeProperty* boxes_libvirt_machine_properties_add_storage_property (BoxesLibvirtMachineProperties* self, GList* * list);
static void boxes_libvirt_machine_properties_mark_recommended_resources (BoxesLibvirtMachineProperties* self, BoxesSizeProperty* ram_property, BoxesSizeProperty* storage_property, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_libvirt_machine_properties_mark_recommended_resources_finish (BoxesLibvirtMachineProperties* self, GAsyncResult* _res_);
static Block49Data* block49_data_ref (Block49Data* _data49_);
static void block49_data_unref (void * _userdata_);
gpointer boxes_vm_creator_ref (gpointer instance);
void boxes_vm_creator_unref (gpointer instance);
GParamSpec* boxes_param_spec_vm_creator (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void boxes_value_set_vm_creator (GValue* value, gpointer v_object);
void boxes_value_take_vm_creator (GValue* value, gpointer v_object);
gpointer boxes_value_get_vm_creator (const GValue* value);
GType boxes_vm_creator_get_type (void) G_GNUC_CONST;
BoxesVMCreator* boxes_libvirt_machine_get_vm_creator (BoxesLibvirtMachine* self);
GType boxes_installer_media_get_type (void) G_GNUC_CONST;
BoxesInstallerMedia* boxes_vm_creator_get_install_media (BoxesVMCreator* self);
gboolean boxes_vm_creator_get_express_install (BoxesVMCreator* self);
BoxesProperty* boxes_iproperties_provider_add_property (BoxesIPropertiesProvider* self, GList* * list, const gchar* name, GtkWidget* widget, GtkWidget* extra_widget);
static void __lambda128_ (Block49Data* _data49_);
GType boxes_app_window_get_type (void) G_GNUC_CONST;
BoxesAppWindow* boxes_machine_get_window (BoxesMachine* self);
GType boxes_wizard_window_get_type (void) G_GNUC_CONST;
GType boxes_properties_window_get_type (void) G_GNUC_CONST;
GType boxes_searchbar_get_type (void) G_GNUC_CONST;
GType boxes_topbar_get_type (void) G_GNUC_CONST;
GType boxes_selectionbar_get_type (void) G_GNUC_CONST;
GType boxes_display_page_get_type (void) G_GNUC_CONST;
GType boxes_empty_boxes_get_type (void) G_GNUC_CONST;
void boxes_properties_window_show_file_chooser (BoxesPropertiesWindow* self, BoxesPropertiesWindowFileChosenFunc file_chosen_func, void* file_chosen_func_target, GDestroyNotify file_chosen_func_target_destroy_notify);
static void ___lambda129_ (Block49Data* _data49_, const gchar* path);
static void ____lambda129__boxes_properties_window_file_chosen_func (const gchar* path, gpointer self);
static void ___lambda128__gtk_button_clicked (GtkButton* _sender, gpointer self);
void boxes_property_set_description_alignment (BoxesProperty* self, GtkAlign value);
static void boxes_libvirt_machine_properties_update_ram_property (BoxesLibvirtMachineProperties* self, BoxesProperty* property);
void boxes_property_set_reboot_required (BoxesProperty* self, gboolean value);
static void boxes_libvirt_machine_properties_mark_recommended_resources_data_free (gpointer _data);
static gboolean boxes_libvirt_machine_properties_mark_recommended_resources_co (BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData* _data_);
static void boxes_libvirt_machine_properties_get_os_for_machine (BoxesLibvirtMachineProperties* self, BoxesLibvirtMachine* machine, GAsyncReadyCallback _callback_, gpointer _user_data_);
static OsinfoOs* boxes_libvirt_machine_properties_get_os_for_machine_finish (BoxesLibvirtMachineProperties* self, GAsyncResult* _res_);
static void boxes_libvirt_machine_properties_mark_recommended_resources_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
OsinfoResources* boxes_os_database_get_recommended_resources_for_os (OsinfoOs* os, const gchar* architecture);
void boxes_size_property_set_recommended (BoxesSizeProperty* self, guint64 value);
static void boxes_libvirt_machine_properties_get_os_for_machine_data_free (gpointer _data);
static gboolean boxes_libvirt_machine_properties_get_os_for_machine_co (BoxesLibvirtMachinePropertiesGetOsForMachineData* _data_);
gchar* boxes_vm_configurator_get_os_id (GVirConfigDomain* domain);
GType boxes_os_database_get_type (void) G_GNUC_CONST;
GType boxes_media_manager_get_type (void) G_GNUC_CONST;
BoxesMediaManager* boxes_media_manager_get_instance (void);
BoxesOSDatabase* boxes_media_manager_get_os_db (BoxesMediaManager* self);
void boxes_os_database_get_os_by_id (BoxesOSDatabase* self, const gchar* id, GAsyncReadyCallback _callback_, gpointer _user_data_);
GQuark boxes_os_database_error_quark (void);
OsinfoOs* boxes_os_database_get_os_by_id_finish (BoxesOSDatabase* self, GAsyncResult* _res_, GError** error);
static void boxes_libvirt_machine_properties_get_os_for_machine_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
GType boxes_resource_graph_get_type (void) G_GNUC_CONST;
static Block50Data* block50_data_ref (Block50Data* _data50_);
static void block50_data_unref (void * _userdata_);
BoxesResourceGraph* boxes_resource_graph_new (gdouble ymax);
BoxesResourceGraph* boxes_resource_graph_construct (GType object_type, gdouble ymax);
void boxes_resource_graph_set_npoints (BoxesResourceGraph* self, gint value);
static void __lambda106_ (Block50Data* _data50_);
void boxes_resource_graph_set_points (BoxesResourceGraph* self, gdouble* value, int value_length1);
static void ___lambda106__boxes_libvirt_machine_stats_updated (BoxesLibvirtMachine* _sender, gpointer self);
static void __lambda107_ (Block50Data* _data50_);
static void ___lambda107__boxes_property_flushed (BoxesProperty* _sender, gpointer self);
static Block51Data* block51_data_ref (Block51Data* _data51_);
static void block51_data_unref (void * _userdata_);
static void __lambda108_ (BoxesLibvirtMachineProperties* self);
void boxes_machine_restart (BoxesMachine* self);
void boxes_properties_window_revert_state (BoxesPropertiesWindow* self);
static void ___lambda108__gtk_button_clicked (GtkButton* _sender, gpointer self);
gboolean boxes_machine_get_is_running (BoxesMachine* self);
static void __lambda120_ (BoxesLibvirtMachineProperties* self);
void boxes_libvirt_machine_force_shutdown (BoxesLibvirtMachine* self);
static void ___lambda120__gtk_button_clicked (GtkButton* _sender, gpointer self);
static void __lambda121_ (Block51Data* _data51_);
static void ___lambda121__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void __lambda122_ (BoxesLibvirtMachineProperties* self);
void boxes_properties_window_show_troubleshoot_log (BoxesPropertiesWindow* self, const gchar* log);
static void ___lambda122__gtk_button_clicked (GtkButton* _sender, gpointer self);
static void __lambda123_ (Block51Data* _data51_);
static void ___lambda123__boxes_property_flushed (BoxesProperty* _sender, gpointer self);
static Block52Data* block52_data_ref (Block52Data* _data52_);
static void block52_data_unref (void * _userdata_);
BoxesSizeProperty* boxes_iproperties_provider_add_size_property (BoxesIPropertiesProvider* self, GList* * list, const gchar* name, guint64 size, guint64 min, guint64 max, guint64 allocation, guint64 step, GFormatSizeFlags format_flags);
GtkWidget* boxes_property_get_widget (BoxesProperty* self);
gboolean boxes_vm_configurator_is_live_config (GVirConfigDomain* domain);
BoxesUIState boxes_ui_get_ui_state (BoxesUI* self);
GType boxes_machine_machine_state_get_type (void) G_GNUC_CONST;
BoxesMachineMachineState boxes_machine_get_state (BoxesMachine* self);
void boxes_property_set_sensitive (BoxesProperty* self, gboolean value);
static void boxes_libvirt_machine_properties_on_ram_changed (BoxesLibvirtMachineProperties* self, BoxesProperty* property, guint64 value);
static void _boxes_libvirt_machine_properties_on_ram_changed_boxes_size_property_changed (BoxesSizeProperty* _sender, guint64 value, gpointer self);
static void ___lambda125_ (Block52Data* _data52_);
static void ____lambda125__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static Block53Data* block53_data_ref (Block53Data* _data53_);
static void block53_data_unref (void * _userdata_);
static gboolean __lambda124_ (Block53Data* _data53_);
static gboolean ___lambda124__gsource_func (gpointer self);
void boxes_property_set_deferred_change (BoxesProperty* self, GSourceFunc value, gpointer value_target, GDestroyNotify value_target_destroy_notify);
gboolean boxes_libvirt_machine_get_importing (BoxesLibvirtMachine* self);
GVirStorageVol* boxes_libvirt_machine_get_storage_volume (BoxesLibvirtMachine* self);
GVirStoragePool* boxes_get_storage_pool (GVirConnection* connection);
static void _vala_GVirStorageVolInfo_free (GVirStorageVolInfo* self);
static guint64 boxes_libvirt_machine_properties_get_minimum_disk_size (BoxesLibvirtMachineProperties* self, GError** error);
static void _vala_GVirStoragePoolInfo_free (GVirStoragePoolInfo* self);
void boxes_property_set_defer_interval (BoxesProperty* self, guint value);
static void boxes_libvirt_machine_properties_on_storage_changed (BoxesLibvirtMachineProperties* self, BoxesProperty* property, guint64 value);
static void _boxes_libvirt_machine_properties_on_storage_changed_boxes_size_property_changed (BoxesSizeProperty* _sender, guint64 value, gpointer self);
static Block54Data* block54_data_ref (Block54Data* _data54_);
static void block54_data_unref (void * _userdata_);
static gboolean __lambda126_ (Block54Data* _data54_);
static void boxes_libvirt_machine_properties_change_storage_size (BoxesLibvirtMachineProperties* self, BoxesProperty* property, guint64 value, GAsyncReadyCallback _callback_, gpointer _user_data_);
static void boxes_libvirt_machine_properties_change_storage_size_finish (BoxesLibvirtMachineProperties* self, GAsyncResult* _res_);
static gboolean ___lambda126__gsource_func (gpointer self);
static void boxes_libvirt_machine_properties_change_storage_size_data_free (gpointer _data);
static gboolean boxes_libvirt_machine_properties_change_storage_size_co (BoxesLibvirtMachinePropertiesChangeStorageSizeData* _data_);
GVirDomainDisk* boxes_libvirt_machine_get_domain_disk (BoxesLibvirtMachine* self, GError** error);
static void boxes_libvirt_machine_properties_change_storage_size_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
void boxes_libvirt_machine_update_domain_config (BoxesLibvirtMachine* self);
static void boxes_libvirt_machine_properties_resize_storage_volume (BoxesLibvirtMachineProperties* self, guint64 size, GError** error);
OsinfoResources* boxes_os_database_get_minimum_resources_for_os (OsinfoOs* os, const gchar* architecture);
OsinfoResources* boxes_os_database_get_default_resources (void);
void boxes_libvirt_machine_set_storage_volume (BoxesLibvirtMachine* self, GVirStorageVol* value);
static void boxes_libvirt_machine_properties_get_snapshots_data_free (gpointer _data);
void boxes_libvirt_machine_properties_get_snapshots (BoxesLibvirtMachineProperties* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
GList* boxes_libvirt_machine_properties_get_snapshots_finish (BoxesLibvirtMachineProperties* self, GAsyncResult* _res_, GError** error);
static gboolean boxes_libvirt_machine_properties_get_snapshots_co (BoxesLibvirtMachinePropertiesGetSnapshotsData* _data_);
static void boxes_libvirt_machine_properties_get_snapshots_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
static Block55Data* block55_data_ref (Block55Data* _data55_);
static void block55_data_unref (void * _userdata_);
GType boxes_app_get_type (void) G_GNUC_CONST;
GVirConnection* boxes_app_get_default_connection (BoxesApp* self);
static void __lambda127_ (Block55Data* _data55_, GParamSpec* tooltip);
static void ___lambda127__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
BoxesSnapshotsProperty* boxes_snapshots_property_new (BoxesLibvirtMachine* machine);
BoxesSnapshotsProperty* boxes_snapshots_property_construct (GType object_type, BoxesLibvirtMachine* machine);
static void boxes_libvirt_machine_properties_finalize (GObject * obj);


static void __lambda103_ (BoxesLibvirtMachineProperties* self) {
#line 14 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_save_machine_name_change (self);
#line 916 "libvirt-machine-properties.c"
}


static void ___lambda103__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 13 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda103_ ((BoxesLibvirtMachineProperties*) self);
#line 923 "libvirt-machine-properties.c"
}


BoxesLibvirtMachineProperties* boxes_libvirt_machine_properties_construct (GType object_type, BoxesLibvirtMachine* machine) {
	BoxesLibvirtMachineProperties * self = NULL;
	BoxesLibvirtMachine* _tmp0_;
	BoxesLibvirtMachine* _tmp1_;
#line 10 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (machine != NULL, NULL);
#line 10 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = (BoxesLibvirtMachineProperties*) g_object_new (object_type, NULL);
#line 11 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = machine;
#line 11 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self->priv->machine = _tmp0_;
#line 13 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = machine;
#line 13 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_object ((GObject*) _tmp1_, "notify::name", (GCallback) ___lambda103__g_object_notify, self, 0);
#line 10 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return self;
#line 945 "libvirt-machine-properties.c"
}


BoxesLibvirtMachineProperties* boxes_libvirt_machine_properties_new (BoxesLibvirtMachine* machine) {
#line 10 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return boxes_libvirt_machine_properties_construct (BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES, machine);
#line 952 "libvirt-machine-properties.c"
}


static gboolean boxes_libvirt_machine_properties_save_machine_name_change (BoxesLibvirtMachineProperties* self) {
	gboolean result = FALSE;
	gboolean _tmp21_ = FALSE;
	GError * _inner_error_ = NULL;
#line 18 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 962 "libvirt-machine-properties.c"
	{
		GVirConfigDomain* config = NULL;
		BoxesLibvirtMachine* _tmp0_;
		GVirDomain* _tmp1_;
		GVirDomain* _tmp2_;
		GVirConfigDomain* _tmp3_;
		GVirConfigDomain* _tmp4_;
		BoxesLibvirtMachine* _tmp5_;
		const gchar* _tmp6_;
		const gchar* _tmp7_;
		BoxesLibvirtMachine* _tmp8_;
		GVirDomain* _tmp9_;
		GVirDomain* _tmp10_;
		GVirConfigDomain* _tmp11_;
#line 20 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = self->priv->machine;
#line 20 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = boxes_libvirt_machine_get_domain (_tmp0_);
#line 20 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = _tmp1_;
#line 20 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = gvir_domain_get_config (_tmp2_, (guint) GVIR_DOMAIN_XML_INACTIVE, &_inner_error_);
#line 20 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		config = _tmp3_;
#line 20 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 989 "libvirt-machine-properties.c"
			goto __catch35_g_error;
		}
#line 22 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = config;
#line 22 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = self->priv->machine;
#line 22 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp5_);
#line 22 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = _tmp6_;
#line 22 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_config_domain_set_title (_tmp4_, _tmp7_);
#line 24 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = self->priv->machine;
#line 24 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = boxes_libvirt_machine_get_domain (_tmp8_);
#line 24 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = _tmp9_;
#line 24 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = config;
#line 24 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_domain_set_config (_tmp10_, _tmp11_, &_inner_error_);
#line 24 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 24 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (config);
#line 1016 "libvirt-machine-properties.c"
			goto __catch35_g_error;
		}
#line 26 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = TRUE;
#line 26 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 26 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 1025 "libvirt-machine-properties.c"
	}
	goto __finally35;
	__catch35_g_error:
	{
		GError* _error_ = NULL;
		BoxesLibvirtMachine* _tmp12_;
		GVirDomain* _tmp13_;
		GVirDomain* _tmp14_;
		const gchar* _tmp15_;
		BoxesLibvirtMachine* _tmp16_;
		const gchar* _tmp17_;
		const gchar* _tmp18_;
		GError* _tmp19_;
		const gchar* _tmp20_;
#line 19 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 19 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = self->priv->machine;
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = boxes_libvirt_machine_get_domain (_tmp12_);
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = _tmp13_;
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = gvir_domain_get_name (_tmp14_);
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = self->priv->machine;
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp16_);
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = _tmp17_;
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _error_;
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = _tmp19_->message;
#line 28 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:28: Failed to save change of title of " \
"box from '%s' to '%s': %s", _tmp15_, _tmp18_, _tmp20_);
#line 30 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = FALSE;
#line 30 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 30 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 1070 "libvirt-machine-properties.c"
	}
	__finally35:
#line 19 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 19 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_clear_error (&_inner_error_);
#line 19 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _tmp21_;
#line 1079 "libvirt-machine-properties.c"
}


static void _vala_GVirDomainInfo_free (GVirDomainInfo* self) {
#line 46 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_boxed_free (gvir_domain_info_get_type (), self);
#line 1086 "libvirt-machine-properties.c"
}


static void _vala_GVirNodeInfo_free (GVirNodeInfo* self) {
#line 45 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_boxed_free (gvir_node_info_get_type (), self);
#line 1093 "libvirt-machine-properties.c"
}


static gchar* boxes_libvirt_machine_properties_collect_logs (BoxesLibvirtMachineProperties* self) {
	gchar* result = NULL;
	GString* builder = NULL;
	GString* _tmp0_;
	GString* _tmp1_;
	BoxesLibvirtMachine* _tmp2_;
	BoxesCollectionSource* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	gchar* _tmp6_;
	GString* _tmp7_;
	BoxesLibvirtMachine* _tmp8_;
	GVirDomain* _tmp9_;
	GVirDomain* _tmp10_;
	const gchar* _tmp11_;
	GString* _tmp12_;
	BoxesLibvirtMachine* _tmp13_;
	GVirDomain* _tmp14_;
	GVirDomain* _tmp15_;
	const gchar* _tmp16_;
	const gchar* _tmp17_ = NULL;
	BoxesLibvirtMachine* _tmp18_;
	GVirDomain* _tmp19_;
	GVirDomain* _tmp20_;
	gboolean _tmp21_;
	GString* _tmp22_;
	BoxesLibvirtMachine* _tmp49_;
	BoxesDisplay* _tmp50_;
	BoxesDisplay* _tmp51_;
	GString* _tmp80_;
	const gchar* _tmp81_;
	gchar* _tmp82_;
	GError * _inner_error_ = NULL;
#line 34 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 35 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = g_string_new ("");
#line 35 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	builder = _tmp0_;
#line 37 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = builder;
#line 37 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = self->priv->machine;
#line 37 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = ((BoxesMachine*) _tmp2_)->source;
#line 37 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = boxes_collection_source_get_uri (_tmp3_);
#line 37 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = _tmp4_;
#line 37 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = _tmp5_;
#line 37 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_string_append_printf (_tmp1_, "Broker URL: %s\n", _tmp6_);
#line 37 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_tmp6_);
#line 38 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = builder;
#line 38 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = self->priv->machine;
#line 38 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = boxes_libvirt_machine_get_domain (_tmp8_);
#line 38 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = _tmp9_;
#line 38 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = gvir_domain_get_name (_tmp10_);
#line 38 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_string_append_printf (_tmp7_, "Domain: %s\n", _tmp11_);
#line 39 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = builder;
#line 39 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = self->priv->machine;
#line 39 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp14_ = boxes_libvirt_machine_get_domain (_tmp13_);
#line 39 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp15_ = _tmp14_;
#line 39 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp16_ = gvir_domain_get_uuid (_tmp15_);
#line 39 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_string_append_printf (_tmp12_, "UUID: %s\n", _tmp16_);
#line 40 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp18_ = self->priv->machine;
#line 40 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp19_ = boxes_libvirt_machine_get_domain (_tmp18_);
#line 40 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp20_ = _tmp19_;
#line 40 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp21_ = gvir_domain_get_persistent (_tmp20_);
#line 40 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp21_) {
#line 40 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = "yes";
#line 1188 "libvirt-machine-properties.c"
	} else {
#line 40 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = "no";
#line 1192 "libvirt-machine-properties.c"
	}
#line 40 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp22_ = builder;
#line 40 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_string_append_printf (_tmp22_, "Persistent: %s\n", _tmp17_);
#line 1198 "libvirt-machine-properties.c"
	{
		GVirDomainInfo* info = NULL;
		BoxesLibvirtMachine* _tmp23_;
		GVirDomain* _tmp24_;
		GVirDomain* _tmp25_;
		GVirDomainInfo* _tmp26_;
		GString* _tmp27_;
		GVirDomainInfo* _tmp28_;
		guint64 _tmp29_;
		GString* _tmp30_;
		GVirDomainInfo* _tmp31_;
		guint64 _tmp32_;
		GVirNodeInfo* _tmp33_ = NULL;
		BoxesLibvirtMachine* _tmp34_;
		GVirConnection* _tmp35_;
		GVirConnection* _tmp36_;
		GVirNodeInfo* _tmp37_;
		GString* _tmp38_;
		GVirNodeInfo* _tmp39_;
		GVirNodeInfo* _tmp40_;
		gulong _tmp41_;
		GString* _tmp42_;
		GVirDomainInfo* _tmp43_;
		guint16 _tmp44_;
		GString* _tmp45_;
		GVirDomainInfo* _tmp46_;
		GVirDomainState _tmp47_;
		GEnumValue* _tmp48_;
#line 42 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = self->priv->machine;
#line 42 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = boxes_libvirt_machine_get_domain (_tmp23_);
#line 42 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = _tmp24_;
#line 42 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = gvir_domain_get_info (_tmp25_, &_inner_error_);
#line 42 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		info = _tmp26_;
#line 42 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1239 "libvirt-machine-properties.c"
			goto __catch36_g_error;
		}
#line 43 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = builder;
#line 43 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = info;
#line 43 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = _tmp28_->cpuTime;
#line 43 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp27_, "Cpu time: %" G_GINT64_MODIFIER "d\n", _tmp29_);
#line 44 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp30_ = builder;
#line 44 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp31_ = info;
#line 44 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp32_ = _tmp31_->memory;
#line 44 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp30_, "Memory: %" G_GINT64_MODIFIER "d KiB\n", _tmp32_);
#line 46 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp34_ = self->priv->machine;
#line 46 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp35_ = boxes_libvirt_machine_get_connection (_tmp34_);
#line 46 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp36_ = _tmp35_;
#line 46 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp37_ = gvir_connection_get_node_info (_tmp36_, &_inner_error_);
#line 46 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp33_ = _tmp37_;
#line 46 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 46 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirDomainInfo_free0 (info);
#line 1272 "libvirt-machine-properties.c"
			goto __catch36_g_error;
		}
#line 45 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp38_ = builder;
#line 45 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp39_ = _tmp33_;
#line 45 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp33_ = NULL;
#line 45 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp40_ = _tmp39_;
#line 45 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp41_ = _tmp40_->memory;
#line 45 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp38_, "Max memory: %" G_GINT64_MODIFIER "d KiB\n", _tmp41_);
#line 45 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirNodeInfo_free0 (_tmp40_);
#line 47 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp42_ = builder;
#line 47 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp43_ = info;
#line 47 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp44_ = _tmp43_->nrVirtCpu;
#line 47 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp42_, "CPUs: %d\n", (gint) _tmp44_);
#line 48 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp45_ = builder;
#line 48 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp46_ = info;
#line 48 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp47_ = _tmp46_->state;
#line 48 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp48_ = g_enum_get_value (g_type_class_ref (gvir_domain_state_get_type ()), _tmp47_);
#line 48 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp45_, "State: %s\n", (_tmp48_ != NULL) ? _tmp48_->value_name : NULL);
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirNodeInfo_free0 (_tmp33_);
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirDomainInfo_free0 (info);
#line 1311 "libvirt-machine-properties.c"
	}
	goto __finally36;
	__catch36_g_error:
	{
		GError* e = NULL;
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		e = _inner_error_;
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (e);
#line 1323 "libvirt-machine-properties.c"
	}
	__finally36:
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_string_free0 (builder);
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 41 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return NULL;
#line 1336 "libvirt-machine-properties.c"
	}
#line 52 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp49_ = self->priv->machine;
#line 52 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp50_ = boxes_machine_get_display ((BoxesMachine*) _tmp49_);
#line 52 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp51_ = _tmp50_;
#line 52 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp51_ != NULL) {
#line 1346 "libvirt-machine-properties.c"
		BoxesLibvirtMachine* _tmp52_;
		BoxesDisplay* _tmp53_;
		BoxesDisplay* _tmp54_;
		GString* _tmp55_;
#line 53 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp52_ = self->priv->machine;
#line 53 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp53_ = boxes_machine_get_display ((BoxesMachine*) _tmp52_);
#line 53 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp54_ = _tmp53_;
#line 53 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp55_ = builder;
#line 53 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_display_collect_logs (_tmp54_, _tmp55_);
#line 1361 "libvirt-machine-properties.c"
	}
	{
		GVirConfigDomain* conf = NULL;
		BoxesLibvirtMachine* _tmp56_;
		GVirDomain* _tmp57_;
		GVirDomain* _tmp58_;
		GVirConfigDomain* _tmp59_;
		GString* _tmp60_;
		GString* _tmp61_;
		GString* _tmp62_;
		gchar* _tmp63_;
		gchar* _tmp64_;
		GString* _tmp65_;
#line 57 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp56_ = self->priv->machine;
#line 57 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp57_ = boxes_libvirt_machine_get_domain (_tmp56_);
#line 57 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp58_ = _tmp57_;
#line 57 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp59_ = gvir_domain_get_config (_tmp58_, (guint) GVIR_DOMAIN_XML_NONE, &_inner_error_);
#line 57 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		conf = _tmp59_;
#line 57 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1387 "libvirt-machine-properties.c"
			goto __catch37_g_error;
		}
#line 58 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp60_ = builder;
#line 58 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp60_, "\nDomain config:\n");
#line 59 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp61_ = builder;
#line 59 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp61_, "------------------------------------------------------------\n");
#line 61 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp62_ = builder;
#line 61 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp63_ = gvir_config_object_to_xml ((GVirConfigObject*) conf);
#line 61 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp64_ = _tmp63_;
#line 61 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append (_tmp62_, _tmp64_);
#line 61 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp64_);
#line 62 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp65_ = builder;
#line 62 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp65_, "%s", "\n" "------------------------------------------------------------\n");
#line 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (conf);
#line 1414 "libvirt-machine-properties.c"
	}
	goto __finally37;
	__catch37_g_error:
	{
		GError* _error_ = NULL;
#line 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 1426 "libvirt-machine-properties.c"
	}
	__finally37:
#line 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_string_free0 (builder);
#line 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 56 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return NULL;
#line 1439 "libvirt-machine-properties.c"
	}
	{
		gchar* logfile = NULL;
		const gchar* _tmp66_;
		BoxesLibvirtMachine* _tmp67_;
		GVirDomain* _tmp68_;
		GVirDomain* _tmp69_;
		const gchar* _tmp70_;
		gchar* _tmp71_;
		gchar* _tmp72_;
		gchar* _tmp73_;
		gchar* _tmp74_;
		gchar* data = NULL;
		gchar* _tmp75_ = NULL;
		GString* _tmp76_;
		GString* _tmp77_;
		GString* _tmp78_;
		GString* _tmp79_;
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp66_ = g_get_user_cache_dir ();
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp67_ = self->priv->machine;
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp68_ = boxes_libvirt_machine_get_domain (_tmp67_);
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp69_ = _tmp68_;
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp70_ = gvir_domain_get_name (_tmp69_);
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp71_ = g_strconcat (_tmp70_, ".log", NULL);
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp72_ = _tmp71_;
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp73_ = g_build_filename (_tmp66_, "libvirt/qemu/log", _tmp72_, NULL);
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp74_ = _tmp73_;
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp72_);
#line 68 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		logfile = _tmp74_;
#line 72 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_file_get_contents (logfile, &_tmp75_, NULL, &_inner_error_);
#line 72 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (data);
#line 72 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		data = _tmp75_;
#line 72 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 72 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (data);
#line 72 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (logfile);
#line 1492 "libvirt-machine-properties.c"
			goto __catch38_g_error;
		}
#line 73 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp76_ = builder;
#line 73 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp76_, "\nQEMU log:\n");
#line 74 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp77_ = builder;
#line 74 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp77_, "------------------------------------------------------------\n");
#line 76 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp78_ = builder;
#line 76 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append (_tmp78_, data);
#line 77 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp79_ = builder;
#line 77 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp79_, "------------------------------------------------------------\n");
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (data);
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (logfile);
#line 1515 "libvirt-machine-properties.c"
	}
	goto __finally38;
	__catch38_g_error:
	{
		GError* e = NULL;
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		e = _inner_error_;
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (e);
#line 1527 "libvirt-machine-properties.c"
	}
	__finally38:
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_string_free0 (builder);
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 67 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return NULL;
#line 1540 "libvirt-machine-properties.c"
	}
#line 80 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp80_ = builder;
#line 80 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp81_ = _tmp80_->str;
#line 80 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp82_ = g_strdup (_tmp81_);
#line 80 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	result = _tmp82_;
#line 80 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_string_free0 (builder);
#line 80 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 1554 "libvirt-machine-properties.c"
}


static void _g_object_unref0_ (gpointer var) {
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
#line 1561 "libvirt-machine-properties.c"
}


static inline void _g_list_free__g_object_unref0_ (GList* self) {
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_list_free_full (self, (GDestroyNotify) _g_object_unref0_);
#line 1568 "libvirt-machine-properties.c"
}


static Block48Data* block48_data_ref (Block48Data* _data48_) {
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data48_->_ref_count_);
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data48_;
#line 1577 "libvirt-machine-properties.c"
}


static void block48_data_unref (void * _userdata_) {
	Block48Data* _data48_;
	_data48_ = (Block48Data*) _userdata_;
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data48_->_ref_count_)) {
#line 1586 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data48_->self;
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data48_->name_property);
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block48Data, _data48_);
#line 1596 "libvirt-machine-properties.c"
	}
}


static void ___lambda104_ (BoxesLibvirtMachineProperties* self, BoxesEditableStringProperty* property, const gchar* name) {
	BoxesLibvirtMachine* _tmp0_;
	const gchar* _tmp1_;
#line 97 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (property != NULL);
#line 97 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (name != NULL);
#line 98 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 98 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = name;
#line 98 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_collection_item_set_name ((BoxesCollectionItem*) _tmp0_, _tmp1_);
#line 1614 "libvirt-machine-properties.c"
}


static void ____lambda104__boxes_editable_string_property_changed (BoxesEditableStringProperty* _sender, const gchar* value, gpointer self) {
#line 97 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda104_ ((BoxesLibvirtMachineProperties*) self, _sender, value);
#line 1621 "libvirt-machine-properties.c"
}


static gpointer _g_object_ref0 (gpointer self) {
#line 101 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return self ? g_object_ref (self) : NULL;
#line 1628 "libvirt-machine-properties.c"
}


static void ___lambda105_ (Block48Data* _data48_) {
	BoxesLibvirtMachineProperties* self;
	BoxesEditableStringProperty* _tmp0_;
	BoxesLibvirtMachine* _tmp1_;
	const gchar* _tmp2_;
	const gchar* _tmp3_;
#line 102 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data48_->self;
#line 103 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _data48_->name_property;
#line 103 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 103 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp1_);
#line 103 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 103 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_editable_string_property_set_text (_tmp0_, _tmp3_);
#line 1650 "libvirt-machine-properties.c"
}


static void ____lambda105__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 102 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda105_ (self);
#line 1657 "libvirt-machine-properties.c"
}


static GList* boxes_libvirt_machine_properties_real_get_properties (BoxesIPropertiesProvider* base, BoxesPropertiesPage page) {
	BoxesLibvirtMachineProperties * self;
	GList* result = NULL;
	GList* list = NULL;
	gboolean _tmp0_ = FALSE;
	BoxesLibvirtMachine* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	BoxesPropertiesPage _tmp10_;
	GError * _inner_error_ = NULL;
#line 83 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = (BoxesLibvirtMachineProperties*) base;
#line 84 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	list = NULL;
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_machine_get_is_on ((BoxesMachine*) _tmp1_);
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp3_) {
#line 1683 "libvirt-machine-properties.c"
		BoxesLibvirtMachine* _tmp4_;
		BoxesDisplay* _tmp5_;
		BoxesDisplay* _tmp6_;
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = self->priv->machine;
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = boxes_machine_get_display ((BoxesMachine*) _tmp4_);
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _tmp5_;
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp6_ == NULL;
#line 1695 "libvirt-machine-properties.c"
	} else {
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = FALSE;
#line 1699 "libvirt-machine-properties.c"
	}
#line 87 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp0_) {
#line 1703 "libvirt-machine-properties.c"
		{
			BoxesLibvirtMachine* _tmp7_;
#line 89 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp7_ = self->priv->machine;
#line 89 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_update_display (_tmp7_, &_inner_error_);
#line 89 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1712 "libvirt-machine-properties.c"
				goto __catch39_g_error;
			}
		}
		goto __finally39;
		__catch39_g_error:
		{
			GError* e = NULL;
			GError* _tmp8_;
			const gchar* _tmp9_;
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			e = _inner_error_;
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_inner_error_ = NULL;
#line 91 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp8_ = e;
#line 91 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp9_ = _tmp8_->message;
#line 91 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_warning ("libvirt-machine-properties.vala:91: %s", _tmp9_);
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_error_free0 (e);
#line 1734 "libvirt-machine-properties.c"
		}
		__finally39:
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__g_list_free__g_object_unref0_0 (list);
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_clear_error (&_inner_error_);
#line 88 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return NULL;
#line 1747 "libvirt-machine-properties.c"
		}
	}
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = page;
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_tmp10_) {
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case BOXES_PROPERTIES_PAGE_GENERAL:
#line 1756 "libvirt-machine-properties.c"
		{
			Block48Data* _data48_;
			BoxesEditableStringProperty* property = NULL;
			BoxesLibvirtMachine* _tmp11_;
			const gchar* _tmp12_;
			const gchar* _tmp13_;
			BoxesEditableStringProperty* _tmp14_;
			BoxesEditableStringProperty* _tmp15_;
			BoxesEditableStringProperty* _tmp16_;
			BoxesEditableStringProperty* _tmp17_;
			BoxesLibvirtMachine* _tmp18_;
			gchar* ip = NULL;
			BoxesLibvirtMachine* _tmp19_;
			gchar* _tmp20_;
			const gchar* _tmp21_;
			BoxesLibvirtMachine* _tmp25_;
			BoxesCollectionSource* _tmp26_;
			gchar* _tmp27_;
			gchar* _tmp28_;
			gchar* _tmp29_;
			BoxesStringProperty* _tmp30_;
			BoxesStringProperty* _tmp31_;
			BoxesLibvirtMachine* _tmp32_;
			BoxesDisplay* _tmp33_;
			BoxesDisplay* _tmp34_;
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data48_ = g_slice_new0 (Block48Data);
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data48_->_ref_count_ = 1;
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data48_->self = g_object_ref (self);
#line 96 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp11_ = self->priv->machine;
#line 96 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp12_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp11_);
#line 96 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp13_ = _tmp12_;
#line 96 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp14_ = boxes_iproperties_provider_add_editable_string_property ((BoxesIPropertiesProvider*) self, &list, _ ("_Name"), _tmp13_);
#line 96 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			property = _tmp14_;
#line 97 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp15_ = property;
#line 97 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_connect_object (_tmp15_, "changed", (GCallback) ____lambda104__boxes_editable_string_property_changed, self, 0);
#line 101 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp16_ = property;
#line 101 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp17_ = _g_object_ref0 (_tmp16_);
#line 101 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data48_->name_property = _tmp17_;
#line 102 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp18_ = self->priv->machine;
#line 102 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_connect_data ((GObject*) _tmp18_, "notify::name", (GCallback) ____lambda105__g_object_notify, block48_data_ref (_data48_), (GClosureNotify) block48_data_unref, 0);
#line 106 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp19_ = self->priv->machine;
#line 106 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp20_ = boxes_libvirt_machine_get_ip_address (_tmp19_);
#line 106 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			ip = _tmp20_;
#line 107 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp21_ = ip;
#line 107 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp21_ != NULL) {
#line 1822 "libvirt-machine-properties.c"
				const gchar* _tmp22_;
				BoxesStringProperty* _tmp23_;
				BoxesStringProperty* _tmp24_;
#line 108 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp22_ = ip;
#line 108 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp23_ = boxes_iproperties_provider_add_string_property ((BoxesIPropertiesProvider*) self, &list, _ ("IP Address"), _tmp22_);
#line 108 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp24_ = _tmp23_;
#line 108 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_tmp24_);
#line 1834 "libvirt-machine-properties.c"
			}
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp25_ = self->priv->machine;
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp26_ = ((BoxesMachine*) _tmp25_)->source;
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp27_ = boxes_collection_source_get_name (_tmp26_);
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp28_ = _tmp27_;
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp29_ = _tmp28_;
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp30_ = boxes_iproperties_provider_add_string_property ((BoxesIPropertiesProvider*) self, &list, _ ("Broker"), _tmp29_);
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp31_ = _tmp30_;
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_tmp31_);
#line 110 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_tmp29_);
#line 111 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp32_ = self->priv->machine;
#line 111 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp33_ = boxes_machine_get_display ((BoxesMachine*) _tmp32_);
#line 111 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp34_ = _tmp33_;
#line 111 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp34_ != NULL) {
#line 1862 "libvirt-machine-properties.c"
				BoxesLibvirtMachine* _tmp35_;
				BoxesDisplay* _tmp36_;
				BoxesDisplay* _tmp37_;
				const gchar* _tmp38_;
				const gchar* _tmp39_;
				BoxesStringProperty* _tmp40_;
				BoxesStringProperty* _tmp41_;
				BoxesLibvirtMachine* _tmp42_;
				BoxesDisplay* _tmp43_;
				BoxesDisplay* _tmp44_;
				gchar* _tmp45_;
				gchar* _tmp46_;
				gchar* _tmp47_;
				gboolean _tmp48_;
#line 113 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp35_ = self->priv->machine;
#line 113 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp36_ = boxes_machine_get_display ((BoxesMachine*) _tmp35_);
#line 113 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp37_ = _tmp36_;
#line 113 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp38_ = boxes_display_get_protocol (_tmp37_);
#line 113 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp39_ = _tmp38_;
#line 113 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp40_ = boxes_iproperties_provider_add_string_property ((BoxesIPropertiesProvider*) self, &list, _ ("Display Protocol"), _tmp39_);
#line 113 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp41_ = _tmp40_;
#line 113 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_tmp41_);
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp42_ = self->priv->machine;
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp43_ = boxes_machine_get_display ((BoxesMachine*) _tmp42_);
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp44_ = _tmp43_;
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp45_ = boxes_display_get_uri (_tmp44_);
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp46_ = _tmp45_;
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp47_ = _tmp46_;
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp48_ = _tmp47_ != NULL;
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_free0 (_tmp47_);
#line 114 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				if (_tmp48_) {
#line 1911 "libvirt-machine-properties.c"
					BoxesLibvirtMachine* _tmp49_;
					BoxesDisplay* _tmp50_;
					BoxesDisplay* _tmp51_;
					gchar* _tmp52_;
					gchar* _tmp53_;
					gchar* _tmp54_;
					BoxesStringProperty* _tmp55_;
					BoxesStringProperty* _tmp56_;
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp49_ = self->priv->machine;
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp50_ = boxes_machine_get_display ((BoxesMachine*) _tmp49_);
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp51_ = _tmp50_;
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp52_ = boxes_display_get_uri (_tmp51_);
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp53_ = _tmp52_;
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp54_ = _tmp53_;
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp55_ = boxes_iproperties_provider_add_string_property ((BoxesIPropertiesProvider*) self, &list, _ ("Display URL"), _tmp54_);
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp56_ = _tmp55_;
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_g_object_unref0 (_tmp56_);
#line 116 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_g_free0 (_tmp54_);
#line 1940 "libvirt-machine-properties.c"
				}
			}
#line 119 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (ip);
#line 119 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (property);
#line 119 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			block48_data_unref (_data48_);
#line 119 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data48_ = NULL;
#line 119 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			break;
#line 1953 "libvirt-machine-properties.c"
		}
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case BOXES_PROPERTIES_PAGE_SYSTEM:
#line 1957 "libvirt-machine-properties.c"
		{
#line 122 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_properties_add_resource_usage_graphs (self, &list);
#line 124 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_properties_add_system_props_buttons (self, &list);
#line 126 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_properties_get_resources_properties (self, &list);
#line 128 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_properties_add_run_in_bg_property (self, &list);
#line 130 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			break;
#line 1969 "libvirt-machine-properties.c"
		}
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case BOXES_PROPERTIES_PAGE_DEVICES:
#line 1973 "libvirt-machine-properties.c"
		{
			BoxesLibvirtMachine* _tmp57_;
			GVirConfigDomain* _tmp58_;
			GVirConfigDomain* _tmp59_;
			GList* _tmp60_;
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp57_ = self->priv->machine;
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp58_ = boxes_libvirt_machine_get_domain_config (_tmp57_);
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp59_ = _tmp58_;
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp60_ = gvir_config_domain_get_devices (_tmp59_);
#line 1987 "libvirt-machine-properties.c"
			{
				GList* device_config_collection = NULL;
				GList* device_config_it = NULL;
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				device_config_collection = _tmp60_;
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				for (device_config_it = device_config_collection; device_config_it != NULL; device_config_it = device_config_it->next) {
#line 1995 "libvirt-machine-properties.c"
					GVirConfigDomainDevice* _tmp61_;
					GVirConfigDomainDevice* device_config = NULL;
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp61_ = _g_object_ref0 ((GVirConfigDomainDevice*) device_config_it->data);
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					device_config = _tmp61_;
#line 2002 "libvirt-machine-properties.c"
					{
						GVirConfigDomainDevice* _tmp62_;
						GVirConfigDomainDisk* disk_config = NULL;
						GVirConfigDomainDevice* _tmp63_;
						GVirConfigDomainDisk* _tmp64_;
						GVirConfigDomainDiskGuestDeviceType disk_type = 0;
						GVirConfigDomainDisk* _tmp65_;
						GVirConfigDomainDiskGuestDeviceType _tmp66_;
						GVirConfigDomainDiskGuestDeviceType _tmp67_;
#line 134 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp62_ = device_config;
#line 134 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						if (!G_TYPE_CHECK_INSTANCE_TYPE (_tmp62_, gvir_config_domain_disk_get_type ())) {
#line 135 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
							_g_object_unref0 (device_config);
#line 135 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
							continue;
#line 2020 "libvirt-machine-properties.c"
						}
#line 136 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp63_ = device_config;
#line 136 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp64_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp63_, gvir_config_domain_disk_get_type ()) ? ((GVirConfigDomainDisk*) _tmp63_) : NULL);
#line 136 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						disk_config = _tmp64_;
#line 137 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp65_ = disk_config;
#line 137 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp66_ = gvir_config_domain_disk_get_guest_device_type (_tmp65_);
#line 137 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						disk_type = _tmp66_;
#line 138 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp67_ = disk_type;
#line 138 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						if (_tmp67_ == GVIR_CONFIG_DOMAIN_DISK_GUEST_DEVICE_CDROM) {
#line 2038 "libvirt-machine-properties.c"
							GVirConfigDomainDisk* _tmp68_;
#line 139 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
							_tmp68_ = disk_config;
#line 139 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
							boxes_libvirt_machine_properties_add_cdrom_property (self, _tmp68_, &list);
#line 2044 "libvirt-machine-properties.c"
						}
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						_g_object_unref0 (disk_config);
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						_g_object_unref0 (device_config);
#line 2050 "libvirt-machine-properties.c"
					}
				}
#line 133 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				__g_list_free__g_object_unref0_0 (device_config_collection);
#line 2055 "libvirt-machine-properties.c"
			}
#line 142 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			break;
#line 2059 "libvirt-machine-properties.c"
		}
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case BOXES_PROPERTIES_PAGE_SNAPSHOTS:
#line 2063 "libvirt-machine-properties.c"
		{
			{
				GVirConfigDomain* config = NULL;
				BoxesLibvirtMachine* _tmp69_;
				GVirDomain* _tmp70_;
				GVirDomain* _tmp71_;
				GVirConfigDomain* _tmp72_;
				gboolean _tmp73_ = FALSE;
				GVirConfigDomain* _tmp74_;
				GVirConfigDomainCpu* _tmp75_;
				GVirConfigDomainCpu* _tmp76_;
				GVirConfigDomainCpuMode _tmp77_;
				gboolean _tmp78_;
#line 146 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp69_ = self->priv->machine;
#line 146 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp70_ = boxes_libvirt_machine_get_domain (_tmp69_);
#line 146 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp71_ = _tmp70_;
#line 146 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp72_ = gvir_domain_get_config (_tmp71_, (guint) 0, &_inner_error_);
#line 146 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				config = _tmp72_;
#line 146 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2089 "libvirt-machine-properties.c"
					goto __catch40_g_error;
				}
#line 148 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp74_ = config;
#line 148 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp75_ = gvir_config_domain_get_cpu (_tmp74_);
#line 148 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp76_ = _tmp75_;
#line 148 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp77_ = gvir_config_domain_cpu_get_mode (_tmp76_);
#line 148 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp78_ = _tmp77_ != GVIR_CONFIG_DOMAIN_CPU_MODE_HOST_PASSTHROUGH;
#line 148 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_tmp76_);
#line 148 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				if (_tmp78_) {
#line 2106 "libvirt-machine-properties.c"
					GVirConfigDomain* _tmp79_;
					gboolean _tmp80_;
#line 149 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp79_ = config;
#line 149 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp80_ = boxes_vm_configurator_is_install_config (_tmp79_);
#line 149 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp73_ = !_tmp80_;
#line 2115 "libvirt-machine-properties.c"
				} else {
#line 148 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp73_ = FALSE;
#line 2119 "libvirt-machine-properties.c"
				}
#line 148 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				if (_tmp73_) {
#line 2123 "libvirt-machine-properties.c"
					BoxesSnapshotsProperty* _tmp81_;
					BoxesSnapshotsProperty* _tmp82_;
#line 150 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp81_ = boxes_libvirt_machine_properties_add_snapshots_property (self, &list);
#line 150 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp82_ = _tmp81_;
#line 150 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					_g_object_unref0 (_tmp82_);
#line 2132 "libvirt-machine-properties.c"
				}
#line 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (config);
#line 2136 "libvirt-machine-properties.c"
			}
			goto __finally40;
			__catch40_g_error:
			{
				GError* e = NULL;
				GError* _tmp83_;
				const gchar* _tmp84_;
#line 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				e = _inner_error_;
#line 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_inner_error_ = NULL;
#line 152 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp83_ = e;
#line 152 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp84_ = _tmp83_->message;
#line 152 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_warning ("libvirt-machine-properties.vala:152: %s", _tmp84_);
#line 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_error_free0 (e);
#line 2156 "libvirt-machine-properties.c"
			}
			__finally40:
#line 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				__g_list_free__g_object_unref0_0 (list);
#line 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_clear_error (&_inner_error_);
#line 145 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				return NULL;
#line 2169 "libvirt-machine-properties.c"
			}
#line 155 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			break;
#line 2173 "libvirt-machine-properties.c"
		}
		default:
#line 94 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		break;
#line 2178 "libvirt-machine-properties.c"
	}
#line 158 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	result = list;
#line 158 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 2184 "libvirt-machine-properties.c"
}


void boxes_libvirt_machine_properties_get_resources_properties (BoxesLibvirtMachineProperties* self, GList* * list) {
	BoxesSizeProperty* ram_property = NULL;
	BoxesSizeProperty* _tmp0_;
	BoxesSizeProperty* storage_property = NULL;
	BoxesSizeProperty* _tmp1_;
#line 161 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 162 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = boxes_libvirt_machine_properties_add_ram_property (self, list);
#line 162 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	ram_property = _tmp0_;
#line 163 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_properties_add_storage_property (self, list);
#line 163 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	storage_property = _tmp1_;
#line 164 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_mark_recommended_resources (self, ram_property, storage_property, NULL, NULL);
#line 161 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (storage_property);
#line 161 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (ram_property);
#line 2209 "libvirt-machine-properties.c"
}


static Block49Data* block49_data_ref (Block49Data* _data49_) {
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data49_->_ref_count_);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data49_;
#line 2218 "libvirt-machine-properties.c"
}


static void block49_data_unref (void * _userdata_) {
	Block49Data* _data49_;
	_data49_ = (Block49Data*) _userdata_;
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data49_->_ref_count_)) {
#line 2227 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data49_->self;
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data49_->button_label);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data49_->label);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data49_->disk_config);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block49Data, _data49_);
#line 2241 "libvirt-machine-properties.c"
	}
}


static void ___lambda129_ (Block49Data* _data49_, const gchar* path) {
	BoxesLibvirtMachineProperties* self;
	GVirConfigDomainDisk* _tmp0_;
	const gchar* _tmp1_;
	GError * _inner_error_ = NULL;
#line 211 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data49_->self;
#line 211 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (path != NULL);
#line 212 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _data49_->disk_config;
#line 212 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = path;
#line 212 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gvir_config_domain_disk_set_source (_tmp0_, _tmp1_);
#line 2261 "libvirt-machine-properties.c"
	{
		BoxesLibvirtMachine* _tmp2_;
		GVirDomain* _tmp3_;
		GVirDomain* _tmp4_;
		GVirConfigDomainDisk* _tmp5_;
		GtkLabel* _tmp6_;
		GtkLabel* _tmp7_;
		const gchar* _tmp8_;
		gchar* _tmp9_;
		gchar* _tmp10_;
#line 214 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = self->priv->machine;
#line 214 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = boxes_libvirt_machine_get_domain (_tmp2_);
#line 214 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = _tmp3_;
#line 214 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = _data49_->disk_config;
#line 214 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_domain_update_device (_tmp4_, (GVirConfigDomainDevice*) _tmp5_, (guint) GVIR_DOMAIN_UPDATE_DEVICE_CURRENT, &_inner_error_);
#line 214 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2284 "libvirt-machine-properties.c"
			goto __catch41_g_error;
		}
#line 215 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _data49_->button_label;
#line 215 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text_with_mnemonic (_tmp6_, _ ("_Remove"));
#line 216 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = _data49_->label;
#line 216 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = path;
#line 216 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = boxes_get_utf8_basename (_tmp8_);
#line 216 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = _tmp9_;
#line 216 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text (_tmp7_, _tmp10_);
#line 216 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp10_);
#line 217 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data49_->empty = FALSE;
#line 2305 "libvirt-machine-properties.c"
	}
	goto __finally41;
	__catch41_g_error:
	{
		GError* e = NULL;
		gchar* path_basename = NULL;
		const gchar* _tmp11_;
		gchar* _tmp12_;
		gchar* msg = NULL;
		gchar* _tmp13_;
		BoxesLibvirtMachine* _tmp14_;
		const gchar* _tmp15_;
		const gchar* _tmp16_;
		BoxesLibvirtMachine* _tmp17_;
		const gchar* _tmp18_;
		const gchar* _tmp19_;
		gchar* _tmp20_;
		gchar* _tmp21_;
		const gchar* _tmp22_;
		BoxesLibvirtMachine* _tmp23_;
		const gchar* _tmp24_;
		const gchar* _tmp25_;
		GError* _tmp26_;
		const gchar* _tmp27_;
#line 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		e = _inner_error_;
#line 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 219 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = path;
#line 219 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = boxes_get_utf8_basename (_tmp11_);
#line 219 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		path_basename = _tmp12_;
#line 222 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = g_strdup (_ ("Insertion of “%s” as a CD/DVD into “%s” failed"));
#line 222 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		msg = _tmp13_;
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = self->priv->machine;
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = msg;
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = path_basename;
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = self->priv->machine;
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp17_);
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _tmp18_;
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = g_strdup_printf (_tmp15_, _tmp16_, _tmp19_);
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = _tmp20_;
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_signal_emit_by_name ((BoxesMachine*) _tmp14_, "got-error", _tmp21_);
#line 223 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp21_);
#line 224 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = path_basename;
#line 224 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = self->priv->machine;
#line 224 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp23_);
#line 224 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = _tmp24_;
#line 224 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = e;
#line 224 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = _tmp26_->message;
#line 224 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_debug ("libvirt-machine-properties.vala:224: Error inserting '%s' as CD into '" \
"%s': %s", _tmp22_, _tmp25_, _tmp27_);
#line 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (msg);
#line 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (path_basename);
#line 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (e);
#line 2384 "libvirt-machine-properties.c"
	}
	__finally41:
#line 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 213 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 2395 "libvirt-machine-properties.c"
	}
}


static void ____lambda129__boxes_properties_window_file_chosen_func (const gchar* path, gpointer self) {
#line 211 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda129_ (self, path);
#line 2403 "libvirt-machine-properties.c"
}


static void __lambda128_ (Block49Data* _data49_) {
	BoxesLibvirtMachineProperties* self;
	gboolean _tmp0_;
	GError * _inner_error_ = NULL;
#line 209 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data49_->self;
#line 210 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _data49_->empty;
#line 210 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp0_) {
#line 2417 "libvirt-machine-properties.c"
		BoxesLibvirtMachine* _tmp1_;
		BoxesAppWindow* _tmp2_;
		BoxesAppWindow* _tmp3_;
		BoxesPropertiesWindow* _tmp4_;
#line 211 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = self->priv->machine;
#line 211 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = boxes_machine_get_window ((BoxesMachine*) _tmp1_);
#line 211 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = _tmp2_;
#line 211 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = _tmp3_->props_window;
#line 211 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_properties_window_show_file_chooser (_tmp4_, ____lambda129__boxes_properties_window_file_chosen_func, block49_data_ref (_data49_), block49_data_unref);
#line 2432 "libvirt-machine-properties.c"
	} else {
		GVirConfigDomainDisk* _tmp5_;
#line 228 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = _data49_->disk_config;
#line 228 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_config_domain_disk_set_source (_tmp5_, "");
#line 2439 "libvirt-machine-properties.c"
		{
			BoxesLibvirtMachine* _tmp6_;
			GVirDomain* _tmp7_;
			GVirDomain* _tmp8_;
			GVirConfigDomainDisk* _tmp9_;
			GtkLabel* _tmp10_;
			GtkLabel* _tmp11_;
			gchar* _tmp12_;
			gchar* _tmp13_;
#line 230 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp6_ = self->priv->machine;
#line 230 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp7_ = boxes_libvirt_machine_get_domain (_tmp6_);
#line 230 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp8_ = _tmp7_;
#line 230 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp9_ = _data49_->disk_config;
#line 230 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gvir_domain_update_device (_tmp8_, (GVirConfigDomainDevice*) _tmp9_, (guint) GVIR_DOMAIN_UPDATE_DEVICE_CURRENT, &_inner_error_);
#line 230 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2461 "libvirt-machine-properties.c"
				goto __catch42_g_error;
			}
#line 231 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data49_->empty = TRUE;
#line 232 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp10_ = _data49_->button_label;
#line 232 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_label_set_text_with_mnemonic (_tmp10_, _ ("_Select"));
#line 233 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp11_ = _data49_->label;
#line 233 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp12_ = g_markup_printf_escaped ("<i>%s</i>", _ ("empty"));
#line 233 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp13_ = _tmp12_;
#line 233 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_label_set_markup (_tmp11_, _tmp13_);
#line 233 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_tmp13_);
#line 2480 "libvirt-machine-properties.c"
		}
		goto __finally42;
		__catch42_g_error:
		{
			GError* e = NULL;
			BoxesLibvirtMachine* _tmp14_;
			BoxesLibvirtMachine* _tmp15_;
			const gchar* _tmp16_;
			const gchar* _tmp17_;
			gchar* _tmp18_;
			gchar* _tmp19_;
			BoxesLibvirtMachine* _tmp20_;
			const gchar* _tmp21_;
			const gchar* _tmp22_;
			GError* _tmp23_;
			const gchar* _tmp24_;
#line 229 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			e = _inner_error_;
#line 229 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_inner_error_ = NULL;
#line 236 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp14_ = self->priv->machine;
#line 236 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp15_ = self->priv->machine;
#line 236 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp16_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp15_);
#line 236 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp17_ = _tmp16_;
#line 236 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp18_ = g_strdup_printf (_ ("Removal of CD/DVD from “%s” failed"), _tmp17_);
#line 236 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp19_ = _tmp18_;
#line 236 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_emit_by_name ((BoxesMachine*) _tmp14_, "got-error", _tmp19_);
#line 236 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_tmp19_);
#line 237 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp20_ = self->priv->machine;
#line 237 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp21_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp20_);
#line 237 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp22_ = _tmp21_;
#line 237 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp23_ = e;
#line 237 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp24_ = _tmp23_->message;
#line 237 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_debug ("libvirt-machine-properties.vala:237: Error ejecting CD from '%s': %s", _tmp22_, _tmp24_);
#line 229 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_error_free0 (e);
#line 2531 "libvirt-machine-properties.c"
		}
		__finally42:
#line 229 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 229 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 229 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_clear_error (&_inner_error_);
#line 229 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 2542 "libvirt-machine-properties.c"
		}
	}
}


static void ___lambda128__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 209 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda128_ (self);
#line 2551 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_add_cdrom_property (BoxesLibvirtMachineProperties* self, GVirConfigDomainDisk* disk_config, GList* * list) {
	Block49Data* _data49_;
	GVirConfigDomainDisk* _tmp0_;
	GVirConfigDomainDisk* _tmp1_;
	GtkGrid* grid = NULL;
	GtkGrid* _tmp2_;
	GtkGrid* _tmp3_;
	GtkGrid* _tmp4_;
	GtkLabel* _tmp5_;
	GtkLabel* _tmp6_;
	GtkGrid* _tmp7_;
	GtkLabel* _tmp8_;
	gchar* source = NULL;
	GVirConfigDomainDisk* _tmp9_;
	const gchar* _tmp10_;
	gchar* _tmp11_;
	gboolean _tmp12_ = FALSE;
	const gchar* _tmp13_;
	gboolean _tmp15_;
	BoxesLibvirtMachine* _tmp23_;
	BoxesVMCreator* _tmp24_;
	BoxesVMCreator* _tmp25_;
	GtkLabel* _tmp48_;
	GtkButton* button = NULL;
	GtkButton* _tmp49_;
	GtkButton* _tmp50_;
	GtkLabel* _tmp51_;
	GtkGrid* _tmp52_;
	GtkButton* _tmp53_;
	gboolean _tmp54_;
	GtkButton* _tmp57_;
	BoxesProperty* property = NULL;
	GtkGrid* _tmp58_;
	BoxesProperty* _tmp59_;
	BoxesProperty* _tmp60_;
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (disk_config != NULL);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_ = g_slice_new0 (Block49Data);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_->_ref_count_ = 1;
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_->self = g_object_ref (self);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = disk_config;
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data49_->disk_config);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_->disk_config = _tmp1_;
#line 168 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = (GtkGrid*) gtk_grid_new ();
#line 168 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp2_);
#line 168 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	grid = _tmp2_;
#line 169 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = grid;
#line 169 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_orientable_set_orientation ((GtkOrientable*) _tmp3_, GTK_ORIENTATION_HORIZONTAL);
#line 170 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = grid;
#line 170 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_column_spacing (_tmp4_, (guint) 12);
#line 172 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = (GtkLabel*) gtk_label_new ("");
#line 172 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp5_);
#line 172 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_->label = _tmp5_;
#line 173 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = _data49_->label;
#line 173 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_label_set_ellipsize (_tmp6_, PANGO_ELLIPSIZE_END);
#line 174 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = grid;
#line 174 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = _data49_->label;
#line 174 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp7_, (GtkWidget*) _tmp8_);
#line 176 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = _data49_->disk_config;
#line 176 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = gvir_config_domain_disk_get_source (_tmp9_);
#line 176 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = g_strdup (_tmp10_);
#line 176 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	source = _tmp11_;
#line 177 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = source;
#line 177 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp13_ == NULL) {
#line 177 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = TRUE;
#line 2652 "libvirt-machine-properties.c"
	} else {
		const gchar* _tmp14_;
#line 177 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = source;
#line 177 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = g_strcmp0 (_tmp14_, "") == 0;
#line 2659 "libvirt-machine-properties.c"
	}
#line 177 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_->empty = _tmp12_;
#line 179 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp15_ = _data49_->empty;
#line 179 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp15_) {
#line 2667 "libvirt-machine-properties.c"
		GtkLabel* _tmp16_;
		gchar* _tmp17_;
		gchar* _tmp18_;
#line 181 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = _data49_->label;
#line 181 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = g_markup_printf_escaped ("<i>%s</i>", _ ("empty"));
#line 181 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = _tmp17_;
#line 181 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_markup (_tmp16_, _tmp18_);
#line 181 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp18_);
#line 2681 "libvirt-machine-properties.c"
	} else {
		GtkLabel* _tmp19_;
		const gchar* _tmp20_;
		gchar* _tmp21_;
		gchar* _tmp22_;
#line 183 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _data49_->label;
#line 183 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = source;
#line 183 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = boxes_get_utf8_basename (_tmp20_);
#line 183 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = _tmp21_;
#line 183 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text (_tmp19_, _tmp22_);
#line 183 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp22_);
#line 2699 "libvirt-machine-properties.c"
	}
#line 185 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp23_ = self->priv->machine;
#line 185 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp24_ = boxes_libvirt_machine_get_vm_creator (_tmp23_);
#line 185 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp25_ = _tmp24_;
#line 185 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp25_ != NULL) {
#line 2709 "libvirt-machine-properties.c"
		BoxesInstallerMedia* media = NULL;
		BoxesLibvirtMachine* _tmp26_;
		BoxesVMCreator* _tmp27_;
		BoxesVMCreator* _tmp28_;
		BoxesInstallerMedia* _tmp29_;
		BoxesInstallerMedia* _tmp30_;
		BoxesInstallerMedia* _tmp31_;
		gboolean _tmp32_ = FALSE;
		BoxesLibvirtMachine* _tmp33_;
		BoxesVMCreator* _tmp34_;
		BoxesVMCreator* _tmp35_;
		gboolean _tmp36_;
		gboolean _tmp37_;
#line 186 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = self->priv->machine;
#line 186 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = boxes_libvirt_machine_get_vm_creator (_tmp26_);
#line 186 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = _tmp27_;
#line 186 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = boxes_vm_creator_get_install_media (_tmp28_);
#line 186 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp30_ = _tmp29_;
#line 186 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp31_ = _g_object_ref0 (_tmp30_);
#line 186 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		media = _tmp31_;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp33_ = self->priv->machine;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp34_ = boxes_libvirt_machine_get_vm_creator (_tmp33_);
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp35_ = _tmp34_;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp36_ = boxes_vm_creator_get_express_install (_tmp35_);
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp37_ = _tmp36_;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp37_) {
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp32_ = TRUE;
#line 2751 "libvirt-machine-properties.c"
		} else {
			gboolean _tmp38_ = FALSE;
			BoxesInstallerMedia* _tmp39_;
			OsinfoMedia* _tmp40_;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp39_ = media;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp40_ = _tmp39_->os_media;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp40_ != NULL) {
#line 2762 "libvirt-machine-properties.c"
				BoxesInstallerMedia* _tmp41_;
				OsinfoMedia* _tmp42_;
				gboolean _tmp43_;
				gboolean _tmp44_;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp41_ = media;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp42_ = _tmp41_->os_media;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_object_get (_tmp42_, "live", &_tmp43_, NULL);
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp44_ = _tmp43_;
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp38_ = _tmp44_;
#line 2777 "libvirt-machine-properties.c"
			} else {
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp38_ = FALSE;
#line 2781 "libvirt-machine-properties.c"
			}
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp32_ = _tmp38_;
#line 2785 "libvirt-machine-properties.c"
		}
#line 188 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp32_) {
#line 2789 "libvirt-machine-properties.c"
			GtkGrid* _tmp45_;
			BoxesProperty* _tmp46_;
			BoxesProperty* _tmp47_;
#line 190 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp45_ = grid;
#line 190 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp46_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, _ ("CD/DVD"), (GtkWidget*) _tmp45_, NULL);
#line 190 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp47_ = _tmp46_;
#line 190 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_tmp47_);
#line 192 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (media);
#line 192 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (source);
#line 192 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (grid);
#line 192 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			block49_data_unref (_data49_);
#line 192 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data49_ = NULL;
#line 192 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 2813 "libvirt-machine-properties.c"
		}
#line 185 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (media);
#line 2817 "libvirt-machine-properties.c"
	}
#line 196 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp48_ = (GtkLabel*) gtk_label_new ("");
#line 196 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp48_);
#line 196 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_->button_label = _tmp48_;
#line 197 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp49_ = (GtkButton*) gtk_button_new ();
#line 197 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp49_);
#line 197 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	button = _tmp49_;
#line 198 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp50_ = button;
#line 198 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp51_ = _data49_->button_label;
#line 198 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp50_, (GtkWidget*) _tmp51_);
#line 200 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp52_ = grid;
#line 200 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp53_ = button;
#line 200 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp52_, (GtkWidget*) _tmp53_);
#line 202 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp54_ = _data49_->empty;
#line 202 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp54_) {
#line 2847 "libvirt-machine-properties.c"
		GtkLabel* _tmp55_;
#line 204 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp55_ = _data49_->button_label;
#line 204 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text_with_mnemonic (_tmp55_, _ ("_Select"));
#line 2853 "libvirt-machine-properties.c"
	} else {
		GtkLabel* _tmp56_;
#line 207 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp56_ = _data49_->button_label;
#line 207 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text_with_mnemonic (_tmp56_, _ ("_Remove"));
#line 2860 "libvirt-machine-properties.c"
	}
#line 209 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp57_ = button;
#line 209 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_data (_tmp57_, "clicked", (GCallback) ___lambda128__gtk_button_clicked, block49_data_ref (_data49_), (GClosureNotify) block49_data_unref, 0);
#line 242 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp58_ = grid;
#line 242 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp59_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, _ ("CD/DVD"), (GtkWidget*) _tmp58_, NULL);
#line 242 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	property = _tmp59_;
#line 243 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp60_ = property;
#line 243 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_property_set_description_alignment (_tmp60_, GTK_ALIGN_START);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (property);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (button);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (source);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (grid);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	block49_data_unref (_data49_);
#line 167 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_ = NULL;
#line 2888 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_update_ram_property (BoxesLibvirtMachineProperties* self, BoxesProperty* property) {
	GError * _inner_error_ = NULL;
#line 246 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 246 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (property != NULL);
#line 2898 "libvirt-machine-properties.c"
	{
		GVirConfigDomain* config = NULL;
		BoxesLibvirtMachine* _tmp0_;
		GVirDomain* _tmp1_;
		GVirDomain* _tmp2_;
		GVirConfigDomain* _tmp3_;
		guint64 actual = 0ULL;
		BoxesLibvirtMachine* _tmp4_;
		GVirConfigDomain* _tmp5_;
		GVirConfigDomain* _tmp6_;
		guint64 _tmp7_;
		guint64 _tmp8_;
		guint64 pending = 0ULL;
		guint64 _tmp9_;
		guint64 _tmp10_;
		guint64 _tmp11_;
		guint64 _tmp12_;
		BoxesProperty* _tmp13_;
		guint64 _tmp14_;
		guint64 _tmp15_;
#line 248 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = self->priv->machine;
#line 248 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = boxes_libvirt_machine_get_domain (_tmp0_);
#line 248 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = _tmp1_;
#line 248 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = gvir_domain_get_config (_tmp2_, (guint) GVIR_DOMAIN_XML_INACTIVE, &_inner_error_);
#line 248 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		config = _tmp3_;
#line 248 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2931 "libvirt-machine-properties.c"
			goto __catch43_g_error;
		}
#line 251 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = self->priv->machine;
#line 251 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = boxes_libvirt_machine_get_domain_config (_tmp4_);
#line 251 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _tmp5_;
#line 251 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = gvir_config_domain_get_memory (_tmp6_);
#line 251 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = _tmp7_;
#line 251 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		actual = _tmp8_ / 1024;
#line 252 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = gvir_config_domain_get_memory (config);
#line 252 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = _tmp9_;
#line 252 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		pending = _tmp10_ / 1024;
#line 254 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = actual;
#line 254 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = pending;
#line 254 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_debug ("libvirt-machine-properties.vala:254: RAM actual: %llu, pending: %llu", _tmp11_, _tmp12_);
#line 256 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = property;
#line 256 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = actual;
#line 256 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = pending;
#line 256 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_reboot_required (_tmp13_, (_tmp14_ - _tmp15_) > ((guint64) 1));
#line 247 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 2968 "libvirt-machine-properties.c"
	}
	goto __finally43;
	__catch43_g_error:
	{
		GError* e = NULL;
#line 247 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		e = _inner_error_;
#line 247 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 247 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (e);
#line 2980 "libvirt-machine-properties.c"
	}
	__finally43:
#line 247 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 247 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 247 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 247 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 2991 "libvirt-machine-properties.c"
	}
}


static void boxes_libvirt_machine_properties_mark_recommended_resources_data_free (gpointer _data) {
	BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData* _data_;
	_data_ = _data;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->ram_property);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->storage_property);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_slice_free (BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData, _data_);
#line 3007 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_mark_recommended_resources (BoxesLibvirtMachineProperties* self, BoxesSizeProperty* ram_property, BoxesSizeProperty* storage_property, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData* _data_;
	BoxesLibvirtMachineProperties* _tmp0_;
	BoxesSizeProperty* _tmp1_;
	BoxesSizeProperty* _tmp2_;
	BoxesSizeProperty* _tmp3_;
	BoxesSizeProperty* _tmp4_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_slice_new0 (BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_callback_ == NULL) {
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_task_complete_ = TRUE;
#line 3026 "libvirt-machine-properties.c"
	}
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_task_set_task_data (_data_->_async_result, _data_, boxes_libvirt_machine_properties_mark_recommended_resources_data_free);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->self = _tmp0_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = ram_property;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->ram_property);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->ram_property = _tmp2_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = storage_property;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->storage_property);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->storage_property = _tmp4_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_mark_recommended_resources_co (_data_);
#line 3052 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_mark_recommended_resources_finish (BoxesLibvirtMachineProperties* self, GAsyncResult* _res_) {
	BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData* _data_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_task_complete_ = TRUE;
#line 3062 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_mark_recommended_resources_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData* _data_;
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = _user_data_;
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_source_object_ = source_object;
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_res_ = _res_;
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_task_complete_ = TRUE;
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_mark_recommended_resources_co (_data_);
#line 3078 "libvirt-machine-properties.c"
}


static gboolean boxes_libvirt_machine_properties_mark_recommended_resources_co (BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData* _data_) {
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_data_->_state_) {
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 0:
#line 3087 "libvirt-machine-properties.c"
		goto _state_0;
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 1:
#line 3091 "libvirt-machine-properties.c"
		goto _state_1;
		default:
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_assert_not_reached ();
#line 3096 "libvirt-machine-properties.c"
	}
	_state_0:
#line 262 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = _data_->ram_property;
#line 262 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp1_ == NULL) {
#line 262 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp2_ = _data_->storage_property;
#line 262 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp0_ = _data_->_tmp2_ == NULL;
#line 3107 "libvirt-machine-properties.c"
	} else {
#line 262 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp0_ = FALSE;
#line 3111 "libvirt-machine-properties.c"
	}
#line 262 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp0_) {
#line 263 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 263 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ != 0) {
#line 263 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 263 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3123 "libvirt-machine-properties.c"
			}
		}
#line 263 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 263 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 3130 "libvirt-machine-properties.c"
	}
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = _data_->self->priv->machine;
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_state_ = 1;
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_get_os_for_machine (_data_->self, _data_->_tmp3_, boxes_libvirt_machine_properties_mark_recommended_resources_ready, _data_);
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 3140 "libvirt-machine-properties.c"
	_state_1:
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp4_ = boxes_libvirt_machine_properties_get_os_for_machine_finish (_data_->self, _data_->_res_);
#line 265 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->os = _data_->_tmp4_;
#line 266 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp5_ = _data_->os;
#line 266 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp5_ == NULL) {
#line 267 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->os);
#line 267 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 267 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ != 0) {
#line 267 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 267 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3160 "libvirt-machine-properties.c"
			}
		}
#line 267 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 267 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 3167 "libvirt-machine-properties.c"
	}
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp6_ = _data_->self->priv->machine;
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp7_ = boxes_libvirt_machine_get_domain_config (_data_->_tmp6_);
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp9_ = gvir_config_domain_get_os (_data_->_tmp8_);
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp11_ = gvir_config_domain_os_get_arch (_data_->_tmp10_);
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp12_ = g_strdup (_data_->_tmp11_);
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->_tmp10_);
#line 269 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->architecture = _data_->_tmp13_;
#line 270 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp14_ = _data_->os;
#line 270 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp15_ = _data_->architecture;
#line 270 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp16_ = boxes_os_database_get_recommended_resources_for_os (_data_->_tmp14_, _data_->_tmp15_);
#line 270 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->resources = _data_->_tmp16_;
#line 271 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp17_ = _data_->resources;
#line 271 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp17_ != NULL) {
#line 272 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp18_ = _data_->ram_property;
#line 272 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_tmp18_ != NULL) {
#line 273 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp19_ = _data_->ram_property;
#line 273 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp20_ = _data_->resources;
#line 273 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp21_ = osinfo_resources_get_ram (_data_->_tmp20_);
#line 273 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp22_ = _data_->_tmp21_;
#line 273 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_size_property_set_recommended (_data_->_tmp19_, (guint64) _data_->_tmp22_);
#line 3215 "libvirt-machine-properties.c"
		}
#line 274 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp23_ = _data_->storage_property;
#line 274 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_tmp23_ != NULL) {
#line 275 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp24_ = _data_->storage_property;
#line 275 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp25_ = _data_->resources;
#line 275 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp26_ = osinfo_resources_get_storage (_data_->_tmp25_);
#line 275 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp27_ = _data_->_tmp26_;
#line 275 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_size_property_set_recommended (_data_->_tmp24_, (guint64) _data_->_tmp27_);
#line 3231 "libvirt-machine-properties.c"
		}
	}
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->resources);
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_data_->architecture);
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->os);
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_state_ != 0) {
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3248 "libvirt-machine-properties.c"
		}
	}
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_unref (_data_->_async_result);
#line 261 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 3255 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_get_os_for_machine_data_free (gpointer _data) {
	BoxesLibvirtMachinePropertiesGetOsForMachineData* _data_;
	_data_ = _data;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->machine);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->result);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_slice_free (BoxesLibvirtMachinePropertiesGetOsForMachineData, _data_);
#line 3270 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_get_os_for_machine (BoxesLibvirtMachineProperties* self, BoxesLibvirtMachine* machine, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesLibvirtMachinePropertiesGetOsForMachineData* _data_;
	BoxesLibvirtMachineProperties* _tmp0_;
	BoxesLibvirtMachine* _tmp1_;
	BoxesLibvirtMachine* _tmp2_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_slice_new0 (BoxesLibvirtMachinePropertiesGetOsForMachineData);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_callback_ == NULL) {
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_task_complete_ = TRUE;
#line 3287 "libvirt-machine-properties.c"
	}
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_task_set_task_data (_data_->_async_result, _data_, boxes_libvirt_machine_properties_get_os_for_machine_data_free);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->self = _tmp0_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = machine;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->machine);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->machine = _tmp2_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_get_os_for_machine_co (_data_);
#line 3305 "libvirt-machine-properties.c"
}


static OsinfoOs* boxes_libvirt_machine_properties_get_os_for_machine_finish (BoxesLibvirtMachineProperties* self, GAsyncResult* _res_) {
	OsinfoOs* result;
	BoxesLibvirtMachinePropertiesGetOsForMachineData* _data_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_task_complete_ = TRUE;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	result = _data_->result;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->result = NULL;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 3322 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_get_os_for_machine_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesLibvirtMachinePropertiesGetOsForMachineData* _data_;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = _user_data_;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_source_object_ = source_object;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_res_ = _res_;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_task_complete_ = TRUE;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_get_os_for_machine_co (_data_);
#line 3338 "libvirt-machine-properties.c"
}


static gboolean boxes_libvirt_machine_properties_get_os_for_machine_co (BoxesLibvirtMachinePropertiesGetOsForMachineData* _data_) {
#line 279 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_data_->_state_) {
#line 279 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 0:
#line 3347 "libvirt-machine-properties.c"
		goto _state_0;
#line 279 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 1:
#line 3351 "libvirt-machine-properties.c"
		goto _state_1;
		default:
#line 279 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_assert_not_reached ();
#line 3356 "libvirt-machine-properties.c"
	}
	_state_0:
#line 280 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp0_ = _data_->machine;
#line 280 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = boxes_libvirt_machine_get_domain_config (_data_->_tmp0_);
#line 280 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 280 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = boxes_vm_configurator_get_os_id (_data_->_tmp2_);
#line 280 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->os_id = _data_->_tmp3_;
#line 281 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp4_ = _data_->os_id;
#line 281 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp4_ == NULL) {
#line 282 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->result = NULL;
#line 282 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_data_->os_id);
#line 282 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 282 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ != 0) {
#line 282 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 282 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3385 "libvirt-machine-properties.c"
			}
		}
#line 282 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 282 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 3392 "libvirt-machine-properties.c"
	}
#line 284 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp5_ = boxes_media_manager_get_instance ();
#line 284 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 284 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp7_ = boxes_media_manager_get_os_db (_data_->_tmp6_);
#line 284 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 284 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp9_ = _g_object_ref0 (_data_->_tmp8_);
#line 284 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 284 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->_tmp6_);
#line 284 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->os_db = _data_->_tmp10_;
#line 3410 "libvirt-machine-properties.c"
	{
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp12_ = _data_->os_db;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp13_ = _data_->os_id;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_state_ = 1;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_os_database_get_os_by_id (_data_->_tmp12_, _data_->_tmp13_, boxes_libvirt_machine_properties_get_os_for_machine_ready, _data_);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 3422 "libvirt-machine-properties.c"
		_state_1:
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp14_ = boxes_os_database_get_os_by_id_finish (_data_->_tmp12_, _data_->_res_, &_data_->_inner_error_);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp11_ = _data_->_tmp14_;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_data_->_inner_error_->domain == BOXES_OS_DATABASE_ERROR) {
#line 3432 "libvirt-machine-properties.c"
				goto __catch44_boxes_os_database_error;
			}
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_data_->os_db);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_data_->os_id);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_clear_error (&_data_->_inner_error_);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_unref (_data_->_async_result);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return FALSE;
#line 3447 "libvirt-machine-properties.c"
		}
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp15_ = _data_->_tmp11_;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp11_ = NULL;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->result = _data_->_tmp15_;
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->_tmp11_);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->os_db);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_data_->os_id);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ != 0) {
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3469 "libvirt-machine-properties.c"
			}
		}
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 286 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 3476 "libvirt-machine-properties.c"
	}
	goto __finally44;
	__catch44_boxes_os_database_error:
	{
#line 285 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 285 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_inner_error_ = NULL;
#line 288 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp16_ = _data_->os_id;
#line 288 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp17_ = _data_->_error_;
#line 288 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp18_ = _data_->_tmp17_->message;
#line 288 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:288: Failed to find OS with ID '%s': %" \
"s", _data_->_tmp16_, _data_->_tmp18_);
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->result = NULL;
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_data_->_error_);
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->os_db);
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_data_->os_id);
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ != 0) {
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 3509 "libvirt-machine-properties.c"
			}
		}
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 289 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 3516 "libvirt-machine-properties.c"
	}
	__finally44:
#line 285 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->os_db);
#line 285 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_data_->os_id);
#line 285 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 285 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_clear_error (&_data_->_inner_error_);
#line 285 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_unref (_data_->_async_result);
#line 285 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 3531 "libvirt-machine-properties.c"
}


static Block50Data* block50_data_ref (Block50Data* _data50_) {
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data50_->_ref_count_);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data50_;
#line 3540 "libvirt-machine-properties.c"
}


static void block50_data_unref (void * _userdata_) {
	Block50Data* _data50_;
	_data50_ = (Block50Data*) _userdata_;
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data50_->_ref_count_)) {
#line 3549 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data50_->self;
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data50_->prop);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data50_->net_graph);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data50_->io_graph);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data50_->cpu_graph);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block50Data, _data50_);
#line 3565 "libvirt-machine-properties.c"
	}
}


static void __lambda106_ (Block50Data* _data50_) {
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* _tmp0_;
	gdouble* _tmp1_;
	gint _tmp1__length1;
	BoxesLibvirtMachine* _tmp2_;
	gdouble* _tmp3_;
	gint _tmp3__length1;
	BoxesLibvirtMachine* _tmp4_;
	gdouble* _tmp5_;
	gint _tmp5__length1;
#line 321 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data50_->self;
#line 322 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 322 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _tmp0_->cpu_stats;
#line 322 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1__length1 = _tmp0_->cpu_stats_length1;
#line 322 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_resource_graph_set_points (_data50_->cpu_graph, _tmp1_, _tmp1__length1);
#line 323 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = self->priv->machine;
#line 323 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_->io_stats;
#line 323 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3__length1 = _tmp2_->io_stats_length1;
#line 323 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_resource_graph_set_points (_data50_->io_graph, _tmp3_, _tmp3__length1);
#line 324 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = self->priv->machine;
#line 324 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = _tmp4_->net_stats;
#line 324 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5__length1 = _tmp4_->net_stats_length1;
#line 324 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_resource_graph_set_points (_data50_->net_graph, _tmp5_, _tmp5__length1);
#line 3607 "libvirt-machine-properties.c"
}


static void ___lambda106__boxes_libvirt_machine_stats_updated (BoxesLibvirtMachine* _sender, gpointer self) {
#line 321 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda106_ (self);
#line 3614 "libvirt-machine-properties.c"
}


static void __lambda107_ (Block50Data* _data50_) {
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* _tmp0_;
	gulong _tmp1_;
#line 329 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data50_->self;
#line 330 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 330 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_handler_disconnect ((GObject*) _tmp0_, _data50_->stats_id);
#line 331 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _data50_->flushed_id;
#line 331 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_handler_disconnect ((GObject*) _data50_->prop, _tmp1_);
#line 3632 "libvirt-machine-properties.c"
}


static void ___lambda107__boxes_property_flushed (BoxesProperty* _sender, gpointer self) {
#line 329 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda107_ (self);
#line 3639 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_add_resource_usage_graphs (BoxesLibvirtMachineProperties* self, GList* * list) {
	Block50Data* _data50_;
	GtkGrid* grid = NULL;
	GtkGrid* _tmp0_;
	BoxesResourceGraph* _tmp1_;
	GtkLabel* label = NULL;
	GtkLabel* _tmp2_;
	GtkLabel* _tmp3_;
	BoxesResourceGraph* _tmp4_;
	GtkLabel* _tmp5_;
	GtkLabel* _tmp6_;
	BoxesResourceGraph* _tmp7_;
	GtkLabel* _tmp8_;
	GtkLabel* _tmp9_;
	BoxesLibvirtMachine* _tmp10_;
	gulong _tmp11_;
	BoxesProperty* _tmp12_;
	gulong _tmp13_;
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_ = g_slice_new0 (Block50Data);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->_ref_count_ = 1;
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->self = g_object_ref (self);
#line 294 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = (GtkGrid*) gtk_grid_new ();
#line 294 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp0_);
#line 294 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	grid = _tmp0_;
#line 295 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_margin_top ((GtkWidget*) grid, 20);
#line 296 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) grid, 20);
#line 297 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_row_spacing (grid, 5);
#line 298 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_column_spacing (grid, 10);
#line 299 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_column_homogeneous (grid, TRUE);
#line 300 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_vexpand ((GtkWidget*) grid, FALSE);
#line 303 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_resource_graph_new ((gdouble) 100);
#line 303 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp1_);
#line 303 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->cpu_graph = _tmp1_;
#line 304 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_resource_graph_set_npoints (_data50_->cpu_graph, 20);
#line 305 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _data50_->cpu_graph, 0, 0, 1, 1);
#line 306 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = (GtkLabel*) gtk_label_new (_ ("CPU"));
#line 306 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp2_);
#line 306 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	label = _tmp2_;
#line 307 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = label;
#line 307 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _tmp3_, 0, 1, 1, 1);
#line 310 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = boxes_resource_graph_new ((gdouble) 104857600);
#line 310 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp4_);
#line 310 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->io_graph = _tmp4_;
#line 311 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _data50_->io_graph, 1, 0, 1, 1);
#line 312 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = (GtkLabel*) gtk_label_new (_ ("I/O"));
#line 312 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp5_);
#line 312 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (label);
#line 312 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	label = _tmp5_;
#line 313 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = label;
#line 313 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _tmp6_, 1, 1, 1, 1);
#line 316 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = boxes_resource_graph_new ((gdouble) 1048576);
#line 316 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp7_);
#line 316 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->net_graph = _tmp7_;
#line 317 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _data50_->net_graph, 2, 0, 1, 1);
#line 318 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = (GtkLabel*) gtk_label_new (_ ("Network"));
#line 318 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp8_);
#line 318 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (label);
#line 318 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	label = _tmp8_;
#line 319 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = label;
#line 319 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _tmp9_, 2, 1, 1, 1);
#line 321 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = self->priv->machine;
#line 321 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = g_signal_connect_data (_tmp10_, "stats-updated", (GCallback) ___lambda106__boxes_libvirt_machine_stats_updated, block50_data_ref (_data50_), (GClosureNotify) block50_data_unref, 0);
#line 321 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->stats_id = _tmp11_;
#line 327 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, NULL, (GtkWidget*) grid, NULL);
#line 327 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->prop = _tmp12_;
#line 328 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->flushed_id = (gulong) 0;
#line 329 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = g_signal_connect_data (_data50_->prop, "flushed", (GCallback) ___lambda107__boxes_property_flushed, block50_data_ref (_data50_), (GClosureNotify) block50_data_unref, 0);
#line 329 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->flushed_id = _tmp13_;
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (label);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (grid);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	block50_data_unref (_data50_);
#line 293 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_ = NULL;
#line 3771 "libvirt-machine-properties.c"
}


static Block51Data* block51_data_ref (Block51Data* _data51_) {
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data51_->_ref_count_);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data51_;
#line 3780 "libvirt-machine-properties.c"
}


static void block51_data_unref (void * _userdata_) {
	Block51Data* _data51_;
	_data51_ = (Block51Data*) _userdata_;
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data51_->_ref_count_)) {
#line 3789 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data51_->self;
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data51_->prop);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data51_->shutdown_button);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data51_->restart_button);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block51Data, _data51_);
#line 3803 "libvirt-machine-properties.c"
	}
}


static void __lambda108_ (BoxesLibvirtMachineProperties* self) {
	BoxesLibvirtMachine* _tmp0_;
	BoxesLibvirtMachine* _tmp1_;
	BoxesAppWindow* _tmp2_;
	BoxesAppWindow* _tmp3_;
	BoxesPropertiesWindow* _tmp4_;
#line 349 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 349 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_machine_restart ((BoxesMachine*) _tmp0_);
#line 350 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 350 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_machine_get_window ((BoxesMachine*) _tmp1_);
#line 350 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 350 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = _tmp3_->props_window;
#line 350 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_properties_window_revert_state (_tmp4_);
#line 3828 "libvirt-machine-properties.c"
}


static void ___lambda108__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 348 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda108_ ((BoxesLibvirtMachineProperties*) self);
#line 3835 "libvirt-machine-properties.c"
}


static void __lambda120_ (BoxesLibvirtMachineProperties* self) {
	BoxesLibvirtMachine* _tmp0_;
	BoxesLibvirtMachine* _tmp1_;
	BoxesAppWindow* _tmp2_;
	BoxesAppWindow* _tmp3_;
	BoxesPropertiesWindow* _tmp4_;
#line 358 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 358 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_force_shutdown (_tmp0_);
#line 359 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 359 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_machine_get_window ((BoxesMachine*) _tmp1_);
#line 359 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 359 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = _tmp3_->props_window;
#line 359 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_properties_window_revert_state (_tmp4_);
#line 3859 "libvirt-machine-properties.c"
}


static void ___lambda120__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 357 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda120_ ((BoxesLibvirtMachineProperties*) self);
#line 3866 "libvirt-machine-properties.c"
}


static void __lambda121_ (Block51Data* _data51_) {
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
	BoxesLibvirtMachine* _tmp3_;
	gboolean _tmp4_;
	gboolean _tmp5_;
#line 364 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data51_->self;
#line 365 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 365 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_machine_get_is_running ((BoxesMachine*) _tmp0_);
#line 365 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 365 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _data51_->restart_button, _tmp2_);
#line 366 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = self->priv->machine;
#line 366 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = boxes_machine_get_is_running ((BoxesMachine*) _tmp3_);
#line 366 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = _tmp4_;
#line 366 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _data51_->shutdown_button, _tmp5_);
#line 3896 "libvirt-machine-properties.c"
}


static void ___lambda121__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 364 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda121_ (self);
#line 3903 "libvirt-machine-properties.c"
}


static void __lambda122_ (BoxesLibvirtMachineProperties* self) {
	gchar* log = NULL;
	gchar* _tmp0_;
	BoxesLibvirtMachine* _tmp1_;
	BoxesAppWindow* _tmp2_;
	BoxesAppWindow* _tmp3_;
	BoxesPropertiesWindow* _tmp4_;
#line 373 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = boxes_libvirt_machine_properties_collect_logs (self);
#line 373 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	log = _tmp0_;
#line 374 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 374 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_machine_get_window ((BoxesMachine*) _tmp1_);
#line 374 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 374 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = _tmp3_->props_window;
#line 374 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_properties_window_show_troubleshoot_log (_tmp4_, log);
#line 372 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (log);
#line 3930 "libvirt-machine-properties.c"
}


static void ___lambda122__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 372 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda122_ ((BoxesLibvirtMachineProperties*) self);
#line 3937 "libvirt-machine-properties.c"
}


static void __lambda123_ (Block51Data* _data51_) {
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* _tmp0_;
	gulong _tmp1_;
#line 379 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data51_->self;
#line 380 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 380 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_handler_disconnect ((GObject*) _tmp0_, _data51_->state_notify_id);
#line 381 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _data51_->flushed_id;
#line 381 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_handler_disconnect ((GObject*) _data51_->prop, _tmp1_);
#line 3955 "libvirt-machine-properties.c"
}


static void ___lambda123__boxes_property_flushed (BoxesProperty* _sender, gpointer self) {
#line 379 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda123_ (self);
#line 3962 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_add_system_props_buttons (BoxesLibvirtMachineProperties* self, GList* * list) {
	Block51Data* _data51_;
	GtkGrid* grid = NULL;
	GtkGrid* _tmp0_;
	GtkGrid* inner_grid = NULL;
	GtkGrid* _tmp1_;
	GtkButton* _tmp2_;
	BoxesLibvirtMachine* _tmp3_;
	gboolean _tmp4_;
	gboolean _tmp5_;
	GtkButton* _tmp6_;
	GtkStyleContext* _tmp7_;
	BoxesLibvirtMachine* _tmp8_;
	gboolean _tmp9_;
	gboolean _tmp10_;
	BoxesLibvirtMachine* _tmp11_;
	gulong _tmp12_;
	GtkButton* log_button = NULL;
	GtkButton* _tmp13_;
	BoxesProperty* _tmp14_;
	gulong _tmp15_;
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data51_ = g_slice_new0 (Block51Data);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data51_->_ref_count_ = 1;
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data51_->self = g_object_ref (self);
#line 336 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = (GtkGrid*) gtk_grid_new ();
#line 336 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp0_);
#line 336 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	grid = _tmp0_;
#line 337 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) grid, 20);
#line 338 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_column_spacing (grid, 5);
#line 339 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_hexpand ((GtkWidget*) grid, TRUE);
#line 341 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = (GtkGrid*) gtk_grid_new ();
#line 341 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp1_);
#line 341 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	inner_grid = _tmp1_;
#line 342 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_column_spacing (inner_grid, 5);
#line 343 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_halign ((GtkWidget*) inner_grid, GTK_ALIGN_START);
#line 344 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_hexpand ((GtkWidget*) inner_grid, TRUE);
#line 345 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) inner_grid, 0, 0, 1, 1);
#line 347 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = (GtkButton*) gtk_button_new_with_mnemonic (_ ("_Restart"));
#line 347 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp2_);
#line 347 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data51_->restart_button = _tmp2_;
#line 348 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_object (_data51_->restart_button, "clicked", (GCallback) ___lambda108__gtk_button_clicked, self, 0);
#line 352 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = self->priv->machine;
#line 352 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = boxes_machine_get_is_running ((BoxesMachine*) _tmp3_);
#line 352 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = _tmp4_;
#line 352 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _data51_->restart_button, _tmp5_);
#line 353 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (inner_grid, (GtkWidget*) _data51_->restart_button, 1, 0, 1, 1);
#line 355 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = (GtkButton*) gtk_button_new_with_mnemonic (_ ("_Force Shutdown"));
#line 355 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp6_);
#line 355 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data51_->shutdown_button = _tmp6_;
#line 356 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = gtk_widget_get_style_context ((GtkWidget*) _data51_->shutdown_button);
#line 356 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_style_context_add_class (_tmp7_, GTK_STYLE_CLASS_DESTRUCTIVE_ACTION);
#line 357 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_object (_data51_->shutdown_button, "clicked", (GCallback) ___lambda120__gtk_button_clicked, self, 0);
#line 361 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = self->priv->machine;
#line 361 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = boxes_machine_get_is_running ((BoxesMachine*) _tmp8_);
#line 361 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = _tmp9_;
#line 361 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _data51_->shutdown_button, _tmp10_);
#line 362 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (inner_grid, (GtkWidget*) _data51_->shutdown_button, 2, 0, 1, 1);
#line 364 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = self->priv->machine;
#line 364 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = g_signal_connect_data ((GObject*) _tmp11_, "notify::state", (GCallback) ___lambda121__g_object_notify, block51_data_ref (_data51_), (GClosureNotify) block51_data_unref, 0);
#line 364 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data51_->state_notify_id = _tmp12_;
#line 369 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = (GtkButton*) gtk_button_new_with_mnemonic (_ ("_Troubleshooting Log"));
#line 369 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp13_);
#line 369 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	log_button = _tmp13_;
#line 370 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_halign ((GtkWidget*) log_button, GTK_ALIGN_END);
#line 371 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) log_button, 1, 0, 1, 1);
#line 372 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_object (log_button, "clicked", (GCallback) ___lambda122__gtk_button_clicked, self, 0);
#line 377 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp14_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, NULL, (GtkWidget*) grid, NULL);
#line 377 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data51_->prop = _tmp14_;
#line 378 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data51_->flushed_id = (gulong) 0;
#line 379 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp15_ = g_signal_connect_data (_data51_->prop, "flushed", (GCallback) ___lambda123__boxes_property_flushed, block51_data_ref (_data51_), (GClosureNotify) block51_data_unref, 0);
#line 379 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data51_->flushed_id = _tmp15_;
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (log_button);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (inner_grid);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (grid);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	block51_data_unref (_data51_);
#line 335 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data51_ = NULL;
#line 4099 "libvirt-machine-properties.c"
}


static Block52Data* block52_data_ref (Block52Data* _data52_) {
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data52_->_ref_count_);
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data52_;
#line 4108 "libvirt-machine-properties.c"
}


static void block52_data_unref (void * _userdata_) {
	Block52Data* _data52_;
	_data52_ = (Block52Data*) _userdata_;
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data52_->_ref_count_)) {
#line 4117 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data52_->self;
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data52_->property);
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block52Data, _data52_);
#line 4127 "libvirt-machine-properties.c"
	}
}


static void _boxes_libvirt_machine_properties_on_ram_changed_boxes_size_property_changed (BoxesSizeProperty* _sender, guint64 value, gpointer self) {
#line 405 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_on_ram_changed ((BoxesLibvirtMachineProperties*) self, _sender, value);
#line 4135 "libvirt-machine-properties.c"
}


static void ___lambda125_ (Block52Data* _data52_) {
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* _tmp0_;
	gboolean _tmp1_;
	gboolean _tmp2_;
#line 407 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data52_->self;
#line 408 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 408 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_machine_get_is_on ((BoxesMachine*) _tmp0_);
#line 408 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 408 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (!_tmp2_) {
#line 4154 "libvirt-machine-properties.c"
		BoxesSizeProperty* _tmp3_;
#line 409 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = _data52_->property;
#line 409 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_reboot_required ((BoxesProperty*) _tmp3_, FALSE);
#line 4160 "libvirt-machine-properties.c"
	}
}


static void ____lambda125__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 407 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda125_ (self);
#line 4168 "libvirt-machine-properties.c"
}


static BoxesSizeProperty* boxes_libvirt_machine_properties_add_ram_property (BoxesLibvirtMachineProperties* self, GList* * list) {
	BoxesSizeProperty* result = NULL;
	GError * _inner_error_ = NULL;
#line 385 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 4177 "libvirt-machine-properties.c"
	{
		Block52Data* _data52_;
		GVirNodeInfo* _tmp0_ = NULL;
		BoxesLibvirtMachine* _tmp1_;
		GVirConnection* _tmp2_;
		GVirConnection* _tmp3_;
		GVirNodeInfo* _tmp4_;
		gulong max_ram = 0UL;
		GVirNodeInfo* _tmp5_;
		GVirNodeInfo* _tmp6_;
		gulong _tmp7_;
		gulong _tmp8_;
		BoxesLibvirtMachine* _tmp9_;
		GVirConfigDomain* _tmp10_;
		GVirConfigDomain* _tmp11_;
		guint64 _tmp12_;
		guint64 _tmp13_;
		gulong _tmp14_;
		BoxesSizeProperty* _tmp15_;
		BoxesSizeProperty* _tmp16_;
		BoxesSizeProperty* _tmp17_;
		GtkWidget* _tmp18_;
		GtkWidget* _tmp19_;
		gboolean _tmp20_ = FALSE;
		gboolean _tmp21_ = FALSE;
		gboolean _tmp22_ = FALSE;
		BoxesLibvirtMachine* _tmp23_;
		GVirConfigDomain* _tmp24_;
		GVirConfigDomain* _tmp25_;
		gboolean _tmp26_;
		BoxesLibvirtMachine* _tmp41_;
		BoxesSizeProperty* _tmp42_;
		BoxesSizeProperty* _tmp43_;
		BoxesSizeProperty* _tmp44_;
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data52_ = g_slice_new0 (Block52Data);
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data52_->_ref_count_ = 1;
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data52_->self = g_object_ref (self);
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = self->priv->machine;
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = boxes_libvirt_machine_get_connection (_tmp1_);
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = _tmp2_;
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = gvir_connection_get_node_info (_tmp3_, &_inner_error_);
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp4_;
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			block52_data_unref (_data52_);
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data52_ = NULL;
#line 4234 "libvirt-machine-properties.c"
			goto __catch45_g_error;
		}
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = _tmp0_;
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = NULL;
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _tmp5_;
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = _tmp6_->memory;
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = _tmp7_;
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirNodeInfo_free0 (_tmp6_);
#line 387 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		max_ram = _tmp8_;
#line 389 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = self->priv->machine;
#line 389 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = boxes_libvirt_machine_get_domain_config (_tmp9_);
#line 389 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = _tmp10_;
#line 389 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = gvir_config_domain_get_memory (_tmp11_);
#line 389 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = _tmp12_;
#line 389 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = max_ram;
#line 389 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = boxes_iproperties_provider_add_size_property ((BoxesIPropertiesProvider*) self, list, _ ("_Memory: "), _tmp13_ * OSINFO_KIBIBYTES, (guint64) (64 * OSINFO_MEBIBYTES), (guint64) (_tmp14_ * OSINFO_KIBIBYTES), (guint64) 0, (guint64) (64 * OSINFO_MEBIBYTES), G_FORMAT_SIZE_IEC_UNITS);
#line 389 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data52_->property = _tmp15_;
#line 397 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = _data52_->property;
#line 397 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_description_alignment ((BoxesProperty*) _tmp16_, GTK_ALIGN_START);
#line 398 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = _data52_->property;
#line 398 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = boxes_property_get_widget ((BoxesProperty*) _tmp17_);
#line 398 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _tmp18_;
#line 398 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_widget_set_margin_top (_tmp19_, 5);
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = self->priv->machine;
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = boxes_libvirt_machine_get_domain_config (_tmp23_);
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = _tmp24_;
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = boxes_vm_configurator_is_install_config (_tmp25_);
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp26_) {
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp22_ = TRUE;
#line 4291 "libvirt-machine-properties.c"
		} else {
			BoxesLibvirtMachine* _tmp27_;
			GVirConfigDomain* _tmp28_;
			GVirConfigDomain* _tmp29_;
			gboolean _tmp30_;
#line 400 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp27_ = self->priv->machine;
#line 400 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp28_ = boxes_libvirt_machine_get_domain_config (_tmp27_);
#line 400 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp29_ = _tmp28_;
#line 400 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp30_ = boxes_vm_configurator_is_live_config (_tmp29_);
#line 400 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp22_ = _tmp30_;
#line 4307 "libvirt-machine-properties.c"
		}
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp22_) {
#line 4311 "libvirt-machine-properties.c"
			BoxesLibvirtMachine* _tmp31_;
			BoxesAppWindow* _tmp32_;
			BoxesAppWindow* _tmp33_;
			BoxesUIState _tmp34_;
			BoxesUIState _tmp35_;
#line 401 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp31_ = self->priv->machine;
#line 401 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp32_ = boxes_machine_get_window ((BoxesMachine*) _tmp31_);
#line 401 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp33_ = _tmp32_;
#line 401 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp34_ = boxes_ui_get_ui_state ((BoxesUI*) _tmp33_);
#line 401 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp35_ = _tmp34_;
#line 401 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp21_ = _tmp35_ != BOXES_UI_STATE_WIZARD;
#line 4329 "libvirt-machine-properties.c"
		} else {
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp21_ = FALSE;
#line 4333 "libvirt-machine-properties.c"
		}
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp21_) {
#line 4337 "libvirt-machine-properties.c"
			BoxesLibvirtMachine* _tmp36_;
			BoxesMachineMachineState _tmp37_;
			BoxesMachineMachineState _tmp38_;
#line 402 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp36_ = self->priv->machine;
#line 402 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp37_ = boxes_machine_get_state ((BoxesMachine*) _tmp36_);
#line 402 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp38_ = _tmp37_;
#line 402 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp20_ = _tmp38_ != BOXES_MACHINE_MACHINE_STATE_FORCE_STOPPED;
#line 4349 "libvirt-machine-properties.c"
		} else {
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp20_ = FALSE;
#line 4353 "libvirt-machine-properties.c"
		}
#line 399 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp20_) {
#line 4357 "libvirt-machine-properties.c"
			BoxesSizeProperty* _tmp39_;
#line 403 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp39_ = _data52_->property;
#line 403 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_property_set_sensitive ((BoxesProperty*) _tmp39_, FALSE);
#line 4363 "libvirt-machine-properties.c"
		} else {
			BoxesSizeProperty* _tmp40_;
#line 405 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp40_ = _data52_->property;
#line 405 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_connect_object (_tmp40_, "changed", (GCallback) _boxes_libvirt_machine_properties_on_ram_changed_boxes_size_property_changed, self, 0);
#line 4370 "libvirt-machine-properties.c"
		}
#line 407 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp41_ = self->priv->machine;
#line 407 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_signal_connect_data ((GObject*) _tmp41_, "notify::state", (GCallback) ____lambda125__g_object_notify, block52_data_ref (_data52_), (GClosureNotify) block52_data_unref, 0);
#line 412 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp42_ = _data52_->property;
#line 412 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_properties_update_ram_property (self, (BoxesProperty*) _tmp42_);
#line 414 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp43_ = _data52_->property;
#line 414 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp44_ = _g_object_ref0 (_tmp43_);
#line 414 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = _tmp44_;
#line 414 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirNodeInfo_free0 (_tmp0_);
#line 414 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		block52_data_unref (_data52_);
#line 414 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data52_ = NULL;
#line 414 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 4394 "libvirt-machine-properties.c"
	}
	goto __finally45;
	__catch45_g_error:
	{
		GError* _error_ = NULL;
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 416 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = NULL;
#line 416 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 416 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 4410 "libvirt-machine-properties.c"
	}
	__finally45:
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_clear_error (&_inner_error_);
#line 386 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return NULL;
#line 4419 "libvirt-machine-properties.c"
}


static Block53Data* block53_data_ref (Block53Data* _data53_) {
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data53_->_ref_count_);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data53_;
#line 4428 "libvirt-machine-properties.c"
}


static void block53_data_unref (void * _userdata_) {
	Block53Data* _data53_;
	_data53_ = (Block53Data*) _userdata_;
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data53_->_ref_count_)) {
#line 4437 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data53_->self;
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data53_->property);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block53Data, _data53_);
#line 4447 "libvirt-machine-properties.c"
	}
}


static gboolean __lambda124_ (Block53Data* _data53_) {
	BoxesLibvirtMachineProperties* self;
	gboolean result = FALSE;
	guint64 ram = 0ULL;
	guint64 _tmp0_;
	BoxesProperty* _tmp25_;
	GError * _inner_error_ = NULL;
#line 422 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data53_->self;
#line 423 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _data53_->value;
#line 423 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	ram = ((_tmp0_ + OSINFO_KIBIBYTES) - 1) / OSINFO_KIBIBYTES;
#line 4465 "libvirt-machine-properties.c"
	{
		GVirConfigDomain* config = NULL;
		BoxesLibvirtMachine* _tmp1_;
		GVirDomain* _tmp2_;
		GVirDomain* _tmp3_;
		GVirConfigDomain* _tmp4_;
		GVirConfigDomain* _tmp5_;
		guint64 _tmp6_;
		GVirConfigDomain* _tmp7_;
		GObjectClass* _tmp8_;
		GParamSpec* _tmp9_;
		BoxesLibvirtMachine* _tmp12_;
		GVirDomain* _tmp13_;
		GVirDomain* _tmp14_;
		GVirConfigDomain* _tmp15_;
		guint64 _tmp16_;
#line 425 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = self->priv->machine;
#line 425 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = boxes_libvirt_machine_get_domain (_tmp1_);
#line 425 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = _tmp2_;
#line 425 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = gvir_domain_get_config (_tmp3_, (guint) GVIR_DOMAIN_XML_INACTIVE, &_inner_error_);
#line 425 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		config = _tmp4_;
#line 425 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4494 "libvirt-machine-properties.c"
			goto __catch46_g_error;
		}
#line 426 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = config;
#line 426 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = ram;
#line 426 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_config_domain_set_memory (_tmp5_, _tmp6_);
#line 427 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = config;
#line 427 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = G_OBJECT_GET_CLASS ((GObject*) _tmp7_);
#line 427 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = g_object_class_find_property (_tmp8_, "current-memory");
#line 427 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp9_ != NULL) {
#line 4511 "libvirt-machine-properties.c"
			GVirConfigDomain* _tmp10_;
			guint64 _tmp11_;
#line 428 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp10_ = config;
#line 428 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp11_ = ram;
#line 428 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_set ((GObject*) _tmp10_, "current-memory", _tmp11_, NULL);
#line 4520 "libvirt-machine-properties.c"
		}
#line 429 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = self->priv->machine;
#line 429 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = boxes_libvirt_machine_get_domain (_tmp12_);
#line 429 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = _tmp13_;
#line 429 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = config;
#line 429 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_domain_set_config (_tmp14_, _tmp15_, &_inner_error_);
#line 429 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 429 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (config);
#line 4536 "libvirt-machine-properties.c"
			goto __catch46_g_error;
		}
#line 430 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = ram;
#line 430 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_debug ("libvirt-machine-properties.vala:430: RAM changed to %llu KiB", _tmp16_);
#line 424 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 4545 "libvirt-machine-properties.c"
	}
	goto __finally46;
	__catch46_g_error:
	{
		GError* _error_ = NULL;
		BoxesLibvirtMachine* _tmp17_;
		GVirDomain* _tmp18_;
		GVirDomain* _tmp19_;
		const gchar* _tmp20_;
		guint64 _tmp21_;
		GError* _tmp22_;
		const gchar* _tmp23_;
#line 424 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 424 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 432 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = self->priv->machine;
#line 432 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = boxes_libvirt_machine_get_domain (_tmp17_);
#line 432 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _tmp18_;
#line 432 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = gvir_domain_get_name (_tmp19_);
#line 432 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = ram;
#line 432 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = _error_;
#line 432 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = _tmp22_->message;
#line 432 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:432: Failed to change RAM of box '%s' " \
"to %llu KiB: %s", _tmp20_, _tmp21_, _tmp23_);
#line 424 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 4580 "libvirt-machine-properties.c"
	}
	__finally46:
#line 424 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4585 "libvirt-machine-properties.c"
		gboolean _tmp24_ = FALSE;
#line 424 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 424 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 424 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return _tmp24_;
#line 4593 "libvirt-machine-properties.c"
	}
#line 438 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp25_ = _data53_->property;
#line 438 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_update_ram_property (self, _tmp25_);
#line 440 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	result = FALSE;
#line 440 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 4603 "libvirt-machine-properties.c"
}


static gboolean ___lambda124__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda124_ (self);
#line 422 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 4612 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_on_ram_changed (BoxesLibvirtMachineProperties* self, BoxesProperty* property, guint64 value) {
	Block53Data* _data53_;
	BoxesProperty* _tmp0_;
	BoxesProperty* _tmp1_;
	guint64 _tmp2_;
	BoxesProperty* _tmp3_;
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (property != NULL);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_ = g_slice_new0 (Block53Data);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_->_ref_count_ = 1;
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_->self = g_object_ref (self);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = property;
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data53_->property);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_->property = _tmp1_;
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = value;
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_->value = _tmp2_;
#line 422 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _data53_->property;
#line 422 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_property_set_deferred_change (_tmp3_, ___lambda124__gsource_func, block53_data_ref (_data53_), block53_data_unref);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	block53_data_unref (_data53_);
#line 420 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_ = NULL;
#line 4652 "libvirt-machine-properties.c"
}


static void _vala_GVirStorageVolInfo_free (GVirStorageVolInfo* self) {
#line 451 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_boxed_free (gvir_storage_vol_info_get_type (), self);
#line 4659 "libvirt-machine-properties.c"
}


static void _vala_GVirStoragePoolInfo_free (GVirStoragePoolInfo* self) {
#line 452 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_boxed_free (gvir_storage_pool_info_get_type (), self);
#line 4666 "libvirt-machine-properties.c"
}


static void _boxes_libvirt_machine_properties_on_storage_changed_boxes_size_property_changed (BoxesSizeProperty* _sender, guint64 value, gpointer self) {
#line 502 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_on_storage_changed ((BoxesLibvirtMachineProperties*) self, _sender, value);
#line 4673 "libvirt-machine-properties.c"
}


static BoxesSizeProperty* boxes_libvirt_machine_properties_add_storage_property (BoxesLibvirtMachineProperties* self, GList* * list) {
	BoxesSizeProperty* result = NULL;
	gboolean _tmp0_ = FALSE;
	BoxesLibvirtMachine* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	GError * _inner_error_ = NULL;
#line 444 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_libvirt_machine_get_importing (_tmp1_);
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp3_) {
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = TRUE;
#line 4696 "libvirt-machine-properties.c"
	} else {
		BoxesLibvirtMachine* _tmp4_;
		GVirStorageVol* _tmp5_;
		GVirStorageVol* _tmp6_;
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = self->priv->machine;
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = boxes_libvirt_machine_get_storage_volume (_tmp4_);
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _tmp5_;
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp6_ == NULL;
#line 4709 "libvirt-machine-properties.c"
	}
#line 445 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp0_) {
#line 446 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = NULL;
#line 446 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 4717 "libvirt-machine-properties.c"
	}
	{
		GVirStorageVolInfo* volume_info = NULL;
		BoxesLibvirtMachine* _tmp7_;
		GVirStorageVol* _tmp8_;
		GVirStorageVol* _tmp9_;
		GVirStorageVolInfo* _tmp10_;
		GVirStoragePool* pool = NULL;
		BoxesLibvirtMachine* _tmp11_;
		GVirConnection* _tmp12_;
		GVirConnection* _tmp13_;
		GVirStoragePool* _tmp14_;
		GVirStoragePoolInfo* pool_info = NULL;
		GVirStoragePool* _tmp15_;
		GVirStoragePoolInfo* _tmp16_;
		guint64 min_storage = 0ULL;
		guint64 _tmp17_;
		guint64 max_storage = 0ULL;
		GVirStorageVolInfo* _tmp18_;
		guint64 _tmp19_;
		GVirStoragePoolInfo* _tmp20_;
		guint64 _tmp21_;
		guint64 _tmp22_;
		guint64 _tmp23_;
		BoxesSizeProperty* property = NULL;
		GVirStorageVolInfo* _tmp58_;
		guint64 _tmp59_;
		guint64 _tmp60_;
		guint64 _tmp61_;
		GVirStorageVolInfo* _tmp62_;
		guint64 _tmp63_;
		BoxesSizeProperty* _tmp64_;
		BoxesSizeProperty* _tmp65_;
		BoxesSizeProperty* _tmp66_;
		gboolean _tmp67_ = FALSE;
		gboolean _tmp68_ = FALSE;
		gboolean _tmp69_ = FALSE;
		BoxesLibvirtMachine* _tmp70_;
		GVirConfigDomain* _tmp71_;
		GVirConfigDomain* _tmp72_;
		gboolean _tmp73_;
#line 449 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = self->priv->machine;
#line 449 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = boxes_libvirt_machine_get_storage_volume (_tmp7_);
#line 449 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = _tmp8_;
#line 449 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = gvir_storage_vol_get_info (_tmp9_, &_inner_error_);
#line 449 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		volume_info = _tmp10_;
#line 449 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4771 "libvirt-machine-properties.c"
			goto __catch47_g_error;
		}
#line 450 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = self->priv->machine;
#line 450 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = boxes_libvirt_machine_get_connection (_tmp11_);
#line 450 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = _tmp12_;
#line 450 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = boxes_get_storage_pool (_tmp13_);
#line 450 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		pool = _tmp14_;
#line 451 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = pool;
#line 451 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = gvir_storage_pool_get_info (_tmp15_, &_inner_error_);
#line 451 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		pool_info = _tmp16_;
#line 451 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 451 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (pool);
#line 451 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 4796 "libvirt-machine-properties.c"
			goto __catch47_g_error;
		}
#line 452 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = boxes_libvirt_machine_properties_get_minimum_disk_size (self, &_inner_error_);
#line 452 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		min_storage = _tmp17_;
#line 452 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 452 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStoragePoolInfo_free0 (pool_info);
#line 452 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (pool);
#line 452 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 4811 "libvirt-machine-properties.c"
			goto __catch47_g_error;
		}
#line 453 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = volume_info;
#line 453 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _tmp18_->allocation;
#line 453 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = pool_info;
#line 453 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = _tmp20_->available;
#line 453 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		max_storage = _tmp19_ + _tmp21_;
#line 455 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = min_storage;
#line 455 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = max_storage;
#line 455 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp22_ >= _tmp23_) {
#line 4830 "libvirt-machine-properties.c"
			GtkLabel* label = NULL;
			GtkLabel* _tmp24_;
			gchar* capacity = NULL;
			GVirStorageVolInfo* _tmp25_;
			guint64 _tmp26_;
			gchar* _tmp27_;
			gchar* allocation = NULL;
			GVirStorageVolInfo* _tmp28_;
			guint64 _tmp29_;
			gchar* _tmp30_;
			gchar* markup = NULL;
			const gchar* _tmp31_;
			const gchar* _tmp32_;
			gchar* _tmp33_;
			GtkLabel* _tmp34_;
			const gchar* _tmp35_;
			GtkLabel* _tmp36_;
			GtkLabel* _tmp37_;
			BoxesProperty* _tmp38_;
			BoxesProperty* _tmp39_;
			GtkInfoBar* infobar = NULL;
			GtkInfoBar* _tmp40_;
			GtkInfoBar* _tmp41_;
			GtkContainer* content = NULL;
			GtkInfoBar* _tmp42_;
			GtkContainer* _tmp43_;
			GtkContainer* _tmp44_;
			GtkImage* image = NULL;
			GtkImage* _tmp45_;
			GtkImage* _tmp46_;
			GtkImage* _tmp47_;
			GtkContainer* _tmp48_;
			GtkImage* _tmp49_;
			gchar* msg = NULL;
			gchar* _tmp50_;
			const gchar* _tmp51_;
			GtkLabel* _tmp52_;
			GtkContainer* _tmp53_;
			GtkLabel* _tmp54_;
			GtkInfoBar* _tmp55_;
			BoxesProperty* _tmp56_;
			BoxesProperty* _tmp57_;
#line 456 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp24_ = (GtkLabel*) gtk_label_new ("");
#line 456 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_ref_sink (_tmp24_);
#line 456 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			label = _tmp24_;
#line 457 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp25_ = volume_info;
#line 457 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp26_ = _tmp25_->capacity;
#line 457 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp27_ = g_format_size_full (_tmp26_, G_FORMAT_SIZE_DEFAULT);
#line 457 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			capacity = _tmp27_;
#line 458 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp28_ = volume_info;
#line 458 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp29_ = _tmp28_->allocation;
#line 458 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp30_ = g_format_size_full (_tmp29_, G_FORMAT_SIZE_DEFAULT);
#line 458 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			allocation = _tmp30_;
#line 459 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp31_ = capacity;
#line 459 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp32_ = allocation;
#line 459 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp33_ = g_strdup_printf (_ ("<span color=\"grey\">Maximum Disk Size</span>\t\t %s <span color=\"gre" \
"y\">(%s used)</span>"), _tmp31_, _tmp32_);
#line 459 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			markup = _tmp33_;
#line 460 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp34_ = label;
#line 460 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp35_ = markup;
#line 460 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_label_set_markup (_tmp34_, _tmp35_);
#line 461 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp36_ = label;
#line 461 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_widget_set_halign ((GtkWidget*) _tmp36_, GTK_ALIGN_START);
#line 463 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp37_ = label;
#line 463 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp38_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, NULL, (GtkWidget*) _tmp37_, NULL);
#line 463 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp39_ = _tmp38_;
#line 463 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_tmp39_);
#line 465 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp40_ = (GtkInfoBar*) gtk_info_bar_new ();
#line 465 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_ref_sink (_tmp40_);
#line 465 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			infobar = _tmp40_;
#line 466 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp41_ = infobar;
#line 466 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_info_bar_set_message_type (_tmp41_, GTK_MESSAGE_WARNING);
#line 468 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp42_ = infobar;
#line 468 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp43_ = gtk_info_bar_get_content_area (_tmp42_);
#line 468 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp44_ = _g_object_ref0 (_tmp43_);
#line 468 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			content = _tmp44_;
#line 470 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp45_ = (GtkImage*) gtk_image_new ();
#line 470 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_ref_sink (_tmp45_);
#line 470 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			image = _tmp45_;
#line 471 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp46_ = image;
#line 471 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_set (_tmp46_, "icon-name", "dialog-warning", NULL);
#line 472 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp47_ = image;
#line 472 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_set (_tmp47_, "icon-size", 3, NULL);
#line 473 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp48_ = content;
#line 473 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp49_ = image;
#line 473 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_container_add (_tmp48_, (GtkWidget*) _tmp49_);
#line 475 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp50_ = g_strdup (_ ("There is not enough space on your machine to increase the maximum disk" \
" size."));
#line 475 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			msg = _tmp50_;
#line 476 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp51_ = msg;
#line 476 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp52_ = (GtkLabel*) gtk_label_new (_tmp51_);
#line 476 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_ref_sink (_tmp52_);
#line 476 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (label);
#line 476 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			label = _tmp52_;
#line 477 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp53_ = content;
#line 477 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp54_ = label;
#line 477 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_container_add (_tmp53_, (GtkWidget*) _tmp54_);
#line 479 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp55_ = infobar;
#line 479 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp56_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, NULL, (GtkWidget*) _tmp55_, NULL);
#line 479 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp57_ = _tmp56_;
#line 479 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_tmp57_);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			result = NULL;
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (msg);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (image);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (content);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (infobar);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (markup);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (allocation);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (capacity);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (label);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStoragePoolInfo_free0 (pool_info);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (pool);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 481 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return result;
#line 5013 "libvirt-machine-properties.c"
		}
#line 484 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp58_ = volume_info;
#line 484 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp59_ = _tmp58_->capacity;
#line 484 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp60_ = min_storage;
#line 484 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp61_ = max_storage;
#line 484 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp62_ = volume_info;
#line 484 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp63_ = _tmp62_->allocation;
#line 484 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp64_ = boxes_iproperties_provider_add_size_property ((BoxesIPropertiesProvider*) self, list, _ ("Maximum _Disk Size: "), _tmp59_, _tmp60_, _tmp61_, _tmp63_, 256 * BOXES_LIBVIRT_MACHINE_PROPERTIES_MEGABYTES, G_FORMAT_SIZE_DEFAULT);
#line 484 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		property = _tmp64_;
#line 491 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp65_ = property;
#line 491 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_description_alignment ((BoxesProperty*) _tmp65_, GTK_ALIGN_START);
#line 495 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp66_ = property;
#line 495 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_defer_interval ((BoxesProperty*) _tmp66_, (guint) 0);
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp70_ = self->priv->machine;
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp71_ = boxes_libvirt_machine_get_domain_config (_tmp70_);
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp72_ = _tmp71_;
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp73_ = boxes_vm_configurator_is_install_config (_tmp72_);
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp73_) {
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp69_ = TRUE;
#line 5051 "libvirt-machine-properties.c"
		} else {
			BoxesLibvirtMachine* _tmp74_;
			GVirConfigDomain* _tmp75_;
			GVirConfigDomain* _tmp76_;
			gboolean _tmp77_;
#line 497 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp74_ = self->priv->machine;
#line 497 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp75_ = boxes_libvirt_machine_get_domain_config (_tmp74_);
#line 497 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp76_ = _tmp75_;
#line 497 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp77_ = boxes_vm_configurator_is_live_config (_tmp76_);
#line 497 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp69_ = _tmp77_;
#line 5067 "libvirt-machine-properties.c"
		}
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp69_) {
#line 5071 "libvirt-machine-properties.c"
			BoxesLibvirtMachine* _tmp78_;
			BoxesAppWindow* _tmp79_;
			BoxesAppWindow* _tmp80_;
			BoxesUIState _tmp81_;
			BoxesUIState _tmp82_;
#line 498 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp78_ = self->priv->machine;
#line 498 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp79_ = boxes_machine_get_window ((BoxesMachine*) _tmp78_);
#line 498 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp80_ = _tmp79_;
#line 498 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp81_ = boxes_ui_get_ui_state ((BoxesUI*) _tmp80_);
#line 498 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp82_ = _tmp81_;
#line 498 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp68_ = _tmp82_ != BOXES_UI_STATE_WIZARD;
#line 5089 "libvirt-machine-properties.c"
		} else {
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp68_ = FALSE;
#line 5093 "libvirt-machine-properties.c"
		}
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp68_) {
#line 5097 "libvirt-machine-properties.c"
			BoxesLibvirtMachine* _tmp83_;
			BoxesMachineMachineState _tmp84_;
			BoxesMachineMachineState _tmp85_;
#line 499 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp83_ = self->priv->machine;
#line 499 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp84_ = boxes_machine_get_state ((BoxesMachine*) _tmp83_);
#line 499 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp85_ = _tmp84_;
#line 499 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp67_ = _tmp85_ != BOXES_MACHINE_MACHINE_STATE_FORCE_STOPPED;
#line 5109 "libvirt-machine-properties.c"
		} else {
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp67_ = FALSE;
#line 5113 "libvirt-machine-properties.c"
		}
#line 496 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp67_) {
#line 5117 "libvirt-machine-properties.c"
			BoxesSizeProperty* _tmp86_;
#line 500 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp86_ = property;
#line 500 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_property_set_sensitive ((BoxesProperty*) _tmp86_, FALSE);
#line 5123 "libvirt-machine-properties.c"
		} else {
			BoxesSizeProperty* _tmp87_;
#line 502 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp87_ = property;
#line 502 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_connect_object (_tmp87_, "changed", (GCallback) _boxes_libvirt_machine_properties_on_storage_changed_boxes_size_property_changed, self, 0);
#line 5130 "libvirt-machine-properties.c"
		}
#line 504 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = property;
#line 504 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStoragePoolInfo_free0 (pool_info);
#line 504 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (pool);
#line 504 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStorageVolInfo_free0 (volume_info);
#line 504 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5142 "libvirt-machine-properties.c"
	}
	goto __finally47;
	__catch47_g_error:
	{
		GError* _error_ = NULL;
		BoxesLibvirtMachine* _tmp88_;
		GVirStorageVol* _tmp89_;
		GVirStorageVol* _tmp90_;
		const gchar* _tmp91_;
		GError* _tmp92_;
		const gchar* _tmp93_;
#line 448 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 448 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 506 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp88_ = self->priv->machine;
#line 506 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp89_ = boxes_libvirt_machine_get_storage_volume (_tmp88_);
#line 506 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp90_ = _tmp89_;
#line 506 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp91_ = gvir_storage_vol_get_name (_tmp90_);
#line 506 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp92_ = _error_;
#line 506 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp93_ = _tmp92_->message;
#line 506 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:506: Failed to get information on volu" \
"me '%s' or it's parent pool: %s", _tmp91_, _tmp93_);
#line 509 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = NULL;
#line 509 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 509 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5178 "libvirt-machine-properties.c"
	}
	__finally47:
#line 448 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error_->message, g_quark_to_string (_inner_error_->domain), _inner_error_->code);
#line 448 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_clear_error (&_inner_error_);
#line 448 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return NULL;
#line 5187 "libvirt-machine-properties.c"
}


static Block54Data* block54_data_ref (Block54Data* _data54_) {
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data54_->_ref_count_);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data54_;
#line 5196 "libvirt-machine-properties.c"
}


static void block54_data_unref (void * _userdata_) {
	Block54Data* _data54_;
	_data54_ = (Block54Data*) _userdata_;
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data54_->_ref_count_)) {
#line 5205 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data54_->self;
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data54_->property);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block54Data, _data54_);
#line 5215 "libvirt-machine-properties.c"
	}
}


static gboolean __lambda126_ (Block54Data* _data54_) {
	BoxesLibvirtMachineProperties* self;
	gboolean result = FALSE;
	BoxesProperty* _tmp0_;
	guint64 _tmp1_;
#line 515 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data54_->self;
#line 516 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _data54_->property;
#line 516 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _data54_->value;
#line 516 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_change_storage_size (self, _tmp0_, _tmp1_, NULL, NULL);
#line 518 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	result = FALSE;
#line 518 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 5237 "libvirt-machine-properties.c"
}


static gboolean ___lambda126__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda126_ (self);
#line 515 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 5246 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_on_storage_changed (BoxesLibvirtMachineProperties* self, BoxesProperty* property, guint64 value) {
	Block54Data* _data54_;
	BoxesProperty* _tmp0_;
	BoxesProperty* _tmp1_;
	guint64 _tmp2_;
	BoxesProperty* _tmp3_;
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (property != NULL);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data54_ = g_slice_new0 (Block54Data);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data54_->_ref_count_ = 1;
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data54_->self = g_object_ref (self);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = property;
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data54_->property);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data54_->property = _tmp1_;
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = value;
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data54_->value = _tmp2_;
#line 515 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _data54_->property;
#line 515 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_property_set_deferred_change (_tmp3_, ___lambda126__gsource_func, block54_data_ref (_data54_), block54_data_unref);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	block54_data_unref (_data54_);
#line 513 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data54_ = NULL;
#line 5286 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_change_storage_size_data_free (gpointer _data) {
	BoxesLibvirtMachinePropertiesChangeStorageSizeData* _data_;
	_data_ = _data;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->property);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_slice_free (BoxesLibvirtMachinePropertiesChangeStorageSizeData, _data_);
#line 5299 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_change_storage_size (BoxesLibvirtMachineProperties* self, BoxesProperty* property, guint64 value, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesLibvirtMachinePropertiesChangeStorageSizeData* _data_;
	BoxesLibvirtMachineProperties* _tmp0_;
	BoxesProperty* _tmp1_;
	BoxesProperty* _tmp2_;
	guint64 _tmp3_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_slice_new0 (BoxesLibvirtMachinePropertiesChangeStorageSizeData);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), NULL, _callback_, _user_data_);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_callback_ == NULL) {
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_task_complete_ = TRUE;
#line 5317 "libvirt-machine-properties.c"
	}
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_task_set_task_data (_data_->_async_result, _data_, boxes_libvirt_machine_properties_change_storage_size_data_free);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->self = _tmp0_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = property;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->property);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->property = _tmp2_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = value;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->value = _tmp3_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_change_storage_size_co (_data_);
#line 5339 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_change_storage_size_finish (BoxesLibvirtMachineProperties* self, GAsyncResult* _res_) {
	BoxesLibvirtMachinePropertiesChangeStorageSizeData* _data_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), NULL);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_task_complete_ = TRUE;
#line 5349 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_change_storage_size_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesLibvirtMachinePropertiesChangeStorageSizeData* _data_;
#line 537 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = _user_data_;
#line 537 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_source_object_ = source_object;
#line 537 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_res_ = _res_;
#line 537 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_task_complete_ = TRUE;
#line 537 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_change_storage_size_co (_data_);
#line 5365 "libvirt-machine-properties.c"
}


static gboolean boxes_libvirt_machine_properties_change_storage_size_co (BoxesLibvirtMachinePropertiesChangeStorageSizeData* _data_) {
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_data_->_state_) {
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 0:
#line 5374 "libvirt-machine-properties.c"
		goto _state_0;
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 1:
#line 5378 "libvirt-machine-properties.c"
		goto _state_1;
		default:
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_assert_not_reached ();
#line 5383 "libvirt-machine-properties.c"
	}
	_state_0:
#line 523 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp0_ = _data_->self->priv->machine;
#line 523 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = boxes_libvirt_machine_get_storage_volume (_data_->_tmp0_);
#line 523 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 523 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp2_ == NULL) {
#line 524 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 524 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ != 0) {
#line 524 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			while (_data_->_task_complete_ != TRUE) {
#line 524 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 5402 "libvirt-machine-properties.c"
			}
		}
#line 524 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 524 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 5409 "libvirt-machine-properties.c"
	}
	{
#line 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp3_ = _data_->self->priv->machine;
#line 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp4_ = boxes_machine_get_is_running ((BoxesMachine*) _data_->_tmp3_);
#line 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp5_ = _data_->_tmp4_;
#line 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_tmp5_) {
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp6_ = _data_->self->priv->machine;
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp7_ = boxes_libvirt_machine_get_domain_disk (_data_->_tmp6_, &_data_->_inner_error_);
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->disk = _data_->_tmp7_;
#line 528 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 5428 "libvirt-machine-properties.c"
				goto __catch48_g_error;
			}
#line 529 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp8_ = _data_->disk;
#line 529 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_data_->_tmp8_ == NULL) {
#line 530 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_data_->disk);
#line 530 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 530 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				if (_data_->_state_ != 0) {
#line 530 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
					while (_data_->_task_complete_ != TRUE) {
#line 530 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
						g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 5445 "libvirt-machine-properties.c"
					}
				}
#line 530 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_object_unref (_data_->_async_result);
#line 530 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				return FALSE;
#line 5452 "libvirt-machine-properties.c"
			}
#line 532 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp9_ = _data_->value;
#line 532 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->size = ((_data_->_tmp9_ + OSINFO_KIBIBYTES) - 1) / OSINFO_KIBIBYTES;
#line 533 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp10_ = _data_->disk;
#line 533 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp11_ = _data_->size;
#line 533 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			gvir_domain_disk_resize (_data_->_tmp10_, _data_->_tmp11_, (guint) 0, &_data_->_inner_error_);
#line 533 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 533 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_data_->disk);
#line 5468 "libvirt-machine-properties.c"
				goto __catch48_g_error;
			}
#line 535 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp12_ = _data_->self->priv->machine;
#line 535 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp13_ = boxes_libvirt_machine_get_connection (_data_->_tmp12_);
#line 535 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp14_ = _data_->_tmp13_;
#line 535 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp15_ = boxes_get_storage_pool (_data_->_tmp14_);
#line 535 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->pool = _data_->_tmp15_;
#line 5481 "libvirt-machine-properties.c"
			{
#line 537 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp16_ = _data_->pool;
#line 537 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_state_ = 1;
#line 537 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				gvir_storage_pool_refresh_async (_data_->_tmp16_, NULL, boxes_libvirt_machine_properties_change_storage_size_ready, _data_);
#line 537 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				return FALSE;
#line 5491 "libvirt-machine-properties.c"
				_state_1:
#line 537 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				gvir_storage_pool_refresh_finish (_data_->_tmp16_, _data_->_res_, &_data_->_inner_error_);
#line 537 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 5497 "libvirt-machine-properties.c"
					goto __catch49_g_error;
				}
#line 538 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp17_ = _data_->self->priv->machine;
#line 538 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				boxes_libvirt_machine_update_domain_config (_data_->_tmp17_);
#line 539 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp18_ = _data_->size;
#line 539 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_debug ("libvirt-machine-properties.vala:539: Storage changed to %llu KiB", _data_->_tmp18_);
#line 5508 "libvirt-machine-properties.c"
			}
			goto __finally49;
			__catch49_g_error:
			{
#line 536 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_error_ = _data_->_inner_error_;
#line 536 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_inner_error_ = NULL;
#line 541 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp19_ = _data_->self->priv->machine;
#line 541 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp20_ = boxes_libvirt_machine_get_storage_volume (_data_->_tmp19_);
#line 541 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp21_ = _data_->_tmp20_;
#line 541 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp22_ = gvir_storage_vol_get_name (_data_->_tmp21_);
#line 541 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp23_ = _data_->size;
#line 541 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp24_ = _data_->_error_;
#line 541 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_data_->_tmp25_ = _data_->_tmp24_->message;
#line 541 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				g_warning ("libvirt-machine-properties.vala:541: Failed to change storage capacity" \
" of volume '%s' to %llu KiB: %s", _data_->_tmp22_, _data_->_tmp23_, _data_->_tmp25_);
#line 536 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_error_free0 (_data_->_error_);
#line 5535 "libvirt-machine-properties.c"
			}
			__finally49:
#line 536 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 536 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_data_->pool);
#line 536 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_data_->disk);
#line 5544 "libvirt-machine-properties.c"
				goto __catch48_g_error;
			}
#line 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_data_->pool);
#line 527 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_data_->disk);
#line 5551 "libvirt-machine-properties.c"
		} else {
#line 547 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp26_ = _data_->value;
#line 547 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_properties_resize_storage_volume (_data_->self, _data_->_tmp26_, &_data_->_inner_error_);
#line 547 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 5559 "libvirt-machine-properties.c"
				goto __catch48_g_error;
			}
#line 548 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp27_ = _data_->value;
#line 548 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_debug ("libvirt-machine-properties.vala:548: Storage changed to %llu", _data_->_tmp27_);
#line 5566 "libvirt-machine-properties.c"
		}
	}
	goto __finally48;
	__catch48_g_error:
	{
#line 526 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_vala1__error_ = _data_->_inner_error_;
#line 526 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_inner_error_ = NULL;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp28_ = _data_->self->priv->machine;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp29_ = boxes_libvirt_machine_get_storage_volume (_data_->_tmp28_);
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp30_ = _data_->_tmp29_;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp31_ = gvir_storage_vol_get_name (_data_->_tmp30_);
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp32_ = _data_->value;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp33_ = _data_->_vala1__error_;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp34_ = _data_->_tmp33_->message;
#line 551 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:551: Failed to change storage capacity" \
" of volume '%s' to %llu: %s", _data_->_tmp31_, _data_->_tmp32_, _data_->_tmp34_);
#line 526 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_data_->_vala1__error_);
#line 5594 "libvirt-machine-properties.c"
	}
	__finally48:
#line 526 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 526 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _data_->_inner_error_->message, g_quark_to_string (_data_->_inner_error_->domain), _data_->_inner_error_->code);
#line 526 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_data_->_inner_error_);
#line 526 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 526 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 5607 "libvirt-machine-properties.c"
	}
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_state_ != 0) {
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 5617 "libvirt-machine-properties.c"
		}
	}
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_unref (_data_->_async_result);
#line 522 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 5624 "libvirt-machine-properties.c"
}


static guint64 boxes_libvirt_machine_properties_get_minimum_disk_size (BoxesLibvirtMachineProperties* self, GError** error) {
	guint64 result = 0ULL;
	GVirStorageVolInfo* volume_info = NULL;
	BoxesLibvirtMachine* _tmp0_;
	GVirStorageVol* _tmp1_;
	GVirStorageVol* _tmp2_;
	GVirStorageVolInfo* _tmp3_;
	BoxesLibvirtMachine* _tmp5_;
	BoxesVMCreator* _tmp6_;
	BoxesVMCreator* _tmp7_;
	OsinfoResources* minimum_resources = NULL;
	BoxesLibvirtMachine* _tmp10_;
	BoxesVMCreator* _tmp11_;
	BoxesVMCreator* _tmp12_;
	BoxesInstallerMedia* _tmp13_;
	BoxesInstallerMedia* _tmp14_;
	OsinfoOs* _tmp15_;
	gboolean _tmp34_ = FALSE;
	OsinfoResources* _tmp35_;
	GError * _inner_error_ = NULL;
#line 558 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, 0ULL);
#line 559 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 559 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_get_storage_volume (_tmp0_);
#line 559 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 559 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = gvir_storage_vol_get_info (_tmp2_, &_inner_error_);
#line 559 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	volume_info = _tmp3_;
#line 559 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 5662 "libvirt-machine-properties.c"
		guint64 _tmp4_ = 0ULL;
#line 559 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_propagate_error (error, _inner_error_);
#line 559 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return _tmp4_;
#line 5668 "libvirt-machine-properties.c"
	}
#line 560 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = self->priv->machine;
#line 560 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = boxes_libvirt_machine_get_vm_creator (_tmp5_);
#line 560 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = _tmp6_;
#line 560 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp7_ == NULL) {
#line 5678 "libvirt-machine-properties.c"
		GVirStorageVolInfo* _tmp8_;
		guint64 _tmp9_;
#line 563 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = volume_info;
#line 563 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = _tmp8_->capacity;
#line 563 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = _tmp9_;
#line 563 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStorageVolInfo_free0 (volume_info);
#line 563 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5691 "libvirt-machine-properties.c"
	}
#line 566 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	minimum_resources = NULL;
#line 568 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = self->priv->machine;
#line 568 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = boxes_libvirt_machine_get_vm_creator (_tmp10_);
#line 568 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = _tmp11_;
#line 568 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = boxes_vm_creator_get_install_media (_tmp12_);
#line 568 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp14_ = _tmp13_;
#line 568 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp15_ = _tmp14_->os;
#line 568 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp15_ != NULL) {
#line 5709 "libvirt-machine-properties.c"
		OsinfoOs* os = NULL;
		BoxesLibvirtMachine* _tmp16_;
		BoxesVMCreator* _tmp17_;
		BoxesVMCreator* _tmp18_;
		BoxesInstallerMedia* _tmp19_;
		BoxesInstallerMedia* _tmp20_;
		OsinfoOs* _tmp21_;
		OsinfoOs* _tmp22_;
		gchar* architecture = NULL;
		BoxesLibvirtMachine* _tmp23_;
		GVirConfigDomain* _tmp24_;
		GVirConfigDomain* _tmp25_;
		GVirConfigDomainOs* _tmp26_;
		GVirConfigDomainOs* _tmp27_;
		const gchar* _tmp28_;
		gchar* _tmp29_;
		gchar* _tmp30_;
		OsinfoOs* _tmp31_;
		const gchar* _tmp32_;
		OsinfoResources* _tmp33_;
#line 569 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = self->priv->machine;
#line 569 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = boxes_libvirt_machine_get_vm_creator (_tmp16_);
#line 569 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = _tmp17_;
#line 569 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = boxes_vm_creator_get_install_media (_tmp18_);
#line 569 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = _tmp19_;
#line 569 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = _tmp20_->os;
#line 569 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = _g_object_ref0 (_tmp21_);
#line 569 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		os = _tmp22_;
#line 570 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = self->priv->machine;
#line 570 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = boxes_libvirt_machine_get_domain_config (_tmp23_);
#line 570 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = _tmp24_;
#line 570 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = gvir_config_domain_get_os (_tmp25_);
#line 570 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = _tmp26_;
#line 570 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = gvir_config_domain_os_get_arch (_tmp27_);
#line 570 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = g_strdup (_tmp28_);
#line 570 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp30_ = _tmp29_;
#line 570 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_tmp27_);
#line 570 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		architecture = _tmp30_;
#line 571 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp31_ = os;
#line 571 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp32_ = architecture;
#line 571 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp33_ = boxes_os_database_get_minimum_resources_for_os (_tmp31_, _tmp32_);
#line 571 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (minimum_resources);
#line 571 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		minimum_resources = _tmp33_;
#line 568 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (architecture);
#line 568 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (os);
#line 5780 "libvirt-machine-properties.c"
	}
#line 574 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp35_ = minimum_resources;
#line 574 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp35_ != NULL) {
#line 5786 "libvirt-machine-properties.c"
		OsinfoResources* _tmp36_;
		gint64 _tmp37_;
		gint64 _tmp38_;
#line 574 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp36_ = minimum_resources;
#line 574 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp37_ = osinfo_resources_get_storage (_tmp36_);
#line 574 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp38_ = _tmp37_;
#line 574 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp34_ = _tmp38_ != ((gint64) -1);
#line 5798 "libvirt-machine-properties.c"
	} else {
#line 574 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp34_ = FALSE;
#line 5802 "libvirt-machine-properties.c"
	}
#line 574 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp34_) {
#line 5806 "libvirt-machine-properties.c"
		OsinfoResources* _tmp39_;
		gint64 _tmp40_;
		gint64 _tmp41_;
#line 575 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp39_ = minimum_resources;
#line 575 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp40_ = osinfo_resources_get_storage (_tmp39_);
#line 575 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp41_ = _tmp40_;
#line 575 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = (guint64) _tmp41_;
#line 575 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (minimum_resources);
#line 575 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStorageVolInfo_free0 (volume_info);
#line 575 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5824 "libvirt-machine-properties.c"
	} else {
		OsinfoResources* default_resources = NULL;
		OsinfoResources* _tmp42_;
		GVirStorageVolInfo* _tmp43_;
		guint64 _tmp44_;
		OsinfoResources* _tmp45_;
		gint64 _tmp46_;
		gint64 _tmp47_;
		guint64 _tmp48_;
#line 577 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp42_ = boxes_os_database_get_default_resources ();
#line 577 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		default_resources = _tmp42_;
#line 578 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp43_ = volume_info;
#line 578 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp44_ = _tmp43_->capacity;
#line 578 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp45_ = default_resources;
#line 578 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp46_ = osinfo_resources_get_storage (_tmp45_);
#line 578 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp47_ = _tmp46_;
#line 578 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp48_ = MIN (_tmp44_, (guint64) _tmp47_);
#line 578 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		result = _tmp48_;
#line 578 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (default_resources);
#line 578 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (minimum_resources);
#line 578 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStorageVolInfo_free0 (volume_info);
#line 578 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5860 "libvirt-machine-properties.c"
	}
#line 558 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (minimum_resources);
#line 558 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__vala_GVirStorageVolInfo_free0 (volume_info);
#line 5866 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_resize_storage_volume (BoxesLibvirtMachineProperties* self, guint64 size, GError** error) {
	GVirStorageVolInfo* volume_info = NULL;
	BoxesLibvirtMachine* _tmp0_;
	GVirStorageVol* _tmp1_;
	GVirStorageVol* _tmp2_;
	GVirStorageVolInfo* _tmp3_;
	gboolean _tmp4_ = FALSE;
	BoxesLibvirtMachine* _tmp5_;
	BoxesVMCreator* _tmp6_;
	BoxesVMCreator* _tmp7_;
	GError * _inner_error_ = NULL;
#line 582 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 583 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 583 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_get_storage_volume (_tmp0_);
#line 583 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 583 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = gvir_storage_vol_get_info (_tmp2_, &_inner_error_);
#line 583 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	volume_info = _tmp3_;
#line 583 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 583 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_propagate_error (error, _inner_error_);
#line 583 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 5899 "libvirt-machine-properties.c"
	}
#line 584 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = self->priv->machine;
#line 584 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = boxes_libvirt_machine_get_vm_creator (_tmp5_);
#line 584 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = _tmp6_;
#line 584 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp7_ != NULL) {
#line 5909 "libvirt-machine-properties.c"
		guint64 _tmp8_;
		GVirStorageVolInfo* _tmp9_;
		guint64 _tmp10_;
#line 584 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = size;
#line 584 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = volume_info;
#line 584 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = _tmp9_->capacity;
#line 584 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = _tmp8_ < _tmp10_;
#line 5921 "libvirt-machine-properties.c"
	} else {
#line 584 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = FALSE;
#line 5925 "libvirt-machine-properties.c"
	}
#line 584 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp4_) {
#line 5929 "libvirt-machine-properties.c"
		GVirConfigStorageVol* config = NULL;
		BoxesLibvirtMachine* _tmp11_;
		GVirStorageVol* _tmp12_;
		GVirStorageVol* _tmp13_;
		GVirConfigStorageVol* _tmp14_;
		GVirConfigStorageVol* _tmp15_;
		guint64 _tmp16_;
		BoxesLibvirtMachine* _tmp17_;
		GVirStorageVol* _tmp18_;
		GVirStorageVol* _tmp19_;
		GVirStoragePool* pool = NULL;
		BoxesLibvirtMachine* _tmp20_;
		GVirConnection* _tmp21_;
		GVirConnection* _tmp22_;
		GVirStoragePool* _tmp23_;
		GVirStorageVol* _tmp24_ = NULL;
		GVirStoragePool* _tmp25_;
		GVirConfigStorageVol* _tmp26_;
		GVirStorageVol* _tmp27_;
		BoxesLibvirtMachine* _tmp28_;
#line 586 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = self->priv->machine;
#line 586 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = boxes_libvirt_machine_get_storage_volume (_tmp11_);
#line 586 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = _tmp12_;
#line 586 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = gvir_storage_vol_get_config (_tmp13_, (guint) GVIR_DOMAIN_XML_NONE, &_inner_error_);
#line 586 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		config = _tmp14_;
#line 586 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 586 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_propagate_error (error, _inner_error_);
#line 586 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 586 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 5968 "libvirt-machine-properties.c"
		}
#line 587 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = config;
#line 587 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = size;
#line 587 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_config_storage_vol_set_capacity (_tmp15_, _tmp16_);
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = self->priv->machine;
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = boxes_libvirt_machine_get_storage_volume (_tmp17_);
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _tmp18_;
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_storage_vol_delete (_tmp19_, (guint) 0, &_inner_error_);
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_propagate_error (error, _inner_error_);
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (config);
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 588 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 5994 "libvirt-machine-properties.c"
		}
#line 590 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = self->priv->machine;
#line 590 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = boxes_libvirt_machine_get_connection (_tmp20_);
#line 590 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = _tmp21_;
#line 590 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = boxes_get_storage_pool (_tmp22_);
#line 590 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		pool = _tmp23_;
#line 591 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = pool;
#line 591 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = config;
#line 591 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = gvir_storage_pool_create_volume (_tmp25_, _tmp26_, &_inner_error_);
#line 591 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = _tmp27_;
#line 591 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 591 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_propagate_error (error, _inner_error_);
#line 591 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (pool);
#line 591 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (config);
#line 591 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 591 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 6026 "libvirt-machine-properties.c"
		}
#line 591 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = self->priv->machine;
#line 591 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_set_storage_volume (_tmp28_, _tmp24_);
#line 584 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_tmp24_);
#line 584 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (pool);
#line 584 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 6038 "libvirt-machine-properties.c"
	} else {
		BoxesLibvirtMachine* _tmp29_;
		GVirStorageVol* _tmp30_;
		GVirStorageVol* _tmp31_;
		guint64 _tmp32_;
#line 593 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = self->priv->machine;
#line 593 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp30_ = boxes_libvirt_machine_get_storage_volume (_tmp29_);
#line 593 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp31_ = _tmp30_;
#line 593 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp32_ = size;
#line 593 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_storage_vol_resize (_tmp31_, _tmp32_, GVIR_STORAGE_VOL_RESIZE_NONE, &_inner_error_);
#line 593 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 593 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_propagate_error (error, _inner_error_);
#line 593 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 593 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 6062 "libvirt-machine-properties.c"
		}
	}
#line 582 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__vala_GVirStorageVolInfo_free0 (volume_info);
#line 6067 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_get_snapshots_data_free (gpointer _data) {
	BoxesLibvirtMachinePropertiesGetSnapshotsData* _data_;
	_data_ = _data;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->cancellable);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__g_list_free__g_object_unref0_0 (_data_->result);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_slice_free (BoxesLibvirtMachinePropertiesGetSnapshotsData, _data_);
#line 6082 "libvirt-machine-properties.c"
}


void boxes_libvirt_machine_properties_get_snapshots (BoxesLibvirtMachineProperties* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesLibvirtMachinePropertiesGetSnapshotsData* _data_;
	BoxesLibvirtMachineProperties* _tmp0_;
	GCancellable* _tmp1_;
	GCancellable* _tmp2_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_slice_new0 (BoxesLibvirtMachinePropertiesGetSnapshotsData);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_async_result = g_task_new (G_OBJECT (self), cancellable, _callback_, _user_data_);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_callback_ == NULL) {
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_task_complete_ = TRUE;
#line 6099 "libvirt-machine-properties.c"
	}
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_task_set_task_data (_data_->_async_result, _data_, boxes_libvirt_machine_properties_get_snapshots_data_free);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->self = _tmp0_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = cancellable;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->cancellable);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->cancellable = _tmp2_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_get_snapshots_co (_data_);
#line 6117 "libvirt-machine-properties.c"
}


GList* boxes_libvirt_machine_properties_get_snapshots_finish (BoxesLibvirtMachineProperties* self, GAsyncResult* _res_, GError** error) {
	GList* result;
	BoxesLibvirtMachinePropertiesGetSnapshotsData* _data_;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_task_propagate_pointer (G_TASK (_res_), error);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (NULL == _data_) {
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return NULL;
#line 6130 "libvirt-machine-properties.c"
	}
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_task_complete_ = TRUE;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	result = _data_->result;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->result = NULL;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 6140 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_get_snapshots_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesLibvirtMachinePropertiesGetSnapshotsData* _data_;
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = _user_data_;
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_source_object_ = source_object;
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_res_ = _res_;
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_task_complete_ = TRUE;
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_get_snapshots_co (_data_);
#line 6156 "libvirt-machine-properties.c"
}


static gboolean boxes_libvirt_machine_properties_get_snapshots_co (BoxesLibvirtMachinePropertiesGetSnapshotsData* _data_) {
#line 597 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_data_->_state_) {
#line 597 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 0:
#line 6165 "libvirt-machine-properties.c"
		goto _state_0;
#line 597 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		case 1:
#line 6169 "libvirt-machine-properties.c"
		goto _state_1;
		default:
#line 597 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_assert_not_reached ();
#line 6174 "libvirt-machine-properties.c"
	}
	_state_0:
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp0_ = _data_->self->priv->machine;
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = boxes_libvirt_machine_get_domain (_data_->_tmp0_);
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = _data_->cancellable;
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_state_ = 1;
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gvir_domain_fetch_snapshots_async (_data_->_tmp2_, (guint) GVIR_DOMAIN_SNAPSHOT_LIST_ALL, _data_->_tmp3_, boxes_libvirt_machine_properties_get_snapshots_ready, _data_);
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 6191 "libvirt-machine-properties.c"
	_state_1:
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gvir_domain_fetch_snapshots_finish (_data_->_tmp2_, _data_->_res_, &_data_->_inner_error_);
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_task_return_error (_data_->_async_result, _data_->_inner_error_);
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 598 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 6203 "libvirt-machine-properties.c"
	}
#line 600 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp4_ = _data_->self->priv->machine;
#line 600 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp5_ = boxes_libvirt_machine_get_domain (_data_->_tmp4_);
#line 600 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 600 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp7_ = gvir_domain_get_snapshots (_data_->_tmp6_);
#line 600 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->result = _data_->_tmp7_;
#line 600 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_task_return_pointer (_data_->_async_result, _data_, NULL);
#line 600 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_state_ != 0) {
#line 600 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		while (_data_->_task_complete_ != TRUE) {
#line 600 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
			g_main_context_iteration (g_task_get_context (_data_->_async_result), TRUE);
#line 6223 "libvirt-machine-properties.c"
		}
	}
#line 600 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_unref (_data_->_async_result);
#line 600 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 6230 "libvirt-machine-properties.c"
}


static Block55Data* block55_data_ref (Block55Data* _data55_) {
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data55_->_ref_count_);
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data55_;
#line 6239 "libvirt-machine-properties.c"
}


static void block55_data_unref (void * _userdata_) {
	Block55Data* _data55_;
	_data55_ = (Block55Data*) _userdata_;
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data55_->_ref_count_)) {
#line 6248 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data55_->self;
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_data55_->name);
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data55_->toggle);
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data55_->box);
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block55Data, _data55_);
#line 6262 "libvirt-machine-properties.c"
	}
}


static void __lambda127_ (Block55Data* _data55_, GParamSpec* tooltip) {
	BoxesLibvirtMachineProperties* self;
	gchar* _tmp0_ = NULL;
	GtkSwitch* _tmp1_;
	gboolean _tmp2_;
	gboolean _tmp3_;
	GtkBox* _tmp8_;
#line 624 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data55_->self;
#line 624 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (tooltip != NULL);
#line 625 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _data55_->toggle;
#line 625 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = gtk_switch_get_active (_tmp1_);
#line 625 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 625 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp3_) {
#line 6286 "libvirt-machine-properties.c"
		const gchar* _tmp4_;
		gchar* _tmp5_;
#line 625 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = _data55_->name;
#line 625 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = g_strdup_printf (_ ("“%s” will not be paused automatically."), _tmp4_);
#line 625 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp0_);
#line 625 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp5_;
#line 6297 "libvirt-machine-properties.c"
	} else {
		const gchar* _tmp6_;
		gchar* _tmp7_;
#line 626 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _data55_->name;
#line 626 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = g_strdup_printf (_ ("“%s” will be paused automatically to save resources."), _tmp6_);
#line 626 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp0_);
#line 626 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp7_;
#line 6309 "libvirt-machine-properties.c"
	}
#line 625 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = _data55_->box;
#line 625 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp8_, _tmp0_);
#line 624 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_tmp0_);
#line 6317 "libvirt-machine-properties.c"
}


static void ___lambda127__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 624 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda127_ (self, pspec);
#line 6324 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_add_run_in_bg_property (BoxesLibvirtMachineProperties* self, GList* * list) {
	Block55Data* _data55_;
	BoxesLibvirtMachine* _tmp0_;
	GVirConnection* _tmp1_;
	GVirConnection* _tmp2_;
	BoxesApp* _tmp3_;
	GVirConnection* _tmp4_;
	GVirConnection* _tmp5_;
	GVirConnection* _tmp6_;
	gboolean _tmp7_;
	GtkBox* _tmp8_;
	GtkBox* _tmp9_;
	GtkBox* _tmp10_;
	GtkLabel* label = NULL;
	GtkLabel* _tmp11_;
	GtkLabel* _tmp12_;
	GtkStyleContext* _tmp13_;
	GtkBox* _tmp14_;
	GtkLabel* _tmp15_;
	GtkSwitch* _tmp16_;
	BoxesLibvirtMachine* _tmp17_;
	GtkSwitch* _tmp18_;
	GtkSwitch* _tmp19_;
	GtkBox* _tmp20_;
	GtkSwitch* _tmp21_;
	GtkLabel* _tmp22_;
	GtkSwitch* _tmp23_;
	BoxesLibvirtMachine* _tmp24_;
	const gchar* _tmp25_;
	const gchar* _tmp26_;
	gchar* _tmp27_;
	gchar* _tmp28_ = NULL;
	GtkSwitch* _tmp29_;
	gboolean _tmp30_;
	gboolean _tmp31_;
	GtkBox* _tmp36_;
	GtkSwitch* _tmp37_;
	GtkBox* _tmp38_;
	BoxesProperty* _tmp39_;
	BoxesProperty* _tmp40_;
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data55_ = g_slice_new0 (Block55Data);
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data55_->_ref_count_ = 1;
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data55_->self = g_object_ref (self);
#line 604 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 604 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_get_connection (_tmp0_);
#line 604 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 604 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = boxes_app_app;
#line 604 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = boxes_app_get_default_connection (_tmp3_);
#line 604 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = _tmp4_;
#line 604 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = _tmp5_;
#line 604 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = _tmp2_ != _tmp6_;
#line 604 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_tmp6_);
#line 604 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp7_) {
#line 605 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		block55_data_unref (_data55_);
#line 605 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_data55_ = NULL;
#line 605 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 6402 "libvirt-machine-properties.c"
	}
#line 607 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 20);
#line 607 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp8_);
#line 607 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data55_->box = _tmp8_;
#line 608 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = _data55_->box;
#line 608 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp9_, GTK_ALIGN_END);
#line 609 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = _data55_->box;
#line 609 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_has_tooltip ((GtkWidget*) _tmp10_, TRUE);
#line 611 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = (GtkLabel*) gtk_label_new_with_mnemonic (_ ("_Run in background"));
#line 611 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp11_);
#line 611 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	label = _tmp11_;
#line 612 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = label;
#line 612 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = gtk_widget_get_style_context ((GtkWidget*) _tmp12_);
#line 612 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_style_context_add_class (_tmp13_, "dim-label");
#line 613 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp14_ = _data55_->box;
#line 613 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp15_ = label;
#line 613 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp14_, (GtkWidget*) _tmp15_);
#line 614 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp16_ = (GtkSwitch*) gtk_switch_new ();
#line 614 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp16_);
#line 614 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data55_->toggle = _tmp16_;
#line 615 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp17_ = self->priv->machine;
#line 615 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp18_ = _data55_->toggle;
#line 615 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp17_, "run-in-bg", (GObject*) _tmp18_, "active", G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, (GClosureNotify) NULL)));
#line 617 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp19_ = _data55_->toggle;
#line 617 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp19_, GTK_ALIGN_START);
#line 618 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp20_ = _data55_->box;
#line 618 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp21_ = _data55_->toggle;
#line 618 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp20_, (GtkWidget*) _tmp21_);
#line 619 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp22_ = label;
#line 619 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp23_ = _data55_->toggle;
#line 619 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_label_set_mnemonic_widget (_tmp22_, (GtkWidget*) _tmp23_);
#line 621 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp24_ = self->priv->machine;
#line 621 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp25_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp24_);
#line 621 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp26_ = _tmp25_;
#line 621 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp27_ = g_strdup (_tmp26_);
#line 621 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data55_->name = _tmp27_;
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp29_ = _data55_->toggle;
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp30_ = gtk_switch_get_active (_tmp29_);
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp31_ = _tmp30_;
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp31_) {
#line 6482 "libvirt-machine-properties.c"
		const gchar* _tmp32_;
		gchar* _tmp33_;
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp32_ = _data55_->name;
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp33_ = g_strdup_printf (_ ("“%s” will not be paused automatically."), _tmp32_);
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp28_);
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = _tmp33_;
#line 6493 "libvirt-machine-properties.c"
	} else {
		const gchar* _tmp34_;
		gchar* _tmp35_;
#line 623 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp34_ = _data55_->name;
#line 623 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp35_ = g_strdup_printf (_ ("“%s” will be paused automatically to save resources."), _tmp34_);
#line 623 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp28_);
#line 623 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = _tmp35_;
#line 6505 "libvirt-machine-properties.c"
	}
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp36_ = _data55_->box;
#line 622 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp36_, _tmp28_);
#line 624 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp37_ = _data55_->toggle;
#line 624 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_data ((GObject*) _tmp37_, "notify::active", (GCallback) ___lambda127__g_object_notify, block55_data_ref (_data55_), (GClosureNotify) block55_data_unref, 0);
#line 629 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp38_ = _data55_->box;
#line 629 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp39_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, NULL, (GtkWidget*) _tmp38_, NULL);
#line 629 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp40_ = _tmp39_;
#line 629 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_tmp40_);
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_tmp28_);
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (label);
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	block55_data_unref (_data55_);
#line 603 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_data55_ = NULL;
#line 6531 "libvirt-machine-properties.c"
}


static BoxesSnapshotsProperty* boxes_libvirt_machine_properties_add_snapshots_property (BoxesLibvirtMachineProperties* self, GList* * list) {
	BoxesSnapshotsProperty* result = NULL;
	BoxesSnapshotsProperty* property = NULL;
	BoxesLibvirtMachine* _tmp0_;
	BoxesSnapshotsProperty* _tmp1_;
	BoxesProperty* _tmp2_;
#line 632 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 633 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 633 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_snapshots_property_new (_tmp0_);
#line 633 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	property = _tmp1_;
#line 634 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _g_object_ref0 ((BoxesProperty*) property);
#line 634 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	*list = g_list_append (*list, _tmp2_);
#line 636 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	result = property;
#line 636 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 6557 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_class_init (BoxesLibvirtMachinePropertiesClass * klass) {
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_parent_class = g_type_class_peek_parent (klass);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	g_type_class_add_private (klass, sizeof (BoxesLibvirtMachinePropertiesPrivate));
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	G_OBJECT_CLASS (klass)->finalize = boxes_libvirt_machine_properties_finalize;
#line 6568 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_boxes_iproperties_provider_interface_init (BoxesIPropertiesProviderIface * iface) {
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_boxes_iproperties_provider_parent_iface = g_type_interface_peek_parent (iface);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	iface->get_properties = (GList* (*) (BoxesIPropertiesProvider *, BoxesPropertiesPage)) boxes_libvirt_machine_properties_real_get_properties;
#line 6577 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_instance_init (BoxesLibvirtMachineProperties * self) {
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self->priv = BOXES_LIBVIRT_MACHINE_PROPERTIES_GET_PRIVATE (self);
#line 6584 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_finalize (GObject * obj) {
	BoxesLibvirtMachineProperties * self;
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES, BoxesLibvirtMachineProperties);
#line 5 "/home/fborges/checkout/gnome-boxes/src/libvirt-machine-properties.vala"
	G_OBJECT_CLASS (boxes_libvirt_machine_properties_parent_class)->finalize (obj);
#line 6594 "libvirt-machine-properties.c"
}


GType boxes_libvirt_machine_properties_get_type (void) {
	static volatile gsize boxes_libvirt_machine_properties_type_id__volatile = 0;
	if (g_once_init_enter (&boxes_libvirt_machine_properties_type_id__volatile)) {
		static const GTypeInfo g_define_type_info = { sizeof (BoxesLibvirtMachinePropertiesClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) boxes_libvirt_machine_properties_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (BoxesLibvirtMachineProperties), 0, (GInstanceInitFunc) boxes_libvirt_machine_properties_instance_init, NULL };
		static const GInterfaceInfo boxes_iproperties_provider_info = { (GInterfaceInitFunc) boxes_libvirt_machine_properties_boxes_iproperties_provider_interface_init, (GInterfaceFinalizeFunc) NULL, NULL};
		GType boxes_libvirt_machine_properties_type_id;
		boxes_libvirt_machine_properties_type_id = g_type_register_static (G_TYPE_OBJECT, "BoxesLibvirtMachineProperties", &g_define_type_info, 0);
		g_type_add_interface_static (boxes_libvirt_machine_properties_type_id, BOXES_TYPE_IPROPERTIES_PROVIDER, &boxes_iproperties_provider_info);
		g_once_init_leave (&boxes_libvirt_machine_properties_type_id__volatile, boxes_libvirt_machine_properties_type_id);
	}
	return boxes_libvirt_machine_properties_type_id__volatile;
}



