/* libvirt-machine-properties.c generated by valac 0.32.0.6-ea53, 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 <libcommon.h>
#include <gio/gio.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <glib/gstdio.h>
#include <glib/gi18n-lib.h>
#include <config.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 TYPE_PROPERTY_CREATION_FLAG (property_creation_flag_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;
#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 _Block45Data Block45Data;

#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;
typedef struct _Block46Data Block46Data;
typedef struct _Block47Data Block47Data;

#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 _Block48Data Block48Data;

#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 _Block49Data Block49Data;
typedef struct _BoxesLibvirtMachinePrivate BoxesLibvirtMachinePrivate;
typedef struct _Block50Data Block50Data;
typedef struct _Block51Data Block51Data;

#define BOXES_MACHINE_TYPE_MACHINE_STATE (boxes_machine_machine_state_get_type ())
typedef struct _Block52Data Block52Data;
#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 _Block53Data Block53Data;
typedef struct _Block54Data Block54Data;
typedef struct _BoxesLibvirtMachinePropertiesFetchSnapshotsData BoxesLibvirtMachinePropertiesFetchSnapshotsData;
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;

typedef enum  {
	PROPERTY_CREATION_FLAG_NONE = 1 << 0,
	PROPERTY_CREATION_FLAG_NO_USB = 1 << 1
} PropertyCreationFlag;

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

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, PropertyCreationFlag* flags);
	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 (*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_should_autosave) (BoxesMachine* self);
	gboolean (*get_is_local) (BoxesMachine* self);
};

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

struct _Block46Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	BoxesProperty* property;
};

struct _Block47Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	BoxesProperty* property;
};

struct _Block48Data {
	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_;
	GSimpleAsyncResult* _async_result;
	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_;
	GSimpleAsyncResult* _async_result;
	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 _Block49Data {
	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 _Block50Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	GtkButton* restart_button;
	GtkButton* shutdown_button;
	gulong state_notify_id;
	BoxesProperty* prop;
	gulong flushed_id;
};

struct _Block51Data {
	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 _Block52Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	BoxesProperty* property;
	guint64 value;
};

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

struct _Block54Data {
	int _ref_count_;
	Block53Data * _data53_;
	guint64 size;
	GVirStoragePool* pool;
};

struct _BoxesLibvirtMachinePropertiesFetchSnapshotsData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesLibvirtMachineProperties* self;
	GCancellable* cancellable;
	BoxesLibvirtMachine* _tmp0_;
	GVirDomain* _tmp1_;
	GVirDomain* _tmp2_;
	GCancellable* _tmp3_;
	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 property_creation_flag_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))
enum  {
	BOXES_LIBVIRT_MACHINE_PROPERTIES_DUMMY_PROPERTY
};
#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 __lambda12_ (BoxesLibvirtMachineProperties* self);
static gboolean boxes_libvirt_machine_properties_save_machine_name_change (BoxesLibvirtMachineProperties* self);
static void ___lambda12__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 void boxes_libvirt_machine_properties_try_enable_usb_redir (BoxesLibvirtMachineProperties* self, GError** error);
void boxes_vm_configurator_remove_usb_controllers (GVirConfigDomain* domain, GError** error);
void boxes_vm_configurator_add_usb_support (GVirConfigDomain* domain);
static void boxes_libvirt_machine_properties_try_enable_smartcard (BoxesLibvirtMachineProperties* self, GError** error);
void boxes_vm_configurator_add_smartcard_support (GVirConfigDomain* domain);
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, PropertyCreationFlag* flags);
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 void _g_list_free__g_object_unref0_ (GList* self);
GType boxes_editable_string_property_get_type (void) G_GNUC_CONST;
static Block45Data* block45_data_ref (Block45Data* _data45_);
static void block45_data_unref (void * _userdata_);
BoxesEditableStringProperty* boxes_iproperties_provider_add_editable_string_property (BoxesIPropertiesProvider* self, GList** list, const gchar* name, const gchar* value);
static void ___lambda148_ (BoxesLibvirtMachineProperties* self, BoxesEditableStringProperty* property, const gchar* name);
void boxes_collection_item_set_name (BoxesCollectionItem* self, const gchar* value);
static void ____lambda148__boxes_editable_string_property_changed (BoxesEditableStringProperty* _sender, const gchar* value, gpointer self);
static void ___lambda149_ (Block45Data* _data45_);
void boxes_editable_string_property_set_text (BoxesEditableStringProperty* self, const gchar* value);
static void ____lambda149__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);
static Block46Data* block46_data_ref (Block46Data* _data46_);
static void block46_data_unref (void * _userdata_);
BoxesProperty* boxes_iproperties_provider_add_property (BoxesIPropertiesProvider* self, GList** list, const gchar* name, GtkWidget* widget, GtkWidget* extra_widget);
static void ____lambda169_ (Block46Data* _data46_);
void boxes_libvirt_machine_update_domain_config (BoxesLibvirtMachine* self);
void boxes_property_set_reboot_required (BoxesProperty* self, gboolean value);
static void _____lambda169__gtk_button_clicked (GtkButton* _sender, gpointer self);
static Block47Data* block47_data_ref (Block47Data* _data47_);
static void block47_data_unref (void * _userdata_);
static void ____lambda170_ (Block47Data* _data47_);
static void _____lambda170__gtk_button_clicked (GtkButton* _sender, gpointer self);
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 Block48Data* block48_data_ref (Block48Data* _data48_);
static void block48_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);
static void __lambda167_ (Block48Data* _data48_);
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 ___lambda168_ (Block48Data* _data48_, const gchar* path);
static void ____lambda168__boxes_properties_window_file_chosen_func (const gchar* path, gpointer self);
static void ___lambda167__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);
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 Block49Data* block49_data_ref (Block49Data* _data49_);
static void block49_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 __lambda150_ (Block49Data* _data49_);
void boxes_resource_graph_set_points (BoxesResourceGraph* self, gdouble* value, int value_length1);
static void ___lambda150__boxes_libvirt_machine_stats_updated (BoxesLibvirtMachine* _sender, gpointer self);
static void __lambda151_ (Block49Data* _data49_);
static void ___lambda151__boxes_property_flushed (BoxesProperty* _sender, gpointer self);
static Block50Data* block50_data_ref (Block50Data* _data50_);
static void block50_data_unref (void * _userdata_);
static void __lambda152_ (BoxesLibvirtMachineProperties* self);
void boxes_machine_restart (BoxesMachine* self);
void boxes_properties_window_revert_state (BoxesPropertiesWindow* self);
static void ___lambda152__gtk_button_clicked (GtkButton* _sender, gpointer self);
gboolean boxes_machine_get_is_running (BoxesMachine* self);
static void __lambda158_ (BoxesLibvirtMachineProperties* self);
void boxes_libvirt_machine_force_shutdown (BoxesLibvirtMachine* self);
static void ___lambda158__gtk_button_clicked (GtkButton* _sender, gpointer self);
static void __lambda159_ (Block50Data* _data50_);
static void ___lambda159__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static void __lambda160_ (BoxesLibvirtMachineProperties* self);
void boxes_properties_window_show_troubleshoot_log (BoxesPropertiesWindow* self, const gchar* log);
static void ___lambda160__gtk_button_clicked (GtkButton* _sender, gpointer self);
static void __lambda161_ (Block50Data* _data50_);
static void ___lambda161__boxes_property_flushed (BoxesProperty* _sender, gpointer self);
static Block51Data* block51_data_ref (Block51Data* _data51_);
static void block51_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 ___lambda163_ (Block51Data* _data51_);
static void ____lambda163__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static Block52Data* block52_data_ref (Block52Data* _data52_);
static void block52_data_unref (void * _userdata_);
static gboolean __lambda162_ (Block52Data* _data52_);
static gboolean ___lambda162__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 Block53Data* block53_data_ref (Block53Data* _data53_);
static void block53_data_unref (void * _userdata_);
static gboolean __lambda164_ (Block53Data* _data53_);
GVirDomainDisk* boxes_libvirt_machine_get_domain_disk (BoxesLibvirtMachine* self, GError** error);
static Block54Data* block54_data_ref (Block54Data* _data54_);
static void block54_data_unref (void * _userdata_);
static void _____lambda165_ (Block54Data* _data54_, GObject* obj, GAsyncResult* res);
static void ______lambda165__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self);
static void boxes_libvirt_machine_properties_resize_storage_volume (BoxesLibvirtMachineProperties* self, guint64 size, GError** error);
static gboolean ___lambda164__gsource_func (gpointer self);
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_fetch_snapshots_data_free (gpointer _data);
void boxes_libvirt_machine_properties_fetch_snapshots (BoxesLibvirtMachineProperties* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_);
void boxes_libvirt_machine_properties_fetch_snapshots_finish (BoxesLibvirtMachineProperties* self, GAsyncResult* _res_, GError** error);
static gboolean boxes_libvirt_machine_properties_fetch_snapshots_co (BoxesLibvirtMachinePropertiesFetchSnapshotsData* _data_);
static void boxes_libvirt_machine_properties_fetch_snapshots_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
GList* boxes_libvirt_machine_properties_get_snapshots (BoxesLibvirtMachineProperties* self);
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 __lambda166_ (Block55Data* _data55_, GParamSpec* tooltip);
static void ___lambda166__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 __lambda12_ (BoxesLibvirtMachineProperties* self) {
#line 14 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_save_machine_name_change (self);
#line 892 "libvirt-machine-properties.c"
}


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


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


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


static gboolean boxes_libvirt_machine_properties_save_machine_name_change (BoxesLibvirtMachineProperties* self) {
	gboolean result = FALSE;
	GError * _inner_error_ = NULL;
#line 18 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, FALSE);
#line 937 "libvirt-machine-properties.c"
	{
		GVirConfigDomain* config = NULL;
		BoxesLibvirtMachine* _tmp0_ = NULL;
		GVirDomain* _tmp1_ = NULL;
		GVirDomain* _tmp2_ = NULL;
		GVirConfigDomain* _tmp3_ = NULL;
		GVirConfigDomain* _tmp4_ = NULL;
		BoxesLibvirtMachine* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
		const gchar* _tmp7_ = NULL;
		BoxesLibvirtMachine* _tmp8_ = NULL;
		GVirDomain* _tmp9_ = NULL;
		GVirDomain* _tmp10_ = NULL;
		GVirConfigDomain* _tmp11_ = NULL;
#line 20 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = self->priv->machine;
#line 20 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = boxes_libvirt_machine_get_domain (_tmp0_);
#line 20 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = _tmp1_;
#line 20 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = gvir_domain_get_config (_tmp2_, (guint) GVIR_DOMAIN_XML_INACTIVE, &_inner_error_);
#line 20 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		config = _tmp3_;
#line 20 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 964 "libvirt-machine-properties.c"
			goto __catch33_g_error;
		}
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = config;
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = self->priv->machine;
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp5_);
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = _tmp6_;
#line 22 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_config_domain_set_title (_tmp4_, _tmp7_);
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = self->priv->machine;
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = boxes_libvirt_machine_get_domain (_tmp8_);
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = _tmp9_;
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = config;
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_domain_set_config (_tmp10_, _tmp11_, &_inner_error_);
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 24 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (config);
#line 991 "libvirt-machine-properties.c"
			goto __catch33_g_error;
		}
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = TRUE;
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 26 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 1000 "libvirt-machine-properties.c"
	}
	goto __finally33;
	__catch33_g_error:
	{
		GError* _error_ = NULL;
		BoxesLibvirtMachine* _tmp12_ = NULL;
		GVirDomain* _tmp13_ = NULL;
		GVirDomain* _tmp14_ = NULL;
		const gchar* _tmp15_ = NULL;
		BoxesLibvirtMachine* _tmp16_ = NULL;
		const gchar* _tmp17_ = NULL;
		const gchar* _tmp18_ = NULL;
		GError* _tmp19_ = NULL;
		const gchar* _tmp20_ = NULL;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = self->priv->machine;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = boxes_libvirt_machine_get_domain (_tmp12_);
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = _tmp13_;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = gvir_domain_get_name (_tmp14_);
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = self->priv->machine;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp16_);
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = _tmp17_;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _error_;
#line 28 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = _tmp19_->message;
#line 28 "/home/zeenix/checkout/gnome/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/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = FALSE;
#line 30 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 30 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 1045 "libvirt-machine-properties.c"
	}
	__finally33:
#line 19 "/home/zeenix/checkout/gnome/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/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_clear_error (&_inner_error_);
#line 19 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 1054 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_try_enable_usb_redir (BoxesLibvirtMachineProperties* self, GError** error) {
	GVirConfigDomain* config = NULL;
	BoxesLibvirtMachine* _tmp0_ = NULL;
	GVirDomain* _tmp1_ = NULL;
	GVirDomain* _tmp2_ = NULL;
	GVirConfigDomain* _tmp3_ = NULL;
	GVirConfigDomain* _tmp4_ = NULL;
	GVirConfigDomain* _tmp5_ = NULL;
	BoxesLibvirtMachine* _tmp6_ = NULL;
	GVirDomain* _tmp7_ = NULL;
	GVirDomain* _tmp8_ = NULL;
	GVirConfigDomain* _tmp9_ = NULL;
	GError * _inner_error_ = NULL;
#line 34 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_get_domain (_tmp0_);
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = gvir_domain_get_config (_tmp2_, (guint) GVIR_DOMAIN_XML_INACTIVE, &_inner_error_);
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	config = _tmp3_;
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_propagate_error (error, _inner_error_);
#line 35 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 1089 "libvirt-machine-properties.c"
	}
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = config;
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_vm_configurator_remove_usb_controllers (_tmp4_, &_inner_error_);
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_propagate_error (error, _inner_error_);
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 38 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 1103 "libvirt-machine-properties.c"
	}
#line 41 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = config;
#line 41 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_vm_configurator_add_usb_support (_tmp5_);
#line 44 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = self->priv->machine;
#line 44 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = boxes_libvirt_machine_get_domain (_tmp6_);
#line 44 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = _tmp7_;
#line 44 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = config;
#line 44 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gvir_domain_set_config (_tmp8_, _tmp9_, &_inner_error_);
#line 44 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 44 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_propagate_error (error, _inner_error_);
#line 44 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 44 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 1127 "libvirt-machine-properties.c"
	}
#line 34 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (config);
#line 1131 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_try_enable_smartcard (BoxesLibvirtMachineProperties* self, GError** error) {
	GVirConfigDomain* config = NULL;
	BoxesLibvirtMachine* _tmp0_ = NULL;
	GVirDomain* _tmp1_ = NULL;
	GVirDomain* _tmp2_ = NULL;
	GVirConfigDomain* _tmp3_ = NULL;
	GVirConfigDomain* _tmp4_ = NULL;
	BoxesLibvirtMachine* _tmp5_ = NULL;
	GVirDomain* _tmp6_ = NULL;
	GVirDomain* _tmp7_ = NULL;
	GVirConfigDomain* _tmp8_ = NULL;
	GError * _inner_error_ = NULL;
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_get_domain (_tmp0_);
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = gvir_domain_get_config (_tmp2_, (guint) GVIR_DOMAIN_XML_INACTIVE, &_inner_error_);
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	config = _tmp3_;
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_propagate_error (error, _inner_error_);
#line 48 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 1165 "libvirt-machine-properties.c"
	}
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = config;
#line 50 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_vm_configurator_add_smartcard_support (_tmp4_);
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = self->priv->machine;
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = boxes_libvirt_machine_get_domain (_tmp5_);
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = _tmp6_;
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = config;
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gvir_domain_set_config (_tmp7_, _tmp8_, &_inner_error_);
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_propagate_error (error, _inner_error_);
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 53 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 1189 "libvirt-machine-properties.c"
	}
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (config);
#line 1193 "libvirt-machine-properties.c"
}


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


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


static gchar* boxes_libvirt_machine_properties_collect_logs (BoxesLibvirtMachineProperties* self) {
	gchar* result = NULL;
	GString* builder = NULL;
	GString* _tmp0_ = NULL;
	GString* _tmp1_ = NULL;
	BoxesLibvirtMachine* _tmp2_ = NULL;
	BoxesCollectionSource* _tmp3_ = NULL;
	gchar* _tmp4_ = NULL;
	gchar* _tmp5_ = NULL;
	gchar* _tmp6_ = NULL;
	GString* _tmp7_ = NULL;
	BoxesLibvirtMachine* _tmp8_ = NULL;
	GVirDomain* _tmp9_ = NULL;
	GVirDomain* _tmp10_ = NULL;
	const gchar* _tmp11_ = NULL;
	GString* _tmp12_ = NULL;
	BoxesLibvirtMachine* _tmp13_ = NULL;
	GVirDomain* _tmp14_ = NULL;
	GVirDomain* _tmp15_ = NULL;
	const gchar* _tmp16_ = NULL;
	const gchar* _tmp17_ = NULL;
	BoxesLibvirtMachine* _tmp18_ = NULL;
	GVirDomain* _tmp19_ = NULL;
	GVirDomain* _tmp20_ = NULL;
	gboolean _tmp21_ = FALSE;
	GString* _tmp22_ = NULL;
	BoxesLibvirtMachine* _tmp49_ = NULL;
	BoxesDisplay* _tmp50_ = NULL;
	BoxesDisplay* _tmp51_ = NULL;
	GString* _tmp80_ = NULL;
	const gchar* _tmp81_ = NULL;
	gchar* _tmp82_ = NULL;
	GError * _inner_error_ = NULL;
#line 56 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = g_string_new ("");
#line 57 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	builder = _tmp0_;
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = builder;
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = self->priv->machine;
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = ((BoxesMachine*) _tmp2_)->source;
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = boxes_collection_source_get_uri (_tmp3_);
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = _tmp4_;
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = _tmp5_;
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_string_append_printf (_tmp1_, "Broker URL: %s\n", _tmp6_);
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_tmp6_);
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = builder;
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = self->priv->machine;
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = boxes_libvirt_machine_get_domain (_tmp8_);
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = _tmp9_;
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = gvir_domain_get_name (_tmp10_);
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_string_append_printf (_tmp7_, "Domain: %s\n", _tmp11_);
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = builder;
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = self->priv->machine;
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp14_ = boxes_libvirt_machine_get_domain (_tmp13_);
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp15_ = _tmp14_;
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp16_ = gvir_domain_get_uuid (_tmp15_);
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_string_append_printf (_tmp12_, "UUID: %s\n", _tmp16_);
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp18_ = self->priv->machine;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp19_ = boxes_libvirt_machine_get_domain (_tmp18_);
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp20_ = _tmp19_;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp21_ = gvir_domain_get_persistent (_tmp20_);
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp21_) {
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = "yes";
#line 1302 "libvirt-machine-properties.c"
	} else {
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = "no";
#line 1306 "libvirt-machine-properties.c"
	}
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp22_ = builder;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_string_append_printf (_tmp22_, "Persistent: %s\n", _tmp17_);
#line 1312 "libvirt-machine-properties.c"
	{
		GVirDomainInfo* info = NULL;
		BoxesLibvirtMachine* _tmp23_ = NULL;
		GVirDomain* _tmp24_ = NULL;
		GVirDomain* _tmp25_ = NULL;
		GVirDomainInfo* _tmp26_ = NULL;
		GString* _tmp27_ = NULL;
		GVirDomainInfo* _tmp28_ = NULL;
		guint64 _tmp29_ = 0ULL;
		GString* _tmp30_ = NULL;
		GVirDomainInfo* _tmp31_ = NULL;
		guint64 _tmp32_ = 0ULL;
		GVirNodeInfo* _tmp33_ = NULL;
		BoxesLibvirtMachine* _tmp34_ = NULL;
		GVirConnection* _tmp35_ = NULL;
		GVirConnection* _tmp36_ = NULL;
		GVirNodeInfo* _tmp37_ = NULL;
		GString* _tmp38_ = NULL;
		GVirNodeInfo* _tmp39_ = NULL;
		GVirNodeInfo* _tmp40_ = NULL;
		gulong _tmp41_ = 0UL;
		GString* _tmp42_ = NULL;
		GVirDomainInfo* _tmp43_ = NULL;
		guint16 _tmp44_ = 0U;
		GString* _tmp45_ = NULL;
		GVirDomainInfo* _tmp46_ = NULL;
		GVirDomainState _tmp47_ = 0;
		GEnumValue* _tmp48_;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = self->priv->machine;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = boxes_libvirt_machine_get_domain (_tmp23_);
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = _tmp24_;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = gvir_domain_get_info (_tmp25_, &_inner_error_);
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		info = _tmp26_;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1353 "libvirt-machine-properties.c"
			goto __catch34_g_error;
		}
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = builder;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = info;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = _tmp28_->cpuTime;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp27_, "Cpu time: %" G_GINT64_MODIFIER "d\n", _tmp29_);
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp30_ = builder;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp31_ = info;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp32_ = _tmp31_->memory;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp30_, "Memory: %" G_GINT64_MODIFIER "d KiB\n", _tmp32_);
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp34_ = self->priv->machine;
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp35_ = boxes_libvirt_machine_get_connection (_tmp34_);
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp36_ = _tmp35_;
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp37_ = gvir_connection_get_node_info (_tmp36_, &_inner_error_);
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp33_ = _tmp37_;
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirDomainInfo_free0 (info);
#line 1386 "libvirt-machine-properties.c"
			goto __catch34_g_error;
		}
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp38_ = builder;
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp39_ = _tmp33_;
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp33_ = NULL;
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp40_ = _tmp39_;
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp41_ = _tmp40_->memory;
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp38_, "Max memory: %" G_GINT64_MODIFIER "d KiB\n", _tmp41_);
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirNodeInfo_free0 (_tmp40_);
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp42_ = builder;
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp43_ = info;
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp44_ = _tmp43_->nrVirtCpu;
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp42_, "CPUs: %d\n", (gint) _tmp44_);
#line 70 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp45_ = builder;
#line 70 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp46_ = info;
#line 70 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp47_ = _tmp46_->state;
#line 70 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp48_ = g_enum_get_value (g_type_class_ref (gvir_domain_state_get_type ()), _tmp47_);
#line 70 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp45_, "State: %s\n", (_tmp48_ != NULL) ? _tmp48_->value_name : NULL);
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirNodeInfo_free0 (_tmp33_);
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirDomainInfo_free0 (info);
#line 1425 "libvirt-machine-properties.c"
	}
	goto __finally34;
	__catch34_g_error:
	{
		GError* e = NULL;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		e = _inner_error_;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (e);
#line 1437 "libvirt-machine-properties.c"
	}
	__finally34:
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_string_free0 (builder);
#line 63 "/home/zeenix/checkout/gnome/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 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return NULL;
#line 1450 "libvirt-machine-properties.c"
	}
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp49_ = self->priv->machine;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp50_ = boxes_machine_get_display ((BoxesMachine*) _tmp49_);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp51_ = _tmp50_;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp51_ != NULL) {
#line 1460 "libvirt-machine-properties.c"
		BoxesLibvirtMachine* _tmp52_ = NULL;
		BoxesDisplay* _tmp53_ = NULL;
		BoxesDisplay* _tmp54_ = NULL;
		GString* _tmp55_ = NULL;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp52_ = self->priv->machine;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp53_ = boxes_machine_get_display ((BoxesMachine*) _tmp52_);
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp54_ = _tmp53_;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp55_ = builder;
#line 75 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_display_collect_logs (_tmp54_, _tmp55_);
#line 1475 "libvirt-machine-properties.c"
	}
	{
		GVirConfigDomain* conf = NULL;
		BoxesLibvirtMachine* _tmp56_ = NULL;
		GVirDomain* _tmp57_ = NULL;
		GVirDomain* _tmp58_ = NULL;
		GVirConfigDomain* _tmp59_ = NULL;
		GString* _tmp60_ = NULL;
		GString* _tmp61_ = NULL;
		GString* _tmp62_ = NULL;
		gchar* _tmp63_ = NULL;
		gchar* _tmp64_ = NULL;
		GString* _tmp65_ = NULL;
#line 79 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp56_ = self->priv->machine;
#line 79 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp57_ = boxes_libvirt_machine_get_domain (_tmp56_);
#line 79 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp58_ = _tmp57_;
#line 79 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp59_ = gvir_domain_get_config (_tmp58_, (guint) GVIR_DOMAIN_XML_NONE, &_inner_error_);
#line 79 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		conf = _tmp59_;
#line 79 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1501 "libvirt-machine-properties.c"
			goto __catch35_g_error;
		}
#line 80 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp60_ = builder;
#line 80 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp60_, "\nDomain config:\n");
#line 81 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp61_ = builder;
#line 81 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp61_, "------------------------------------------------------------\n");
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp62_ = builder;
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp63_ = gvir_config_object_to_xml ((GVirConfigObject*) conf);
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp64_ = _tmp63_;
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append (_tmp62_, _tmp64_);
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp64_);
#line 84 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp65_ = builder;
#line 84 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp65_, "%s", "\n" "------------------------------------------------------------\n");
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (conf);
#line 1528 "libvirt-machine-properties.c"
	}
	goto __finally35;
	__catch35_g_error:
	{
		GError* _error_ = NULL;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 1540 "libvirt-machine-properties.c"
	}
	__finally35:
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_string_free0 (builder);
#line 78 "/home/zeenix/checkout/gnome/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 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return NULL;
#line 1553 "libvirt-machine-properties.c"
	}
	{
		gchar* logfile = NULL;
		const gchar* _tmp66_ = NULL;
		BoxesLibvirtMachine* _tmp67_ = NULL;
		GVirDomain* _tmp68_ = NULL;
		GVirDomain* _tmp69_ = NULL;
		const gchar* _tmp70_ = NULL;
		gchar* _tmp71_ = NULL;
		gchar* _tmp72_ = NULL;
		gchar* _tmp73_ = NULL;
		gchar* _tmp74_ = NULL;
		gchar* data = NULL;
		gchar* _tmp75_ = NULL;
		GString* _tmp76_ = NULL;
		GString* _tmp77_ = NULL;
		GString* _tmp78_ = NULL;
		GString* _tmp79_ = NULL;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp66_ = g_get_user_cache_dir ();
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp67_ = self->priv->machine;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp68_ = boxes_libvirt_machine_get_domain (_tmp67_);
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp69_ = _tmp68_;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp70_ = gvir_domain_get_name (_tmp69_);
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp71_ = g_strconcat (_tmp70_, ".log", NULL);
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp72_ = _tmp71_;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp73_ = g_build_filename (_tmp66_, "libvirt/qemu/log", _tmp72_, NULL);
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp74_ = _tmp73_;
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp72_);
#line 90 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		logfile = _tmp74_;
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_file_get_contents (logfile, &_tmp75_, NULL, &_inner_error_);
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (data);
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		data = _tmp75_;
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (data);
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (logfile);
#line 1606 "libvirt-machine-properties.c"
			goto __catch36_g_error;
		}
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp76_ = builder;
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp76_, "\nQEMU log:\n");
#line 96 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp77_ = builder;
#line 96 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp77_, "------------------------------------------------------------\n");
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp78_ = builder;
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append (_tmp78_, data);
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp79_ = builder;
#line 99 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp79_, "------------------------------------------------------------\n");
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (data);
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (logfile);
#line 1629 "libvirt-machine-properties.c"
	}
	goto __finally36;
	__catch36_g_error:
	{
		GError* e = NULL;
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		e = _inner_error_;
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (e);
#line 1641 "libvirt-machine-properties.c"
	}
	__finally36:
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_string_free0 (builder);
#line 89 "/home/zeenix/checkout/gnome/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 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return NULL;
#line 1654 "libvirt-machine-properties.c"
	}
#line 102 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp80_ = builder;
#line 102 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp81_ = _tmp80_->str;
#line 102 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp82_ = g_strdup (_tmp81_);
#line 102 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	result = _tmp82_;
#line 102 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_string_free0 (builder);
#line 102 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 1668 "libvirt-machine-properties.c"
}


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


static void _g_list_free__g_object_unref0_ (GList* self) {
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_list_foreach (self, (GFunc) _g_object_unref0_, NULL);
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_list_free (self);
#line 1684 "libvirt-machine-properties.c"
}


static Block45Data* block45_data_ref (Block45Data* _data45_) {
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data45_->_ref_count_);
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data45_;
#line 1693 "libvirt-machine-properties.c"
}


static void block45_data_unref (void * _userdata_) {
	Block45Data* _data45_;
	_data45_ = (Block45Data*) _userdata_;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data45_->_ref_count_)) {
#line 1702 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data45_->self;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data45_->name_property);
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block45Data, _data45_);
#line 1712 "libvirt-machine-properties.c"
	}
}


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


static void ____lambda148__boxes_editable_string_property_changed (BoxesEditableStringProperty* _sender, const gchar* value, gpointer self) {
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda148_ ((BoxesLibvirtMachineProperties*) self, _sender, value);
#line 1737 "libvirt-machine-properties.c"
}


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


static void ___lambda149_ (Block45Data* _data45_) {
	BoxesLibvirtMachineProperties* self;
	BoxesEditableStringProperty* _tmp0_ = NULL;
	BoxesLibvirtMachine* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
#line 124 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data45_->self;
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _data45_->name_property;
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp1_);
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_editable_string_property_set_text (_tmp0_, _tmp3_);
#line 1766 "libvirt-machine-properties.c"
}


static void ____lambda149__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 124 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda149_ (self);
#line 1773 "libvirt-machine-properties.c"
}


static Block46Data* block46_data_ref (Block46Data* _data46_) {
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data46_->_ref_count_);
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data46_;
#line 1782 "libvirt-machine-properties.c"
}


static void block46_data_unref (void * _userdata_) {
	Block46Data* _data46_;
	_data46_ = (Block46Data*) _userdata_;
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data46_->_ref_count_)) {
#line 1791 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data46_->self;
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data46_->property);
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block46Data, _data46_);
#line 1801 "libvirt-machine-properties.c"
	}
}


static void ____lambda169_ (Block46Data* _data46_) {
	BoxesLibvirtMachineProperties* self;
	GError * _inner_error_ = NULL;
#line 192 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data46_->self;
#line 1811 "libvirt-machine-properties.c"
	{
		BoxesLibvirtMachine* _tmp0_ = NULL;
		BoxesProperty* _tmp1_ = NULL;
		BoxesProperty* _tmp2_ = NULL;
#line 194 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_properties_try_enable_usb_redir (self, &_inner_error_);
#line 194 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1820 "libvirt-machine-properties.c"
			goto __catch39_g_error;
		}
#line 195 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = self->priv->machine;
#line 195 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_update_domain_config (_tmp0_);
#line 196 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = _data46_->property;
#line 196 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_signal_emit_by_name (_tmp1_, "refresh-properties");
#line 197 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = _data46_->property;
#line 197 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_reboot_required (_tmp2_, TRUE);
#line 1835 "libvirt-machine-properties.c"
	}
	goto __finally39;
	__catch39_g_error:
	{
		GError* _error_ = NULL;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 199 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:199: Failed to enable usb");
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 1849 "libvirt-machine-properties.c"
	}
	__finally39:
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 193 "/home/zeenix/checkout/gnome/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 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 1860 "libvirt-machine-properties.c"
	}
}


static void _____lambda169__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 192 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	____lambda169_ (self);
#line 1868 "libvirt-machine-properties.c"
}


static Block47Data* block47_data_ref (Block47Data* _data47_) {
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data47_->_ref_count_);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data47_;
#line 1877 "libvirt-machine-properties.c"
}


static void block47_data_unref (void * _userdata_) {
	Block47Data* _data47_;
	_data47_ = (Block47Data*) _userdata_;
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data47_->_ref_count_)) {
#line 1886 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data47_->self;
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data47_->property);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block47Data, _data47_);
#line 1896 "libvirt-machine-properties.c"
	}
}


static void ____lambda170_ (Block47Data* _data47_) {
	BoxesLibvirtMachineProperties* self;
	GError * _inner_error_ = NULL;
#line 210 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data47_->self;
#line 1906 "libvirt-machine-properties.c"
	{
		BoxesLibvirtMachine* _tmp0_ = NULL;
		BoxesProperty* _tmp1_ = NULL;
		BoxesProperty* _tmp2_ = NULL;
#line 212 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_properties_try_enable_smartcard (self, &_inner_error_);
#line 212 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1915 "libvirt-machine-properties.c"
			goto __catch40_g_error;
		}
#line 213 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = self->priv->machine;
#line 213 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_update_domain_config (_tmp0_);
#line 214 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = _data47_->property;
#line 214 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_signal_emit_by_name (_tmp1_, "refresh-properties");
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = _data47_->property;
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_reboot_required (_tmp2_, TRUE);
#line 1930 "libvirt-machine-properties.c"
	}
	goto __finally40;
	__catch40_g_error:
	{
		GError* _error_ = NULL;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 217 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:217: Failed to enable smartcard");
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 1944 "libvirt-machine-properties.c"
	}
	__finally40:
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 211 "/home/zeenix/checkout/gnome/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 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 1955 "libvirt-machine-properties.c"
	}
}


static void _____lambda170__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 210 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	____lambda170_ (self);
#line 1963 "libvirt-machine-properties.c"
}


static GList* boxes_libvirt_machine_properties_real_get_properties (BoxesIPropertiesProvider* base, BoxesPropertiesPage page, PropertyCreationFlag* flags) {
	BoxesLibvirtMachineProperties * self;
	GList* result = NULL;
	GList* list = NULL;
	gboolean _tmp0_ = FALSE;
	BoxesLibvirtMachine* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
	BoxesPropertiesPage _tmp10_ = 0;
	GError * _inner_error_ = NULL;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = (BoxesLibvirtMachineProperties*) base;
#line 106 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	list = NULL;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_machine_get_is_on ((BoxesMachine*) _tmp1_);
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp3_) {
#line 1989 "libvirt-machine-properties.c"
		BoxesLibvirtMachine* _tmp4_ = NULL;
		BoxesDisplay* _tmp5_ = NULL;
		BoxesDisplay* _tmp6_ = NULL;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = self->priv->machine;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = boxes_machine_get_display ((BoxesMachine*) _tmp4_);
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _tmp5_;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp6_ == NULL;
#line 2001 "libvirt-machine-properties.c"
	} else {
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = FALSE;
#line 2005 "libvirt-machine-properties.c"
	}
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp0_) {
#line 2009 "libvirt-machine-properties.c"
		{
			BoxesLibvirtMachine* _tmp7_ = NULL;
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp7_ = self->priv->machine;
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_update_display (_tmp7_, &_inner_error_);
#line 111 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2018 "libvirt-machine-properties.c"
				goto __catch37_g_error;
			}
		}
		goto __finally37;
		__catch37_g_error:
		{
			GError* e = NULL;
			GError* _tmp8_ = NULL;
			const gchar* _tmp9_ = NULL;
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			e = _inner_error_;
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_inner_error_ = NULL;
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp8_ = e;
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp9_ = _tmp8_->message;
#line 113 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_warning ("libvirt-machine-properties.vala:113: %s", _tmp9_);
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_error_free0 (e);
#line 2040 "libvirt-machine-properties.c"
		}
		__finally37:
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__g_list_free__g_object_unref0_0 (list);
#line 110 "/home/zeenix/checkout/gnome/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 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_clear_error (&_inner_error_);
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return NULL;
#line 2053 "libvirt-machine-properties.c"
		}
	}
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = page;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_tmp10_) {
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case BOXES_PROPERTIES_PAGE_GENERAL:
#line 2062 "libvirt-machine-properties.c"
		{
			Block45Data* _data45_;
			BoxesEditableStringProperty* property = NULL;
			const gchar* _tmp11_ = NULL;
			BoxesLibvirtMachine* _tmp12_ = NULL;
			const gchar* _tmp13_ = NULL;
			const gchar* _tmp14_ = NULL;
			BoxesEditableStringProperty* _tmp15_ = NULL;
			BoxesEditableStringProperty* _tmp16_ = NULL;
			BoxesEditableStringProperty* _tmp17_ = NULL;
			BoxesEditableStringProperty* _tmp18_ = NULL;
			BoxesLibvirtMachine* _tmp19_ = NULL;
			gchar* ip = NULL;
			BoxesLibvirtMachine* _tmp20_ = NULL;
			gchar* _tmp21_ = NULL;
			const gchar* _tmp22_ = NULL;
			const gchar* _tmp27_ = NULL;
			BoxesLibvirtMachine* _tmp28_ = NULL;
			BoxesCollectionSource* _tmp29_ = NULL;
			gchar* _tmp30_ = NULL;
			gchar* _tmp31_ = NULL;
			gchar* _tmp32_ = NULL;
			BoxesStringProperty* _tmp33_ = NULL;
			BoxesStringProperty* _tmp34_ = NULL;
			BoxesLibvirtMachine* _tmp35_ = NULL;
			BoxesDisplay* _tmp36_ = NULL;
			BoxesDisplay* _tmp37_ = NULL;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data45_ = g_slice_new0 (Block45Data);
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data45_->_ref_count_ = 1;
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data45_->self = g_object_ref (self);
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp11_ = _ ("_Name");
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp12_ = self->priv->machine;
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp13_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp12_);
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp14_ = _tmp13_;
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp15_ = boxes_iproperties_provider_add_editable_string_property ((BoxesIPropertiesProvider*) self, &list, _tmp11_, _tmp14_);
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			property = _tmp15_;
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp16_ = property;
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_connect_object (_tmp16_, "changed", (GCallback) ____lambda148__boxes_editable_string_property_changed, self, 0);
#line 123 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp17_ = property;
#line 123 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp18_ = _g_object_ref0 (_tmp17_);
#line 123 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data45_->name_property = _tmp18_;
#line 124 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp19_ = self->priv->machine;
#line 124 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_connect_data ((GObject*) _tmp19_, "notify::name", (GCallback) ____lambda149__g_object_notify, block45_data_ref (_data45_), (GClosureNotify) block45_data_unref, 0);
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp20_ = self->priv->machine;
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp21_ = boxes_libvirt_machine_get_ip_address (_tmp20_);
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			ip = _tmp21_;
#line 129 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp22_ = ip;
#line 129 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp22_ != NULL) {
#line 2132 "libvirt-machine-properties.c"
				const gchar* _tmp23_ = NULL;
				const gchar* _tmp24_ = NULL;
				BoxesStringProperty* _tmp25_ = NULL;
				BoxesStringProperty* _tmp26_ = NULL;
#line 130 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp23_ = _ ("IP Address");
#line 130 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp24_ = ip;
#line 130 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp25_ = boxes_iproperties_provider_add_string_property ((BoxesIPropertiesProvider*) self, &list, _tmp23_, _tmp24_);
#line 130 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp26_ = _tmp25_;
#line 130 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_tmp26_);
#line 2147 "libvirt-machine-properties.c"
			}
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp27_ = _ ("Broker");
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp28_ = self->priv->machine;
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp29_ = ((BoxesMachine*) _tmp28_)->source;
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp30_ = boxes_collection_source_get_name (_tmp29_);
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp31_ = _tmp30_;
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp32_ = _tmp31_;
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp33_ = boxes_iproperties_provider_add_string_property ((BoxesIPropertiesProvider*) self, &list, _tmp27_, _tmp32_);
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp34_ = _tmp33_;
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_tmp34_);
#line 132 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_tmp32_);
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp35_ = self->priv->machine;
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp36_ = boxes_machine_get_display ((BoxesMachine*) _tmp35_);
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp37_ = _tmp36_;
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp37_ != NULL) {
#line 2177 "libvirt-machine-properties.c"
				const gchar* _tmp38_ = NULL;
				BoxesLibvirtMachine* _tmp39_ = NULL;
				BoxesDisplay* _tmp40_ = NULL;
				BoxesDisplay* _tmp41_ = NULL;
				const gchar* _tmp42_ = NULL;
				const gchar* _tmp43_ = NULL;
				BoxesStringProperty* _tmp44_ = NULL;
				BoxesStringProperty* _tmp45_ = NULL;
				const gchar* _tmp46_ = NULL;
				BoxesLibvirtMachine* _tmp47_ = NULL;
				BoxesDisplay* _tmp48_ = NULL;
				BoxesDisplay* _tmp49_ = NULL;
				gchar* _tmp50_ = NULL;
				gchar* _tmp51_ = NULL;
				gchar* _tmp52_ = NULL;
				BoxesStringProperty* _tmp53_ = NULL;
				BoxesStringProperty* _tmp54_ = NULL;
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp38_ = _ ("Display Protocol");
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp39_ = self->priv->machine;
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp40_ = boxes_machine_get_display ((BoxesMachine*) _tmp39_);
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp41_ = _tmp40_;
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp42_ = boxes_display_get_protocol (_tmp41_);
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp43_ = _tmp42_;
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp44_ = boxes_iproperties_provider_add_string_property ((BoxesIPropertiesProvider*) self, &list, _tmp38_, _tmp43_);
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp45_ = _tmp44_;
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_tmp45_);
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp46_ = _ ("Display URI");
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp47_ = self->priv->machine;
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp48_ = boxes_machine_get_display ((BoxesMachine*) _tmp47_);
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp49_ = _tmp48_;
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp50_ = boxes_display_get_uri (_tmp49_);
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp51_ = _tmp50_;
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp52_ = _tmp51_;
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp53_ = boxes_iproperties_provider_add_string_property ((BoxesIPropertiesProvider*) self, &list, _tmp46_, _tmp52_);
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp54_ = _tmp53_;
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_tmp54_);
#line 137 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_free0 (_tmp52_);
#line 2235 "libvirt-machine-properties.c"
			}
#line 140 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (ip);
#line 140 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (property);
#line 140 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			block45_data_unref (_data45_);
#line 140 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data45_ = NULL;
#line 140 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			break;
#line 2247 "libvirt-machine-properties.c"
		}
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case BOXES_PROPERTIES_PAGE_SYSTEM:
#line 2251 "libvirt-machine-properties.c"
		{
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_properties_add_resource_usage_graphs (self, &list);
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_properties_add_system_props_buttons (self, &list);
#line 147 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_properties_get_resources_properties (self, &list);
#line 149 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_properties_add_run_in_bg_property (self, &list);
#line 151 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			break;
#line 2263 "libvirt-machine-properties.c"
		}
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case BOXES_PROPERTIES_PAGE_DEVICES:
#line 2267 "libvirt-machine-properties.c"
		{
			BoxesLibvirtMachine* _tmp55_ = NULL;
			GVirConfigDomain* _tmp56_ = NULL;
			GVirConfigDomain* _tmp57_ = NULL;
			GList* _tmp58_ = NULL;
			gboolean has_usb_redir = FALSE;
			gboolean has_smartcard = FALSE;
			gboolean _tmp82_ = FALSE;
			gboolean _tmp84_ = FALSE;
			gboolean _tmp85_ = FALSE;
			gboolean _tmp93_ = FALSE;
			gboolean _tmp94_ = FALSE;
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp55_ = self->priv->machine;
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp56_ = boxes_libvirt_machine_get_domain_config (_tmp55_);
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp57_ = _tmp56_;
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp58_ = gvir_config_domain_get_devices (_tmp57_);
#line 2288 "libvirt-machine-properties.c"
			{
				GList* device_config_collection = NULL;
				GList* device_config_it = NULL;
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				device_config_collection = _tmp58_;
#line 154 "/home/zeenix/checkout/gnome/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 2296 "libvirt-machine-properties.c"
					GVirConfigDomainDevice* _tmp59_ = NULL;
					GVirConfigDomainDevice* device_config = NULL;
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp59_ = _g_object_ref0 ((GVirConfigDomainDevice*) device_config_it->data);
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					device_config = _tmp59_;
#line 2303 "libvirt-machine-properties.c"
					{
						GVirConfigDomainDevice* _tmp60_ = NULL;
						GVirConfigDomainDisk* disk_config = NULL;
						GVirConfigDomainDevice* _tmp61_ = NULL;
						GVirConfigDomainDisk* _tmp62_ = NULL;
						GVirConfigDomainDiskGuestDeviceType disk_type = 0;
						GVirConfigDomainDisk* _tmp63_ = NULL;
						GVirConfigDomainDiskGuestDeviceType _tmp64_ = 0;
						GVirConfigDomainDiskGuestDeviceType _tmp65_ = 0;
#line 155 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp60_ = device_config;
#line 155 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						if (!G_TYPE_CHECK_INSTANCE_TYPE (_tmp60_, gvir_config_domain_disk_get_type ())) {
#line 156 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							_g_object_unref0 (device_config);
#line 156 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							continue;
#line 2321 "libvirt-machine-properties.c"
						}
#line 157 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp61_ = device_config;
#line 157 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp62_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp61_, gvir_config_domain_disk_get_type ()) ? ((GVirConfigDomainDisk*) _tmp61_) : NULL);
#line 157 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						disk_config = _tmp62_;
#line 158 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp63_ = disk_config;
#line 158 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp64_ = gvir_config_domain_disk_get_guest_device_type (_tmp63_);
#line 158 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						disk_type = _tmp64_;
#line 159 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp65_ = disk_type;
#line 159 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						if (_tmp65_ == GVIR_CONFIG_DOMAIN_DISK_GUEST_DEVICE_CDROM) {
#line 2339 "libvirt-machine-properties.c"
							GVirConfigDomainDisk* _tmp66_ = NULL;
#line 160 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							_tmp66_ = disk_config;
#line 160 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							boxes_libvirt_machine_properties_add_cdrom_property (self, _tmp66_, &list);
#line 2345 "libvirt-machine-properties.c"
						}
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_g_object_unref0 (disk_config);
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_g_object_unref0 (device_config);
#line 2351 "libvirt-machine-properties.c"
					}
				}
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				__g_list_free__g_object_unref0_0 (device_config_collection);
#line 2356 "libvirt-machine-properties.c"
			}
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			has_usb_redir = FALSE;
#line 164 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			has_smartcard = FALSE;
#line 2362 "libvirt-machine-properties.c"
			{
				GVirConfigDomain* inactive_config = NULL;
				BoxesLibvirtMachine* _tmp67_ = NULL;
				GVirDomain* _tmp68_ = NULL;
				GVirDomain* _tmp69_ = NULL;
				GVirConfigDomain* _tmp70_ = NULL;
				GVirConfigDomain* _tmp71_ = NULL;
				GList* _tmp72_ = NULL;
#line 168 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp67_ = self->priv->machine;
#line 168 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp68_ = boxes_libvirt_machine_get_domain (_tmp67_);
#line 168 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp69_ = _tmp68_;
#line 168 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp70_ = gvir_domain_get_config (_tmp69_, (guint) GVIR_DOMAIN_XML_INACTIVE, &_inner_error_);
#line 168 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				inactive_config = _tmp70_;
#line 168 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2383 "libvirt-machine-properties.c"
					goto __catch38_g_error;
				}
#line 169 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp71_ = inactive_config;
#line 169 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp72_ = gvir_config_domain_get_devices (_tmp71_);
#line 2390 "libvirt-machine-properties.c"
				{
					GList* device_collection = NULL;
					GList* device_it = NULL;
#line 169 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					device_collection = _tmp72_;
#line 169 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					for (device_it = device_collection; device_it != NULL; device_it = device_it->next) {
#line 2398 "libvirt-machine-properties.c"
						GVirConfigDomainDevice* _tmp73_ = NULL;
						GVirConfigDomainDevice* device = NULL;
#line 169 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp73_ = _g_object_ref0 ((GVirConfigDomainDevice*) device_it->data);
#line 169 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						device = _tmp73_;
#line 2405 "libvirt-machine-properties.c"
						{
							GVirConfigDomainDevice* _tmp74_ = NULL;
							GVirConfigDomainDevice* _tmp75_ = NULL;
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							_tmp74_ = device;
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp74_, gvir_config_domain_redirdev_get_type ())) {
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
								has_usb_redir = TRUE;
#line 2415 "libvirt-machine-properties.c"
							}
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							_tmp75_ = device;
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp75_, gvir_config_domain_smartcard_get_type ())) {
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
								has_smartcard = TRUE;
#line 2423 "libvirt-machine-properties.c"
							}
#line 169 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							_g_object_unref0 (device);
#line 2427 "libvirt-machine-properties.c"
						}
					}
#line 169 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					__g_list_free__g_object_unref0_0 (device_collection);
#line 2432 "libvirt-machine-properties.c"
				}
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (inactive_config);
#line 2436 "libvirt-machine-properties.c"
			}
			goto __finally38;
			__catch38_g_error:
			{
				GError* _error_ = NULL;
				BoxesLibvirtMachine* _tmp76_ = NULL;
				GVirDomain* _tmp77_ = NULL;
				GVirDomain* _tmp78_ = NULL;
				const gchar* _tmp79_ = NULL;
				GError* _tmp80_ = NULL;
				const gchar* _tmp81_ = NULL;
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_error_ = _inner_error_;
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_inner_error_ = NULL;
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp76_ = self->priv->machine;
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp77_ = boxes_libvirt_machine_get_domain (_tmp76_);
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp78_ = _tmp77_;
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp79_ = gvir_domain_get_name (_tmp78_);
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp80_ = _error_;
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp81_ = _tmp80_->message;
#line 178 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_warning ("libvirt-machine-properties.vala:178: Failed to fetch configuration for" \
" domain '%s': %s", _tmp79_, _tmp81_);
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_error_free0 (_error_);
#line 2468 "libvirt-machine-properties.c"
			}
			__finally38:
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				__g_list_free__g_object_unref0_0 (list);
#line 167 "/home/zeenix/checkout/gnome/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 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_clear_error (&_inner_error_);
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				return NULL;
#line 2481 "libvirt-machine-properties.c"
			}
#line 183 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp82_ = has_usb_redir;
#line 183 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (!_tmp82_) {
#line 2487 "libvirt-machine-properties.c"
				PropertyCreationFlag _tmp83_ = 0;
#line 184 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp83_ = *flags;
#line 184 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				*flags = _tmp83_ | PROPERTY_CREATION_FLAG_NO_USB;
#line 2493 "libvirt-machine-properties.c"
			}
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp85_ = has_usb_redir;
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (!_tmp85_) {
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp84_ = HAVE_USBREDIR;
#line 2501 "libvirt-machine-properties.c"
			} else {
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp84_ = FALSE;
#line 2505 "libvirt-machine-properties.c"
			}
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp84_) {
#line 2509 "libvirt-machine-properties.c"
				Block46Data* _data46_;
				GtkButton* button = NULL;
				const gchar* _tmp86_ = NULL;
				GtkButton* _tmp87_ = NULL;
				GtkButton* _tmp88_ = NULL;
				const gchar* _tmp89_ = NULL;
				GtkButton* _tmp90_ = NULL;
				BoxesProperty* _tmp91_ = NULL;
				GtkButton* _tmp92_ = NULL;
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data46_ = g_slice_new0 (Block46Data);
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data46_->_ref_count_ = 1;
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data46_->self = g_object_ref (self);
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp86_ = _ ("Add support to guest");
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp87_ = (GtkButton*) gtk_button_new_with_label (_tmp86_);
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_object_ref_sink (_tmp87_);
#line 189 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				button = _tmp87_;
#line 190 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp88_ = button;
#line 190 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				gtk_widget_set_halign ((GtkWidget*) _tmp88_, GTK_ALIGN_START);
#line 191 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp89_ = _ ("USB device support");
#line 191 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp90_ = button;
#line 191 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp91_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, &list, _tmp89_, (GtkWidget*) _tmp90_, NULL);
#line 191 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data46_->property = _tmp91_;
#line 192 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp92_ = button;
#line 192 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_signal_connect_data (_tmp92_, "clicked", (GCallback) _____lambda169__gtk_button_clicked, block46_data_ref (_data46_), (GClosureNotify) block46_data_unref, 0);
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (button);
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				block46_data_unref (_data46_);
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data46_ = NULL;
#line 2555 "libvirt-machine-properties.c"
			}
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp94_ = has_smartcard;
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (!_tmp94_) {
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp93_ = HAVE_SMARTCARD;
#line 2563 "libvirt-machine-properties.c"
			} else {
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp93_ = FALSE;
#line 2567 "libvirt-machine-properties.c"
			}
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp93_) {
#line 2571 "libvirt-machine-properties.c"
				Block47Data* _data47_;
				GtkButton* button = NULL;
				const gchar* _tmp95_ = NULL;
				GtkButton* _tmp96_ = NULL;
				GtkButton* _tmp97_ = NULL;
				const gchar* _tmp98_ = NULL;
				GtkButton* _tmp99_ = NULL;
				BoxesProperty* _tmp100_ = NULL;
				GtkButton* _tmp101_ = NULL;
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data47_ = g_slice_new0 (Block47Data);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data47_->_ref_count_ = 1;
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data47_->self = g_object_ref (self);
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp95_ = _ ("Add support to guest");
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp96_ = (GtkButton*) gtk_button_new_with_label (_tmp95_);
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_object_ref_sink (_tmp96_);
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				button = _tmp96_;
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp97_ = button;
#line 208 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				gtk_widget_set_halign ((GtkWidget*) _tmp97_, GTK_ALIGN_START);
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp98_ = _ ("Smartcard support");
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp99_ = button;
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp100_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, &list, _tmp98_, (GtkWidget*) _tmp99_, NULL);
#line 209 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data47_->property = _tmp100_;
#line 210 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp101_ = button;
#line 210 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_signal_connect_data (_tmp101_, "clicked", (GCallback) _____lambda170__gtk_button_clicked, block47_data_ref (_data47_), (GClosureNotify) block47_data_unref, 0);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (button);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				block47_data_unref (_data47_);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data47_ = NULL;
#line 2617 "libvirt-machine-properties.c"
			}
#line 222 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			break;
#line 2621 "libvirt-machine-properties.c"
		}
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case BOXES_PROPERTIES_PAGE_SNAPSHOTS:
#line 2625 "libvirt-machine-properties.c"
		{
			{
				GVirConfigDomain* config = NULL;
				BoxesLibvirtMachine* _tmp102_ = NULL;
				GVirDomain* _tmp103_ = NULL;
				GVirDomain* _tmp104_ = NULL;
				GVirConfigDomain* _tmp105_ = NULL;
				gboolean _tmp106_ = FALSE;
				GVirConfigDomain* _tmp107_ = NULL;
				GVirConfigDomainCpu* _tmp108_ = NULL;
				GVirConfigDomainCpu* _tmp109_ = NULL;
				GVirConfigDomainCpuMode _tmp110_ = 0;
				gboolean _tmp111_ = FALSE;
#line 226 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp102_ = self->priv->machine;
#line 226 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp103_ = boxes_libvirt_machine_get_domain (_tmp102_);
#line 226 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp104_ = _tmp103_;
#line 226 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp105_ = gvir_domain_get_config (_tmp104_, (guint) 0, &_inner_error_);
#line 226 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				config = _tmp105_;
#line 226 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2651 "libvirt-machine-properties.c"
					goto __catch41_g_error;
				}
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp107_ = config;
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp108_ = gvir_config_domain_get_cpu (_tmp107_);
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp109_ = _tmp108_;
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp110_ = gvir_config_domain_cpu_get_mode (_tmp109_);
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp111_ = _tmp110_ != GVIR_CONFIG_DOMAIN_CPU_MODE_HOST_PASSTHROUGH;
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_tmp109_);
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				if (_tmp111_) {
#line 2668 "libvirt-machine-properties.c"
					GVirConfigDomain* _tmp112_ = NULL;
					gboolean _tmp113_ = FALSE;
#line 229 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp112_ = config;
#line 229 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp113_ = boxes_vm_configurator_is_install_config (_tmp112_);
#line 229 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp106_ = !_tmp113_;
#line 2677 "libvirt-machine-properties.c"
				} else {
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp106_ = FALSE;
#line 2681 "libvirt-machine-properties.c"
				}
#line 228 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				if (_tmp106_) {
#line 2685 "libvirt-machine-properties.c"
					BoxesSnapshotsProperty* _tmp114_ = NULL;
					BoxesSnapshotsProperty* _tmp115_ = NULL;
#line 230 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp114_ = boxes_libvirt_machine_properties_add_snapshots_property (self, &list);
#line 230 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp115_ = _tmp114_;
#line 230 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_g_object_unref0 (_tmp115_);
#line 2694 "libvirt-machine-properties.c"
				}
#line 225 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (config);
#line 2698 "libvirt-machine-properties.c"
			}
			goto __finally41;
			__catch41_g_error:
			{
				GError* e = NULL;
				GError* _tmp116_ = NULL;
				const gchar* _tmp117_ = NULL;
#line 225 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				e = _inner_error_;
#line 225 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_inner_error_ = NULL;
#line 232 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp116_ = e;
#line 232 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp117_ = _tmp116_->message;
#line 232 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_warning ("libvirt-machine-properties.vala:232: %s", _tmp117_);
#line 225 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_error_free0 (e);
#line 2718 "libvirt-machine-properties.c"
			}
			__finally41:
#line 225 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 225 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				__g_list_free__g_object_unref0_0 (list);
#line 225 "/home/zeenix/checkout/gnome/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 225 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_clear_error (&_inner_error_);
#line 225 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				return NULL;
#line 2731 "libvirt-machine-properties.c"
			}
#line 235 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			break;
#line 2735 "libvirt-machine-properties.c"
		}
		default:
#line 116 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		break;
#line 2740 "libvirt-machine-properties.c"
	}
#line 238 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	result = list;
#line 238 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 2746 "libvirt-machine-properties.c"
}


void boxes_libvirt_machine_properties_get_resources_properties (BoxesLibvirtMachineProperties* self, GList** list) {
	BoxesSizeProperty* ram_property = NULL;
	BoxesSizeProperty* _tmp0_ = NULL;
	BoxesSizeProperty* storage_property = NULL;
	BoxesSizeProperty* _tmp1_ = NULL;
#line 241 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 242 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = boxes_libvirt_machine_properties_add_ram_property (self, list);
#line 242 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	ram_property = _tmp0_;
#line 243 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_properties_add_storage_property (self, list);
#line 243 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	storage_property = _tmp1_;
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_mark_recommended_resources (self, ram_property, storage_property, NULL, NULL);
#line 241 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (storage_property);
#line 241 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (ram_property);
#line 2771 "libvirt-machine-properties.c"
}


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


static void block48_data_unref (void * _userdata_) {
	Block48Data* _data48_;
	_data48_ = (Block48Data*) _userdata_;
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data48_->_ref_count_)) {
#line 2789 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data48_->self;
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data48_->button_label);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data48_->label);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data48_->disk_config);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block48Data, _data48_);
#line 2803 "libvirt-machine-properties.c"
	}
}


static void ___lambda168_ (Block48Data* _data48_, const gchar* path) {
	BoxesLibvirtMachineProperties* self;
	GVirConfigDomainDisk* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	GError * _inner_error_ = NULL;
#line 291 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data48_->self;
#line 291 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (path != NULL);
#line 292 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _data48_->disk_config;
#line 292 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = path;
#line 292 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gvir_config_domain_disk_set_source (_tmp0_, _tmp1_);
#line 2823 "libvirt-machine-properties.c"
	{
		BoxesLibvirtMachine* _tmp2_ = NULL;
		GVirDomain* _tmp3_ = NULL;
		GVirDomain* _tmp4_ = NULL;
		GVirConfigDomainDisk* _tmp5_ = NULL;
		GtkLabel* _tmp6_ = NULL;
		const gchar* _tmp7_ = NULL;
		GtkLabel* _tmp8_ = NULL;
		const gchar* _tmp9_ = NULL;
		gchar* _tmp10_ = NULL;
		gchar* _tmp11_ = NULL;
#line 294 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = self->priv->machine;
#line 294 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = boxes_libvirt_machine_get_domain (_tmp2_);
#line 294 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = _tmp3_;
#line 294 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = _data48_->disk_config;
#line 294 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_domain_update_device (_tmp4_, (GVirConfigDomainDevice*) _tmp5_, (guint) GVIR_DOMAIN_UPDATE_DEVICE_CURRENT, &_inner_error_);
#line 294 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2847 "libvirt-machine-properties.c"
			goto __catch42_g_error;
		}
#line 295 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _data48_->button_label;
#line 295 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = _ ("_Remove");
#line 295 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text_with_mnemonic (_tmp6_, _tmp7_);
#line 296 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = _data48_->label;
#line 296 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = path;
#line 296 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = boxes_get_utf8_basename (_tmp9_);
#line 296 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = _tmp10_;
#line 296 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text (_tmp8_, _tmp11_);
#line 296 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp11_);
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data48_->empty = FALSE;
#line 2870 "libvirt-machine-properties.c"
	}
	goto __finally42;
	__catch42_g_error:
	{
		GError* e = NULL;
		gchar* path_basename = NULL;
		const gchar* _tmp12_ = NULL;
		gchar* _tmp13_ = NULL;
		gchar* msg = NULL;
		const gchar* _tmp14_ = NULL;
		gchar* _tmp15_ = NULL;
		BoxesLibvirtMachine* _tmp16_ = NULL;
		const gchar* _tmp17_ = NULL;
		const gchar* _tmp18_ = NULL;
		BoxesLibvirtMachine* _tmp19_ = NULL;
		const gchar* _tmp20_ = NULL;
		const gchar* _tmp21_ = NULL;
		gchar* _tmp22_ = NULL;
		gchar* _tmp23_ = NULL;
		const gchar* _tmp24_ = NULL;
		BoxesLibvirtMachine* _tmp25_ = NULL;
		const gchar* _tmp26_ = NULL;
		const gchar* _tmp27_ = NULL;
		GError* _tmp28_ = NULL;
		const gchar* _tmp29_ = NULL;
#line 293 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		e = _inner_error_;
#line 293 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 299 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = path;
#line 299 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = boxes_get_utf8_basename (_tmp12_);
#line 299 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		path_basename = _tmp13_;
#line 302 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = _ ("Insertion of '%s' as a CD/DVD into '%s' failed");
#line 302 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = g_strdup (_tmp14_);
#line 302 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		msg = _tmp15_;
#line 303 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = self->priv->machine;
#line 303 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = msg;
#line 303 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = path_basename;
#line 303 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = self->priv->machine;
#line 303 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp19_);
#line 303 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = _tmp20_;
#line 303 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = g_strdup_printf (_tmp17_, _tmp18_, _tmp21_);
#line 303 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = _tmp22_;
#line 303 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_signal_emit_by_name ((BoxesMachine*) _tmp16_, "got-error", _tmp23_);
#line 303 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp23_);
#line 304 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = path_basename;
#line 304 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = self->priv->machine;
#line 304 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp25_);
#line 304 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = _tmp26_;
#line 304 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = e;
#line 304 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = _tmp28_->message;
#line 304 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_debug ("libvirt-machine-properties.vala:304: Error inserting '%s' as CD into '" \
"%s': %s", _tmp24_, _tmp27_, _tmp29_);
#line 293 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (msg);
#line 293 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (path_basename);
#line 293 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (e);
#line 2952 "libvirt-machine-properties.c"
	}
	__finally42:
#line 293 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 293 "/home/zeenix/checkout/gnome/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 293 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 293 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 2963 "libvirt-machine-properties.c"
	}
}


static void ____lambda168__boxes_properties_window_file_chosen_func (const gchar* path, gpointer self) {
#line 291 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda168_ (self, path);
#line 2971 "libvirt-machine-properties.c"
}


static void __lambda167_ (Block48Data* _data48_) {
	BoxesLibvirtMachineProperties* self;
	gboolean _tmp0_ = FALSE;
	GError * _inner_error_ = NULL;
#line 289 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data48_->self;
#line 290 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _data48_->empty;
#line 290 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp0_) {
#line 2985 "libvirt-machine-properties.c"
		BoxesLibvirtMachine* _tmp1_ = NULL;
		BoxesAppWindow* _tmp2_ = NULL;
		BoxesAppWindow* _tmp3_ = NULL;
		BoxesPropertiesWindow* _tmp4_ = NULL;
#line 291 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = self->priv->machine;
#line 291 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = boxes_machine_get_window ((BoxesMachine*) _tmp1_);
#line 291 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = _tmp2_;
#line 291 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = _tmp3_->props_window;
#line 291 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_properties_window_show_file_chooser (_tmp4_, ____lambda168__boxes_properties_window_file_chosen_func, block48_data_ref (_data48_), block48_data_unref);
#line 3000 "libvirt-machine-properties.c"
	} else {
		GVirConfigDomainDisk* _tmp5_ = NULL;
#line 308 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = _data48_->disk_config;
#line 308 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_config_domain_disk_set_source (_tmp5_, "");
#line 3007 "libvirt-machine-properties.c"
		{
			BoxesLibvirtMachine* _tmp6_ = NULL;
			GVirDomain* _tmp7_ = NULL;
			GVirDomain* _tmp8_ = NULL;
			GVirConfigDomainDisk* _tmp9_ = NULL;
			GtkLabel* _tmp10_ = NULL;
			const gchar* _tmp11_ = NULL;
			GtkLabel* _tmp12_ = NULL;
			const gchar* _tmp13_ = NULL;
			gchar* _tmp14_ = NULL;
			gchar* _tmp15_ = NULL;
#line 310 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp6_ = self->priv->machine;
#line 310 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp7_ = boxes_libvirt_machine_get_domain (_tmp6_);
#line 310 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp8_ = _tmp7_;
#line 310 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp9_ = _data48_->disk_config;
#line 310 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gvir_domain_update_device (_tmp8_, (GVirConfigDomainDevice*) _tmp9_, (guint) GVIR_DOMAIN_UPDATE_DEVICE_CURRENT, &_inner_error_);
#line 310 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3031 "libvirt-machine-properties.c"
				goto __catch43_g_error;
			}
#line 311 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data48_->empty = TRUE;
#line 312 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp10_ = _data48_->button_label;
#line 312 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp11_ = _ ("_Select");
#line 312 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_label_set_text_with_mnemonic (_tmp10_, _tmp11_);
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp12_ = _data48_->label;
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp13_ = _ ("empty");
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp14_ = g_markup_printf_escaped ("<i>%s</i>", _tmp13_);
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp15_ = _tmp14_;
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_label_set_markup (_tmp12_, _tmp15_);
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_tmp15_);
#line 3054 "libvirt-machine-properties.c"
		}
		goto __finally43;
		__catch43_g_error:
		{
			GError* e = NULL;
			BoxesLibvirtMachine* _tmp16_ = NULL;
			const gchar* _tmp17_ = NULL;
			BoxesLibvirtMachine* _tmp18_ = NULL;
			const gchar* _tmp19_ = NULL;
			const gchar* _tmp20_ = NULL;
			gchar* _tmp21_ = NULL;
			gchar* _tmp22_ = NULL;
			BoxesLibvirtMachine* _tmp23_ = NULL;
			const gchar* _tmp24_ = NULL;
			const gchar* _tmp25_ = NULL;
			GError* _tmp26_ = NULL;
			const gchar* _tmp27_ = NULL;
#line 309 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			e = _inner_error_;
#line 309 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_inner_error_ = NULL;
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp16_ = self->priv->machine;
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp17_ = _ ("Removal of CD/DVD from '%s' failed");
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp18_ = self->priv->machine;
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp19_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp18_);
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp20_ = _tmp19_;
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp21_ = g_strdup_printf (_tmp17_, _tmp20_);
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp22_ = _tmp21_;
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_emit_by_name ((BoxesMachine*) _tmp16_, "got-error", _tmp22_);
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_tmp22_);
#line 317 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp23_ = self->priv->machine;
#line 317 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp24_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp23_);
#line 317 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp25_ = _tmp24_;
#line 317 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp26_ = e;
#line 317 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp27_ = _tmp26_->message;
#line 317 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_debug ("libvirt-machine-properties.vala:317: Error ejecting CD from '%s': %s", _tmp25_, _tmp27_);
#line 309 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_error_free0 (e);
#line 3108 "libvirt-machine-properties.c"
		}
		__finally43:
#line 309 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 309 "/home/zeenix/checkout/gnome/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 309 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_clear_error (&_inner_error_);
#line 309 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 3119 "libvirt-machine-properties.c"
		}
	}
}


static void ___lambda167__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 289 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda167_ (self);
#line 3128 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_add_cdrom_property (BoxesLibvirtMachineProperties* self, GVirConfigDomainDisk* disk_config, GList** list) {
	Block48Data* _data48_;
	GVirConfigDomainDisk* _tmp0_ = NULL;
	GVirConfigDomainDisk* _tmp1_ = NULL;
	GtkGrid* grid = NULL;
	GtkGrid* _tmp2_ = NULL;
	GtkGrid* _tmp3_ = NULL;
	GtkGrid* _tmp4_ = NULL;
	GtkLabel* _tmp5_ = NULL;
	GtkLabel* _tmp6_ = NULL;
	GtkGrid* _tmp7_ = NULL;
	GtkLabel* _tmp8_ = NULL;
	gchar* source = NULL;
	GVirConfigDomainDisk* _tmp9_ = NULL;
	const gchar* _tmp10_ = NULL;
	gchar* _tmp11_ = NULL;
	gboolean _tmp12_ = FALSE;
	const gchar* _tmp13_ = NULL;
	gboolean _tmp15_ = FALSE;
	BoxesLibvirtMachine* _tmp24_ = NULL;
	BoxesVMCreator* _tmp25_ = NULL;
	BoxesVMCreator* _tmp26_ = NULL;
	GtkLabel* _tmp50_ = NULL;
	GtkButton* button = NULL;
	GtkButton* _tmp51_ = NULL;
	GtkButton* _tmp52_ = NULL;
	GtkLabel* _tmp53_ = NULL;
	GtkGrid* _tmp54_ = NULL;
	GtkButton* _tmp55_ = NULL;
	gboolean _tmp56_ = FALSE;
	GtkButton* _tmp61_ = NULL;
	BoxesProperty* property = NULL;
	const gchar* _tmp62_ = NULL;
	GtkGrid* _tmp63_ = NULL;
	BoxesProperty* _tmp64_ = NULL;
	BoxesProperty* _tmp65_ = NULL;
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (disk_config != NULL);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_ = g_slice_new0 (Block48Data);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_->_ref_count_ = 1;
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_->self = g_object_ref (self);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = disk_config;
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data48_->disk_config);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_->disk_config = _tmp1_;
#line 248 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = (GtkGrid*) gtk_grid_new ();
#line 248 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp2_);
#line 248 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	grid = _tmp2_;
#line 249 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = grid;
#line 249 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_orientable_set_orientation ((GtkOrientable*) _tmp3_, GTK_ORIENTATION_HORIZONTAL);
#line 250 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = grid;
#line 250 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_column_spacing (_tmp4_, (guint) 12);
#line 252 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = (GtkLabel*) gtk_label_new ("");
#line 252 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp5_);
#line 252 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_->label = _tmp5_;
#line 253 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = _data48_->label;
#line 253 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_label_set_ellipsize (_tmp6_, PANGO_ELLIPSIZE_END);
#line 254 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = grid;
#line 254 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = _data48_->label;
#line 254 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp7_, (GtkWidget*) _tmp8_);
#line 256 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = _data48_->disk_config;
#line 256 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = gvir_config_domain_disk_get_source (_tmp9_);
#line 256 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = g_strdup (_tmp10_);
#line 256 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	source = _tmp11_;
#line 257 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = source;
#line 257 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp13_ == NULL) {
#line 257 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = TRUE;
#line 3230 "libvirt-machine-properties.c"
	} else {
		const gchar* _tmp14_ = NULL;
#line 257 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = source;
#line 257 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = g_strcmp0 (_tmp14_, "") == 0;
#line 3237 "libvirt-machine-properties.c"
	}
#line 257 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_->empty = _tmp12_;
#line 259 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp15_ = _data48_->empty;
#line 259 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp15_) {
#line 3245 "libvirt-machine-properties.c"
		GtkLabel* _tmp16_ = NULL;
		const gchar* _tmp17_ = NULL;
		gchar* _tmp18_ = NULL;
		gchar* _tmp19_ = NULL;
#line 261 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = _data48_->label;
#line 261 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = _ ("empty");
#line 261 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = g_markup_printf_escaped ("<i>%s</i>", _tmp17_);
#line 261 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _tmp18_;
#line 261 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_markup (_tmp16_, _tmp19_);
#line 261 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp19_);
#line 3262 "libvirt-machine-properties.c"
	} else {
		GtkLabel* _tmp20_ = NULL;
		const gchar* _tmp21_ = NULL;
		gchar* _tmp22_ = NULL;
		gchar* _tmp23_ = NULL;
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = _data48_->label;
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = source;
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = boxes_get_utf8_basename (_tmp21_);
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = _tmp22_;
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text (_tmp20_, _tmp23_);
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp23_);
#line 3280 "libvirt-machine-properties.c"
	}
#line 265 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp24_ = self->priv->machine;
#line 265 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp25_ = boxes_libvirt_machine_get_vm_creator (_tmp24_);
#line 265 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp26_ = _tmp25_;
#line 265 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp26_ != NULL) {
#line 3290 "libvirt-machine-properties.c"
		BoxesInstallerMedia* media = NULL;
		BoxesLibvirtMachine* _tmp27_ = NULL;
		BoxesVMCreator* _tmp28_ = NULL;
		BoxesVMCreator* _tmp29_ = NULL;
		BoxesInstallerMedia* _tmp30_ = NULL;
		BoxesInstallerMedia* _tmp31_ = NULL;
		BoxesInstallerMedia* _tmp32_ = NULL;
		gboolean _tmp33_ = FALSE;
		BoxesLibvirtMachine* _tmp34_ = NULL;
		BoxesVMCreator* _tmp35_ = NULL;
		BoxesVMCreator* _tmp36_ = NULL;
		gboolean _tmp37_ = FALSE;
		gboolean _tmp38_ = FALSE;
#line 266 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = self->priv->machine;
#line 266 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = boxes_libvirt_machine_get_vm_creator (_tmp27_);
#line 266 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = _tmp28_;
#line 266 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp30_ = boxes_vm_creator_get_install_media (_tmp29_);
#line 266 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp31_ = _tmp30_;
#line 266 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp32_ = _g_object_ref0 (_tmp31_);
#line 266 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		media = _tmp32_;
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp34_ = self->priv->machine;
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp35_ = boxes_libvirt_machine_get_vm_creator (_tmp34_);
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp36_ = _tmp35_;
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp37_ = boxes_vm_creator_get_express_install (_tmp36_);
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp38_ = _tmp37_;
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp38_) {
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp33_ = TRUE;
#line 3332 "libvirt-machine-properties.c"
		} else {
			gboolean _tmp39_ = FALSE;
			BoxesInstallerMedia* _tmp40_ = NULL;
			OsinfoMedia* _tmp41_ = NULL;
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp40_ = media;
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp41_ = _tmp40_->os_media;
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp41_ != NULL) {
#line 3343 "libvirt-machine-properties.c"
				BoxesInstallerMedia* _tmp42_ = NULL;
				OsinfoMedia* _tmp43_ = NULL;
				gboolean _tmp44_ = FALSE;
				gboolean _tmp45_ = FALSE;
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp42_ = media;
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp43_ = _tmp42_->os_media;
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_object_get (_tmp43_, "live", &_tmp44_, NULL);
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp45_ = _tmp44_;
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp39_ = _tmp45_;
#line 3358 "libvirt-machine-properties.c"
			} else {
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp39_ = FALSE;
#line 3362 "libvirt-machine-properties.c"
			}
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp33_ = _tmp39_;
#line 3366 "libvirt-machine-properties.c"
		}
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp33_) {
#line 3370 "libvirt-machine-properties.c"
			const gchar* _tmp46_ = NULL;
			GtkGrid* _tmp47_ = NULL;
			BoxesProperty* _tmp48_ = NULL;
			BoxesProperty* _tmp49_ = NULL;
#line 270 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp46_ = _ ("CD/DVD");
#line 270 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp47_ = grid;
#line 270 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp48_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, _tmp46_, (GtkWidget*) _tmp47_, NULL);
#line 270 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp49_ = _tmp48_;
#line 270 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_tmp49_);
#line 272 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (media);
#line 272 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (source);
#line 272 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (grid);
#line 272 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			block48_data_unref (_data48_);
#line 272 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data48_ = NULL;
#line 272 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 3397 "libvirt-machine-properties.c"
		}
#line 265 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (media);
#line 3401 "libvirt-machine-properties.c"
	}
#line 276 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp50_ = (GtkLabel*) gtk_label_new ("");
#line 276 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp50_);
#line 276 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_->button_label = _tmp50_;
#line 277 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp51_ = (GtkButton*) gtk_button_new ();
#line 277 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp51_);
#line 277 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	button = _tmp51_;
#line 278 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp52_ = button;
#line 278 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp53_ = _data48_->button_label;
#line 278 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp52_, (GtkWidget*) _tmp53_);
#line 280 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp54_ = grid;
#line 280 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp55_ = button;
#line 280 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp54_, (GtkWidget*) _tmp55_);
#line 282 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp56_ = _data48_->empty;
#line 282 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp56_) {
#line 3431 "libvirt-machine-properties.c"
		GtkLabel* _tmp57_ = NULL;
		const gchar* _tmp58_ = NULL;
#line 284 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp57_ = _data48_->button_label;
#line 284 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp58_ = _ ("_Select");
#line 284 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text_with_mnemonic (_tmp57_, _tmp58_);
#line 3440 "libvirt-machine-properties.c"
	} else {
		GtkLabel* _tmp59_ = NULL;
		const gchar* _tmp60_ = NULL;
#line 287 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp59_ = _data48_->button_label;
#line 287 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp60_ = _ ("_Remove");
#line 287 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text_with_mnemonic (_tmp59_, _tmp60_);
#line 3450 "libvirt-machine-properties.c"
	}
#line 289 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp61_ = button;
#line 289 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_data (_tmp61_, "clicked", (GCallback) ___lambda167__gtk_button_clicked, block48_data_ref (_data48_), (GClosureNotify) block48_data_unref, 0);
#line 322 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp62_ = _ ("CD/DVD");
#line 322 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp63_ = grid;
#line 322 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp64_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, _tmp62_, (GtkWidget*) _tmp63_, NULL);
#line 322 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	property = _tmp64_;
#line 323 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp65_ = property;
#line 323 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_property_set_description_alignment (_tmp65_, GTK_ALIGN_START);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (property);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (button);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (source);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (grid);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	block48_data_unref (_data48_);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data48_ = NULL;
#line 3480 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_update_ram_property (BoxesLibvirtMachineProperties* self, BoxesProperty* property) {
	GError * _inner_error_ = NULL;
#line 326 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 326 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (property != NULL);
#line 3490 "libvirt-machine-properties.c"
	{
		GVirConfigDomain* config = NULL;
		BoxesLibvirtMachine* _tmp0_ = NULL;
		GVirDomain* _tmp1_ = NULL;
		GVirDomain* _tmp2_ = NULL;
		GVirConfigDomain* _tmp3_ = NULL;
		guint64 actual = 0ULL;
		BoxesLibvirtMachine* _tmp4_ = NULL;
		GVirConfigDomain* _tmp5_ = NULL;
		GVirConfigDomain* _tmp6_ = NULL;
		guint64 _tmp7_ = 0ULL;
		guint64 _tmp8_ = 0ULL;
		guint64 pending = 0ULL;
		guint64 _tmp9_ = 0ULL;
		guint64 _tmp10_ = 0ULL;
		guint64 _tmp11_ = 0ULL;
		guint64 _tmp12_ = 0ULL;
		BoxesProperty* _tmp13_ = NULL;
		guint64 _tmp14_ = 0ULL;
		guint64 _tmp15_ = 0ULL;
#line 328 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = self->priv->machine;
#line 328 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = boxes_libvirt_machine_get_domain (_tmp0_);
#line 328 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = _tmp1_;
#line 328 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = gvir_domain_get_config (_tmp2_, (guint) GVIR_DOMAIN_XML_INACTIVE, &_inner_error_);
#line 328 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		config = _tmp3_;
#line 328 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3523 "libvirt-machine-properties.c"
			goto __catch44_g_error;
		}
#line 331 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = self->priv->machine;
#line 331 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = boxes_libvirt_machine_get_domain_config (_tmp4_);
#line 331 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _tmp5_;
#line 331 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = gvir_config_domain_get_memory (_tmp6_);
#line 331 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = _tmp7_;
#line 331 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		actual = _tmp8_ / 1024;
#line 332 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = gvir_config_domain_get_memory (config);
#line 332 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = _tmp9_;
#line 332 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		pending = _tmp10_ / 1024;
#line 334 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = actual;
#line 334 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = pending;
#line 334 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_debug ("libvirt-machine-properties.vala:334: RAM actual: %llu, pending: %llu", _tmp11_, _tmp12_);
#line 336 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = property;
#line 336 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = actual;
#line 336 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = pending;
#line 336 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_reboot_required (_tmp13_, (_tmp14_ - _tmp15_) > ((guint64) 1));
#line 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 3560 "libvirt-machine-properties.c"
	}
	goto __finally44;
	__catch44_g_error:
	{
		GError* e = NULL;
#line 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		e = _inner_error_;
#line 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (e);
#line 3572 "libvirt-machine-properties.c"
	}
	__finally44:
#line 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 327 "/home/zeenix/checkout/gnome/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 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 3583 "libvirt-machine-properties.c"
	}
}


static void boxes_libvirt_machine_properties_mark_recommended_resources_data_free (gpointer _data) {
	BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData* _data_;
	_data_ = _data;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->ram_property);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->storage_property);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_slice_free (BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData, _data_);
#line 3599 "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_ = NULL;
	BoxesSizeProperty* _tmp1_ = NULL;
	BoxesSizeProperty* _tmp2_ = NULL;
	BoxesSizeProperty* _tmp3_ = NULL;
	BoxesSizeProperty* _tmp4_ = NULL;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_slice_new0 (BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_libvirt_machine_properties_mark_recommended_resources);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_libvirt_machine_properties_mark_recommended_resources_data_free);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->self = _tmp0_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = ram_property;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->ram_property);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->ram_property = _tmp2_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = storage_property;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = _g_object_ref0 (_tmp3_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->storage_property);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->storage_property = _tmp4_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_mark_recommended_resources_co (_data_);
#line 3638 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_mark_recommended_resources_finish (BoxesLibvirtMachineProperties* self, GAsyncResult* _res_) {
	BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData* _data_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 3646 "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 345 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = _user_data_;
#line 345 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_source_object_ = source_object;
#line 345 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_res_ = _res_;
#line 345 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_mark_recommended_resources_co (_data_);
#line 3660 "libvirt-machine-properties.c"
}


static gboolean boxes_libvirt_machine_properties_mark_recommended_resources_co (BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData* _data_) {
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_data_->_state_) {
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case 0:
#line 3669 "libvirt-machine-properties.c"
		goto _state_0;
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case 1:
#line 3673 "libvirt-machine-properties.c"
		goto _state_1;
		default:
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_assert_not_reached ();
#line 3678 "libvirt-machine-properties.c"
	}
	_state_0:
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = NULL;
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = _data_->ram_property;
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp1_ == NULL) {
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp2_ = NULL;
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp2_ = _data_->storage_property;
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp0_ = _data_->_tmp2_ == NULL;
#line 3693 "libvirt-machine-properties.c"
	} else {
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp0_ = FALSE;
#line 3697 "libvirt-machine-properties.c"
	}
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp0_) {
#line 343 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ == 0) {
#line 343 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3705 "libvirt-machine-properties.c"
		} else {
#line 343 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3709 "libvirt-machine-properties.c"
		}
#line 343 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 343 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 3715 "libvirt-machine-properties.c"
	}
#line 345 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = NULL;
#line 345 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = _data_->self->priv->machine;
#line 345 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_state_ = 1;
#line 345 "/home/zeenix/checkout/gnome/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 345 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 3727 "libvirt-machine-properties.c"
	_state_1:
#line 345 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp4_ = NULL;
#line 345 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp4_ = boxes_libvirt_machine_properties_get_os_for_machine_finish (_data_->self, _data_->_res_);
#line 345 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->os = _data_->_tmp4_;
#line 346 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp5_ = NULL;
#line 346 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp5_ = _data_->os;
#line 346 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp5_ == NULL) {
#line 347 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->os);
#line 347 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ == 0) {
#line 347 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3747 "libvirt-machine-properties.c"
		} else {
#line 347 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 3751 "libvirt-machine-properties.c"
		}
#line 347 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 347 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 3757 "libvirt-machine-properties.c"
	}
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp6_ = NULL;
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp6_ = _data_->self->priv->machine;
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp7_ = NULL;
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp7_ = boxes_libvirt_machine_get_domain_config (_data_->_tmp6_);
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp8_ = NULL;
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp9_ = NULL;
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp9_ = gvir_config_domain_get_os (_data_->_tmp8_);
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp10_ = NULL;
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp11_ = NULL;
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp11_ = gvir_config_domain_os_get_arch (_data_->_tmp10_);
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp12_ = NULL;
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp12_ = g_strdup (_data_->_tmp11_);
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp13_ = NULL;
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->_tmp10_);
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->architecture = _data_->_tmp13_;
#line 350 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp14_ = NULL;
#line 350 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp14_ = _data_->os;
#line 350 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp15_ = NULL;
#line 350 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp15_ = _data_->architecture;
#line 350 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp16_ = NULL;
#line 350 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp16_ = boxes_os_database_get_recommended_resources_for_os (_data_->_tmp14_, _data_->_tmp15_);
#line 350 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->resources = _data_->_tmp16_;
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp17_ = NULL;
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp17_ = _data_->resources;
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp17_ != NULL) {
#line 352 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp18_ = NULL;
#line 352 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp18_ = _data_->ram_property;
#line 352 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_tmp18_ != NULL) {
#line 353 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp19_ = NULL;
#line 353 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp19_ = _data_->ram_property;
#line 353 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp20_ = NULL;
#line 353 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp20_ = _data_->resources;
#line 353 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp21_ = 0LL;
#line 353 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp21_ = osinfo_resources_get_ram (_data_->_tmp20_);
#line 353 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp22_ = 0LL;
#line 353 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp22_ = _data_->_tmp21_;
#line 353 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_size_property_set_recommended (_data_->_tmp19_, (guint64) _data_->_tmp22_);
#line 3839 "libvirt-machine-properties.c"
		}
#line 354 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp23_ = NULL;
#line 354 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp23_ = _data_->storage_property;
#line 354 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_tmp23_ != NULL) {
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp24_ = NULL;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp24_ = _data_->storage_property;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp25_ = NULL;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp25_ = _data_->resources;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp26_ = 0LL;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp26_ = osinfo_resources_get_storage (_data_->_tmp25_);
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp27_ = 0LL;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp27_ = _data_->_tmp26_;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_size_property_set_recommended (_data_->_tmp24_, (guint64) _data_->_tmp27_);
#line 3865 "libvirt-machine-properties.c"
		}
	}
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->resources);
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_data_->architecture);
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->os);
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_state_ == 0) {
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 3878 "libvirt-machine-properties.c"
	} else {
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 3882 "libvirt-machine-properties.c"
	}
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_unref (_data_->_async_result);
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 3888 "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/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->machine);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->result);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_slice_free (BoxesLibvirtMachinePropertiesGetOsForMachineData, _data_);
#line 3903 "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_ = NULL;
	BoxesLibvirtMachine* _tmp1_ = NULL;
	BoxesLibvirtMachine* _tmp2_ = NULL;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_slice_new0 (BoxesLibvirtMachinePropertiesGetOsForMachineData);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_libvirt_machine_properties_get_os_for_machine);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_libvirt_machine_properties_get_os_for_machine_data_free);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->self = _tmp0_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = machine;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->machine);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->machine = _tmp2_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_get_os_for_machine_co (_data_);
#line 3932 "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/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	result = _data_->result;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->result = NULL;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 3947 "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 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = _user_data_;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_source_object_ = source_object;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_res_ = _res_;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_get_os_for_machine_co (_data_);
#line 3961 "libvirt-machine-properties.c"
}


static gboolean boxes_libvirt_machine_properties_get_os_for_machine_co (BoxesLibvirtMachinePropertiesGetOsForMachineData* _data_) {
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_data_->_state_) {
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case 0:
#line 3970 "libvirt-machine-properties.c"
		goto _state_0;
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case 1:
#line 3974 "libvirt-machine-properties.c"
		goto _state_1;
		default:
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_assert_not_reached ();
#line 3979 "libvirt-machine-properties.c"
	}
	_state_0:
#line 360 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp0_ = NULL;
#line 360 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp0_ = _data_->machine;
#line 360 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = NULL;
#line 360 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = boxes_libvirt_machine_get_domain_config (_data_->_tmp0_);
#line 360 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp2_ = NULL;
#line 360 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 360 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = NULL;
#line 360 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = boxes_vm_configurator_get_os_id (_data_->_tmp2_);
#line 360 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->os_id = _data_->_tmp3_;
#line 361 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp4_ = NULL;
#line 361 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp4_ = _data_->os_id;
#line 361 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp4_ == NULL) {
#line 362 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->result = NULL;
#line 362 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_data_->os_id);
#line 362 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ == 0) {
#line 362 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4014 "libvirt-machine-properties.c"
		} else {
#line 362 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4018 "libvirt-machine-properties.c"
		}
#line 362 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 362 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 4024 "libvirt-machine-properties.c"
	}
#line 364 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp5_ = NULL;
#line 364 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp5_ = boxes_media_manager_get_instance ();
#line 364 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp6_ = NULL;
#line 364 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 364 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp7_ = NULL;
#line 364 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp7_ = boxes_media_manager_get_os_db (_data_->_tmp6_);
#line 364 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp8_ = NULL;
#line 364 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 364 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp9_ = NULL;
#line 364 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp9_ = _g_object_ref0 (_data_->_tmp8_);
#line 364 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp10_ = NULL;
#line 364 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 364 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->_tmp6_);
#line 364 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->os_db = _data_->_tmp10_;
#line 4054 "libvirt-machine-properties.c"
	{
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp12_ = NULL;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp12_ = _data_->os_db;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp13_ = NULL;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp13_ = _data_->os_id;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_state_ = 1;
#line 366 "/home/zeenix/checkout/gnome/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 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 4070 "libvirt-machine-properties.c"
		_state_1:
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp14_ = NULL;
#line 366 "/home/zeenix/checkout/gnome/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 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp11_ = _data_->_tmp14_;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_data_->_inner_error_->domain == BOXES_OS_DATABASE_ERROR) {
#line 4082 "libvirt-machine-properties.c"
				goto __catch45_boxes_os_database_error;
			}
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_data_->os_db);
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_data_->os_id);
#line 366 "/home/zeenix/checkout/gnome/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 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_clear_error (&_data_->_inner_error_);
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return FALSE;
#line 4095 "libvirt-machine-properties.c"
		}
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp15_ = NULL;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp15_ = _data_->_tmp11_;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp11_ = NULL;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->result = _data_->_tmp15_;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->_tmp11_);
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->os_db);
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_data_->os_id);
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ == 0) {
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4115 "libvirt-machine-properties.c"
		} else {
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4119 "libvirt-machine-properties.c"
		}
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 4125 "libvirt-machine-properties.c"
	}
	goto __finally45;
	__catch45_boxes_os_database_error:
	{
#line 365 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 365 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_inner_error_ = NULL;
#line 368 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp16_ = NULL;
#line 368 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp16_ = _data_->os_id;
#line 368 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp17_ = NULL;
#line 368 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp17_ = _data_->_error_;
#line 368 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp18_ = NULL;
#line 368 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp18_ = _data_->_tmp17_->message;
#line 368 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:368: Failed to find OS with ID '%s': %" \
"s", _data_->_tmp16_, _data_->_tmp18_);
#line 369 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->result = NULL;
#line 369 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_data_->_error_);
#line 369 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->os_db);
#line 369 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_data_->os_id);
#line 369 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ == 0) {
#line 369 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4160 "libvirt-machine-properties.c"
		} else {
#line 369 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4164 "libvirt-machine-properties.c"
		}
#line 369 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 369 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 4170 "libvirt-machine-properties.c"
	}
	__finally45:
#line 365 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->os_db);
#line 365 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_data_->os_id);
#line 365 "/home/zeenix/checkout/gnome/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 365 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_clear_error (&_data_->_inner_error_);
#line 365 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->os_db);
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_data_->os_id);
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_state_ == 0) {
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4191 "libvirt-machine-properties.c"
	} else {
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 4195 "libvirt-machine-properties.c"
	}
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_unref (_data_->_async_result);
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 4201 "libvirt-machine-properties.c"
}


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


static void block49_data_unref (void * _userdata_) {
	Block49Data* _data49_;
	_data49_ = (Block49Data*) _userdata_;
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data49_->_ref_count_)) {
#line 4219 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data49_->self;
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data49_->prop);
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data49_->net_graph);
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data49_->io_graph);
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data49_->cpu_graph);
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block49Data, _data49_);
#line 4235 "libvirt-machine-properties.c"
	}
}


static void __lambda150_ (Block49Data* _data49_) {
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* _tmp0_ = NULL;
	gdouble* _tmp1_ = NULL;
	gint _tmp1__length1 = 0;
	BoxesLibvirtMachine* _tmp2_ = NULL;
	gdouble* _tmp3_ = NULL;
	gint _tmp3__length1 = 0;
	BoxesLibvirtMachine* _tmp4_ = NULL;
	gdouble* _tmp5_ = NULL;
	gint _tmp5__length1 = 0;
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data49_->self;
#line 402 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 402 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _tmp0_->cpu_stats;
#line 402 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1__length1 = _tmp0_->cpu_stats_length1;
#line 402 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_resource_graph_set_points (_data49_->cpu_graph, _tmp1_, _tmp1__length1);
#line 403 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = self->priv->machine;
#line 403 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_->io_stats;
#line 403 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3__length1 = _tmp2_->io_stats_length1;
#line 403 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_resource_graph_set_points (_data49_->io_graph, _tmp3_, _tmp3__length1);
#line 404 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = self->priv->machine;
#line 404 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = _tmp4_->net_stats;
#line 404 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5__length1 = _tmp4_->net_stats_length1;
#line 404 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_resource_graph_set_points (_data49_->net_graph, _tmp5_, _tmp5__length1);
#line 4277 "libvirt-machine-properties.c"
}


static void ___lambda150__boxes_libvirt_machine_stats_updated (BoxesLibvirtMachine* _sender, gpointer self) {
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda150_ (self);
#line 4284 "libvirt-machine-properties.c"
}


static void __lambda151_ (Block49Data* _data49_) {
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* _tmp0_ = NULL;
	gulong _tmp1_ = 0UL;
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data49_->self;
#line 410 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 410 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_handler_disconnect ((GObject*) _tmp0_, _data49_->stats_id);
#line 411 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _data49_->flushed_id;
#line 411 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_handler_disconnect ((GObject*) _data49_->prop, _tmp1_);
#line 4302 "libvirt-machine-properties.c"
}


static void ___lambda151__boxes_property_flushed (BoxesProperty* _sender, gpointer self) {
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda151_ (self);
#line 4309 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_add_resource_usage_graphs (BoxesLibvirtMachineProperties* self, GList** list) {
	Block49Data* _data49_;
	GtkGrid* grid = NULL;
	GtkGrid* _tmp0_ = NULL;
	BoxesResourceGraph* _tmp1_ = NULL;
	GtkLabel* label = NULL;
	const gchar* _tmp2_ = NULL;
	GtkLabel* _tmp3_ = NULL;
	GtkLabel* _tmp4_ = NULL;
	BoxesResourceGraph* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	GtkLabel* _tmp7_ = NULL;
	GtkLabel* _tmp8_ = NULL;
	BoxesResourceGraph* _tmp9_ = NULL;
	const gchar* _tmp10_ = NULL;
	GtkLabel* _tmp11_ = NULL;
	GtkLabel* _tmp12_ = NULL;
	BoxesLibvirtMachine* _tmp13_ = NULL;
	gulong _tmp14_ = 0UL;
	BoxesProperty* _tmp15_ = NULL;
	gulong _tmp16_ = 0UL;
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_ = g_slice_new0 (Block49Data);
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_->_ref_count_ = 1;
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_->self = g_object_ref (self);
#line 374 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = (GtkGrid*) gtk_grid_new ();
#line 374 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp0_);
#line 374 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	grid = _tmp0_;
#line 375 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_margin_top ((GtkWidget*) grid, 20);
#line 376 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) grid, 20);
#line 377 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_row_spacing (grid, 5);
#line 378 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_column_spacing (grid, 10);
#line 379 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_column_homogeneous (grid, TRUE);
#line 380 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_vexpand ((GtkWidget*) grid, FALSE);
#line 383 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_resource_graph_new ((gdouble) 100);
#line 383 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp1_);
#line 383 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_->cpu_graph = _tmp1_;
#line 384 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_resource_graph_set_npoints (_data49_->cpu_graph, 20);
#line 385 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _data49_->cpu_graph, 0, 0, 1, 1);
#line 386 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _ ("CPU");
#line 386 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = (GtkLabel*) gtk_label_new (_tmp2_);
#line 386 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp3_);
#line 386 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	label = _tmp3_;
#line 387 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = label;
#line 387 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _tmp4_, 0, 1, 1, 1);
#line 390 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = boxes_resource_graph_new ((gdouble) 104857600);
#line 390 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp5_);
#line 390 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_->io_graph = _tmp5_;
#line 391 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _data49_->io_graph, 1, 0, 1, 1);
#line 392 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = _ ("I/O");
#line 392 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = (GtkLabel*) gtk_label_new (_tmp6_);
#line 392 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp7_);
#line 392 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (label);
#line 392 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	label = _tmp7_;
#line 393 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = label;
#line 393 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _tmp8_, 1, 1, 1, 1);
#line 396 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = boxes_resource_graph_new ((gdouble) 1048576);
#line 396 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp9_);
#line 396 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_->net_graph = _tmp9_;
#line 397 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _data49_->net_graph, 2, 0, 1, 1);
#line 398 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = _ ("Network");
#line 398 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = (GtkLabel*) gtk_label_new (_tmp10_);
#line 398 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp11_);
#line 398 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (label);
#line 398 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	label = _tmp11_;
#line 399 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = label;
#line 399 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) _tmp12_, 2, 1, 1, 1);
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = self->priv->machine;
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp14_ = g_signal_connect_data (_tmp13_, "stats-updated", (GCallback) ___lambda150__boxes_libvirt_machine_stats_updated, block49_data_ref (_data49_), (GClosureNotify) block49_data_unref, 0);
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_->stats_id = _tmp14_;
#line 407 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp15_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, NULL, (GtkWidget*) grid, NULL);
#line 407 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_->prop = _tmp15_;
#line 408 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_->flushed_id = (gulong) 0;
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp16_ = g_signal_connect_data (_data49_->prop, "flushed", (GCallback) ___lambda151__boxes_property_flushed, block49_data_ref (_data49_), (GClosureNotify) block49_data_unref, 0);
#line 409 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_->flushed_id = _tmp16_;
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (label);
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (grid);
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	block49_data_unref (_data49_);
#line 373 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data49_ = NULL;
#line 4450 "libvirt-machine-properties.c"
}


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


static void block50_data_unref (void * _userdata_) {
	Block50Data* _data50_;
	_data50_ = (Block50Data*) _userdata_;
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data50_->_ref_count_)) {
#line 4468 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data50_->self;
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data50_->prop);
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data50_->shutdown_button);
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data50_->restart_button);
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block50Data, _data50_);
#line 4482 "libvirt-machine-properties.c"
	}
}


static void __lambda152_ (BoxesLibvirtMachineProperties* self) {
	BoxesLibvirtMachine* _tmp0_ = NULL;
	BoxesLibvirtMachine* _tmp1_ = NULL;
	BoxesAppWindow* _tmp2_ = NULL;
	BoxesAppWindow* _tmp3_ = NULL;
	BoxesPropertiesWindow* _tmp4_ = NULL;
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_machine_restart ((BoxesMachine*) _tmp0_);
#line 430 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 430 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_machine_get_window ((BoxesMachine*) _tmp1_);
#line 430 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 430 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = _tmp3_->props_window;
#line 430 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_properties_window_revert_state (_tmp4_);
#line 4507 "libvirt-machine-properties.c"
}


static void ___lambda152__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 428 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda152_ ((BoxesLibvirtMachineProperties*) self);
#line 4514 "libvirt-machine-properties.c"
}


static void __lambda158_ (BoxesLibvirtMachineProperties* self) {
	BoxesLibvirtMachine* _tmp0_ = NULL;
	BoxesLibvirtMachine* _tmp1_ = NULL;
	BoxesAppWindow* _tmp2_ = NULL;
	BoxesAppWindow* _tmp3_ = NULL;
	BoxesPropertiesWindow* _tmp4_ = NULL;
#line 438 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 438 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_force_shutdown (_tmp0_);
#line 439 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 439 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_machine_get_window ((BoxesMachine*) _tmp1_);
#line 439 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 439 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = _tmp3_->props_window;
#line 439 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_properties_window_revert_state (_tmp4_);
#line 4538 "libvirt-machine-properties.c"
}


static void ___lambda158__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 437 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda158_ ((BoxesLibvirtMachineProperties*) self);
#line 4545 "libvirt-machine-properties.c"
}


static void __lambda159_ (Block50Data* _data50_) {
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
	BoxesLibvirtMachine* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
	gboolean _tmp5_ = FALSE;
#line 444 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data50_->self;
#line 445 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 445 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_machine_get_is_running ((BoxesMachine*) _tmp0_);
#line 445 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 445 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _data50_->restart_button, _tmp2_);
#line 446 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = self->priv->machine;
#line 446 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = boxes_machine_get_is_running ((BoxesMachine*) _tmp3_);
#line 446 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = _tmp4_;
#line 446 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _data50_->shutdown_button, _tmp5_);
#line 4575 "libvirt-machine-properties.c"
}


static void ___lambda159__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 444 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda159_ (self);
#line 4582 "libvirt-machine-properties.c"
}


static void __lambda160_ (BoxesLibvirtMachineProperties* self) {
	gchar* log = NULL;
	gchar* _tmp0_ = NULL;
	BoxesLibvirtMachine* _tmp1_ = NULL;
	BoxesAppWindow* _tmp2_ = NULL;
	BoxesAppWindow* _tmp3_ = NULL;
	BoxesPropertiesWindow* _tmp4_ = NULL;
#line 453 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = boxes_libvirt_machine_properties_collect_logs (self);
#line 453 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	log = _tmp0_;
#line 454 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 454 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_machine_get_window ((BoxesMachine*) _tmp1_);
#line 454 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 454 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = _tmp3_->props_window;
#line 454 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_properties_window_show_troubleshoot_log (_tmp4_, log);
#line 452 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (log);
#line 4609 "libvirt-machine-properties.c"
}


static void ___lambda160__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 452 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda160_ ((BoxesLibvirtMachineProperties*) self);
#line 4616 "libvirt-machine-properties.c"
}


static void __lambda161_ (Block50Data* _data50_) {
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* _tmp0_ = NULL;
	gulong _tmp1_ = 0UL;
#line 459 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data50_->self;
#line 460 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 460 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_handler_disconnect ((GObject*) _tmp0_, _data50_->state_notify_id);
#line 461 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _data50_->flushed_id;
#line 461 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_handler_disconnect ((GObject*) _data50_->prop, _tmp1_);
#line 4634 "libvirt-machine-properties.c"
}


static void ___lambda161__boxes_property_flushed (BoxesProperty* _sender, gpointer self) {
#line 459 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda161_ (self);
#line 4641 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_add_system_props_buttons (BoxesLibvirtMachineProperties* self, GList** list) {
	Block50Data* _data50_;
	GtkGrid* grid = NULL;
	GtkGrid* _tmp0_ = NULL;
	GtkGrid* inner_grid = NULL;
	GtkGrid* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	GtkButton* _tmp3_ = NULL;
	BoxesLibvirtMachine* _tmp4_ = NULL;
	gboolean _tmp5_ = FALSE;
	gboolean _tmp6_ = FALSE;
	const gchar* _tmp7_ = NULL;
	GtkButton* _tmp8_ = NULL;
	GtkStyleContext* _tmp9_ = NULL;
	BoxesLibvirtMachine* _tmp10_ = NULL;
	gboolean _tmp11_ = FALSE;
	gboolean _tmp12_ = FALSE;
	BoxesLibvirtMachine* _tmp13_ = NULL;
	gulong _tmp14_ = 0UL;
	GtkButton* log_button = NULL;
	const gchar* _tmp15_ = NULL;
	GtkButton* _tmp16_ = NULL;
	BoxesProperty* _tmp17_ = NULL;
	gulong _tmp18_ = 0UL;
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_ = g_slice_new0 (Block50Data);
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->_ref_count_ = 1;
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->self = g_object_ref (self);
#line 416 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = (GtkGrid*) gtk_grid_new ();
#line 416 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp0_);
#line 416 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	grid = _tmp0_;
#line 417 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_margin_bottom ((GtkWidget*) grid, 20);
#line 418 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_column_spacing (grid, 5);
#line 419 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_hexpand ((GtkWidget*) grid, TRUE);
#line 421 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = (GtkGrid*) gtk_grid_new ();
#line 421 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp1_);
#line 421 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	inner_grid = _tmp1_;
#line 422 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_column_spacing (inner_grid, 5);
#line 423 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_halign ((GtkWidget*) inner_grid, GTK_ALIGN_START);
#line 424 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_hexpand ((GtkWidget*) inner_grid, TRUE);
#line 425 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) inner_grid, 0, 0, 1, 1);
#line 427 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _ ("_Restart");
#line 427 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = (GtkButton*) gtk_button_new_with_mnemonic (_tmp2_);
#line 427 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp3_);
#line 427 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->restart_button = _tmp3_;
#line 428 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_object (_data50_->restart_button, "clicked", (GCallback) ___lambda152__gtk_button_clicked, self, 0);
#line 432 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = self->priv->machine;
#line 432 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = boxes_machine_get_is_running ((BoxesMachine*) _tmp4_);
#line 432 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = _tmp5_;
#line 432 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _data50_->restart_button, _tmp6_);
#line 433 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (inner_grid, (GtkWidget*) _data50_->restart_button, 1, 0, 1, 1);
#line 435 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = _ ("_Force Shutdown");
#line 435 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = (GtkButton*) gtk_button_new_with_mnemonic (_tmp7_);
#line 435 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp8_);
#line 435 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->shutdown_button = _tmp8_;
#line 436 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = gtk_widget_get_style_context ((GtkWidget*) _data50_->shutdown_button);
#line 436 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_style_context_add_class (_tmp9_, GTK_STYLE_CLASS_DESTRUCTIVE_ACTION);
#line 437 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_object (_data50_->shutdown_button, "clicked", (GCallback) ___lambda158__gtk_button_clicked, self, 0);
#line 441 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = self->priv->machine;
#line 441 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = boxes_machine_get_is_running ((BoxesMachine*) _tmp10_);
#line 441 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = _tmp11_;
#line 441 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_sensitive ((GtkWidget*) _data50_->shutdown_button, _tmp12_);
#line 442 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (inner_grid, (GtkWidget*) _data50_->shutdown_button, 2, 0, 1, 1);
#line 444 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = self->priv->machine;
#line 444 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp14_ = g_signal_connect_data ((GObject*) _tmp13_, "notify::state", (GCallback) ___lambda159__g_object_notify, block50_data_ref (_data50_), (GClosureNotify) block50_data_unref, 0);
#line 444 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->state_notify_id = _tmp14_;
#line 449 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp15_ = _ ("_Troubleshooting Log");
#line 449 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp16_ = (GtkButton*) gtk_button_new_with_mnemonic (_tmp15_);
#line 449 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp16_);
#line 449 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	log_button = _tmp16_;
#line 450 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_halign ((GtkWidget*) log_button, GTK_ALIGN_END);
#line 451 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_attach (grid, (GtkWidget*) log_button, 1, 0, 1, 1);
#line 452 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_object (log_button, "clicked", (GCallback) ___lambda160__gtk_button_clicked, self, 0);
#line 457 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp17_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, NULL, (GtkWidget*) grid, NULL);
#line 457 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->prop = _tmp17_;
#line 458 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->flushed_id = (gulong) 0;
#line 459 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp18_ = g_signal_connect_data (_data50_->prop, "flushed", (GCallback) ___lambda161__boxes_property_flushed, block50_data_ref (_data50_), (GClosureNotify) block50_data_unref, 0);
#line 459 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_->flushed_id = _tmp18_;
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (log_button);
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (inner_grid);
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (grid);
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	block50_data_unref (_data50_);
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data50_ = NULL;
#line 4787 "libvirt-machine-properties.c"
}


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


static void block51_data_unref (void * _userdata_) {
	Block51Data* _data51_;
	_data51_ = (Block51Data*) _userdata_;
#line 466 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data51_->_ref_count_)) {
#line 4805 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 466 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data51_->self;
#line 466 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data51_->property);
#line 466 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 466 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block51Data, _data51_);
#line 4815 "libvirt-machine-properties.c"
	}
}


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


static void ___lambda163_ (Block51Data* _data51_) {
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
	gboolean _tmp2_ = FALSE;
#line 487 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data51_->self;
#line 488 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 488 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_machine_get_is_on ((BoxesMachine*) _tmp0_);
#line 488 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 488 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (!_tmp2_) {
#line 4842 "libvirt-machine-properties.c"
		BoxesSizeProperty* _tmp3_ = NULL;
#line 489 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = _data51_->property;
#line 489 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_reboot_required ((BoxesProperty*) _tmp3_, FALSE);
#line 4848 "libvirt-machine-properties.c"
	}
}


static void ____lambda163__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 487 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda163_ (self);
#line 4856 "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 465 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 4865 "libvirt-machine-properties.c"
	{
		Block51Data* _data51_;
		GVirNodeInfo* _tmp0_ = NULL;
		BoxesLibvirtMachine* _tmp1_ = NULL;
		GVirConnection* _tmp2_ = NULL;
		GVirConnection* _tmp3_ = NULL;
		GVirNodeInfo* _tmp4_ = NULL;
		gulong max_ram = 0UL;
		GVirNodeInfo* _tmp5_ = NULL;
		GVirNodeInfo* _tmp6_ = NULL;
		gulong _tmp7_ = 0UL;
		gulong _tmp8_ = 0UL;
		const gchar* _tmp9_ = NULL;
		BoxesLibvirtMachine* _tmp10_ = NULL;
		GVirConfigDomain* _tmp11_ = NULL;
		GVirConfigDomain* _tmp12_ = NULL;
		guint64 _tmp13_ = 0ULL;
		guint64 _tmp14_ = 0ULL;
		gulong _tmp15_ = 0UL;
		BoxesSizeProperty* _tmp16_ = NULL;
		BoxesSizeProperty* _tmp17_ = NULL;
		BoxesSizeProperty* _tmp18_ = NULL;
		GtkWidget* _tmp19_ = NULL;
		GtkWidget* _tmp20_ = NULL;
		gboolean _tmp21_ = FALSE;
		gboolean _tmp22_ = FALSE;
		gboolean _tmp23_ = FALSE;
		BoxesLibvirtMachine* _tmp24_ = NULL;
		GVirConfigDomain* _tmp25_ = NULL;
		GVirConfigDomain* _tmp26_ = NULL;
		gboolean _tmp27_ = FALSE;
		BoxesLibvirtMachine* _tmp42_ = NULL;
		BoxesSizeProperty* _tmp43_ = NULL;
		BoxesSizeProperty* _tmp44_ = NULL;
		BoxesSizeProperty* _tmp45_ = NULL;
#line 466 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data51_ = g_slice_new0 (Block51Data);
#line 466 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data51_->_ref_count_ = 1;
#line 466 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data51_->self = g_object_ref (self);
#line 467 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = self->priv->machine;
#line 467 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = boxes_libvirt_machine_get_connection (_tmp1_);
#line 467 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = _tmp2_;
#line 467 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = gvir_connection_get_node_info (_tmp3_, &_inner_error_);
#line 467 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp4_;
#line 467 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 467 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			block51_data_unref (_data51_);
#line 467 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data51_ = NULL;
#line 4923 "libvirt-machine-properties.c"
			goto __catch46_g_error;
		}
#line 467 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = _tmp0_;
#line 467 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = NULL;
#line 467 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _tmp5_;
#line 467 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = _tmp6_->memory;
#line 467 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = _tmp7_;
#line 467 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirNodeInfo_free0 (_tmp6_);
#line 467 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		max_ram = _tmp8_;
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = _ ("_Memory: ");
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = self->priv->machine;
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = boxes_libvirt_machine_get_domain_config (_tmp10_);
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = _tmp11_;
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = gvir_config_domain_get_memory (_tmp12_);
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = _tmp13_;
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = max_ram;
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = boxes_iproperties_provider_add_size_property ((BoxesIPropertiesProvider*) self, list, _tmp9_, _tmp14_ * OSINFO_KIBIBYTES, (guint64) (64 * OSINFO_MEBIBYTES), (guint64) (_tmp15_ * OSINFO_KIBIBYTES), (guint64) 0, (guint64) (64 * OSINFO_MEBIBYTES), G_FORMAT_SIZE_IEC_UNITS);
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data51_->property = _tmp16_;
#line 477 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = _data51_->property;
#line 477 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_description_alignment ((BoxesProperty*) _tmp17_, GTK_ALIGN_START);
#line 478 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = _data51_->property;
#line 478 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = boxes_property_get_widget ((BoxesProperty*) _tmp18_);
#line 478 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = _tmp19_;
#line 478 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_widget_set_margin_top (_tmp20_, 5);
#line 479 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = self->priv->machine;
#line 479 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = boxes_libvirt_machine_get_domain_config (_tmp24_);
#line 479 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = _tmp25_;
#line 479 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = boxes_vm_configurator_is_install_config (_tmp26_);
#line 479 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp27_) {
#line 479 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp23_ = TRUE;
#line 4982 "libvirt-machine-properties.c"
		} else {
			BoxesLibvirtMachine* _tmp28_ = NULL;
			GVirConfigDomain* _tmp29_ = NULL;
			GVirConfigDomain* _tmp30_ = NULL;
			gboolean _tmp31_ = FALSE;
#line 480 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp28_ = self->priv->machine;
#line 480 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp29_ = boxes_libvirt_machine_get_domain_config (_tmp28_);
#line 480 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp30_ = _tmp29_;
#line 480 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp31_ = boxes_vm_configurator_is_live_config (_tmp30_);
#line 480 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp23_ = _tmp31_;
#line 4998 "libvirt-machine-properties.c"
		}
#line 479 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp23_) {
#line 5002 "libvirt-machine-properties.c"
			BoxesLibvirtMachine* _tmp32_ = NULL;
			BoxesAppWindow* _tmp33_ = NULL;
			BoxesAppWindow* _tmp34_ = NULL;
			BoxesUIState _tmp35_ = 0;
			BoxesUIState _tmp36_ = 0;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp32_ = self->priv->machine;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp33_ = boxes_machine_get_window ((BoxesMachine*) _tmp32_);
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp34_ = _tmp33_;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp35_ = boxes_ui_get_ui_state ((BoxesUI*) _tmp34_);
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp36_ = _tmp35_;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp22_ = _tmp36_ != BOXES_UI_STATE_WIZARD;
#line 5020 "libvirt-machine-properties.c"
		} else {
#line 479 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp22_ = FALSE;
#line 5024 "libvirt-machine-properties.c"
		}
#line 479 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp22_) {
#line 5028 "libvirt-machine-properties.c"
			BoxesLibvirtMachine* _tmp37_ = NULL;
			BoxesMachineMachineState _tmp38_ = 0;
			BoxesMachineMachineState _tmp39_ = 0;
#line 482 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp37_ = self->priv->machine;
#line 482 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp38_ = boxes_machine_get_state ((BoxesMachine*) _tmp37_);
#line 482 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp39_ = _tmp38_;
#line 482 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp21_ = _tmp39_ != BOXES_MACHINE_MACHINE_STATE_FORCE_STOPPED;
#line 5040 "libvirt-machine-properties.c"
		} else {
#line 479 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp21_ = FALSE;
#line 5044 "libvirt-machine-properties.c"
		}
#line 479 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp21_) {
#line 5048 "libvirt-machine-properties.c"
			BoxesSizeProperty* _tmp40_ = NULL;
#line 483 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp40_ = _data51_->property;
#line 483 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_property_set_sensitive ((BoxesProperty*) _tmp40_, FALSE);
#line 5054 "libvirt-machine-properties.c"
		} else {
			BoxesSizeProperty* _tmp41_ = NULL;
#line 485 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp41_ = _data51_->property;
#line 485 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_connect_object (_tmp41_, "changed", (GCallback) _boxes_libvirt_machine_properties_on_ram_changed_boxes_size_property_changed, self, 0);
#line 5061 "libvirt-machine-properties.c"
		}
#line 487 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp42_ = self->priv->machine;
#line 487 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_signal_connect_data ((GObject*) _tmp42_, "notify::state", (GCallback) ____lambda163__g_object_notify, block51_data_ref (_data51_), (GClosureNotify) block51_data_unref, 0);
#line 492 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp43_ = _data51_->property;
#line 492 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_properties_update_ram_property (self, (BoxesProperty*) _tmp43_);
#line 494 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp44_ = _data51_->property;
#line 494 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp45_ = _g_object_ref0 (_tmp44_);
#line 494 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = _tmp45_;
#line 494 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirNodeInfo_free0 (_tmp0_);
#line 494 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		block51_data_unref (_data51_);
#line 494 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data51_ = NULL;
#line 494 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5085 "libvirt-machine-properties.c"
	}
	goto __finally46;
	__catch46_g_error:
	{
		GError* _error_ = NULL;
#line 466 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 466 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 496 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = NULL;
#line 496 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 496 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5101 "libvirt-machine-properties.c"
	}
	__finally46:
#line 466 "/home/zeenix/checkout/gnome/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 466 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_clear_error (&_inner_error_);
#line 466 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return NULL;
#line 5110 "libvirt-machine-properties.c"
}


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


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


static gboolean __lambda162_ (Block52Data* _data52_) {
	BoxesLibvirtMachineProperties* self;
	gboolean result = FALSE;
	guint64 ram = 0ULL;
	guint64 _tmp0_ = 0ULL;
	BoxesProperty* _tmp24_ = NULL;
	GError * _inner_error_ = NULL;
#line 502 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data52_->self;
#line 503 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _data52_->value;
#line 503 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	ram = ((_tmp0_ + OSINFO_KIBIBYTES) - 1) / OSINFO_KIBIBYTES;
#line 5156 "libvirt-machine-properties.c"
	{
		GVirConfigDomain* config = NULL;
		BoxesLibvirtMachine* _tmp1_ = NULL;
		GVirDomain* _tmp2_ = NULL;
		GVirDomain* _tmp3_ = NULL;
		GVirConfigDomain* _tmp4_ = NULL;
		GVirConfigDomain* _tmp5_ = NULL;
		guint64 _tmp6_ = 0ULL;
		GVirConfigDomain* _tmp7_ = NULL;
		GObjectClass* _tmp8_ = NULL;
		GParamSpec* _tmp9_ = NULL;
		BoxesLibvirtMachine* _tmp12_ = NULL;
		GVirDomain* _tmp13_ = NULL;
		GVirDomain* _tmp14_ = NULL;
		GVirConfigDomain* _tmp15_ = NULL;
		guint64 _tmp16_ = 0ULL;
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = self->priv->machine;
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = boxes_libvirt_machine_get_domain (_tmp1_);
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = _tmp2_;
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = gvir_domain_get_config (_tmp3_, (guint) GVIR_DOMAIN_XML_INACTIVE, &_inner_error_);
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		config = _tmp4_;
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 5185 "libvirt-machine-properties.c"
			goto __catch47_g_error;
		}
#line 506 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = config;
#line 506 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = ram;
#line 506 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_config_domain_set_memory (_tmp5_, _tmp6_);
#line 507 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = config;
#line 507 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = G_OBJECT_GET_CLASS ((GObject*) _tmp7_);
#line 507 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = g_object_class_find_property (_tmp8_, "current-memory");
#line 507 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp9_ != NULL) {
#line 5202 "libvirt-machine-properties.c"
			GVirConfigDomain* _tmp10_ = NULL;
			guint64 _tmp11_ = 0ULL;
#line 508 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp10_ = config;
#line 508 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp11_ = ram;
#line 508 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_set ((GObject*) _tmp10_, "current-memory", _tmp11_, NULL);
#line 5211 "libvirt-machine-properties.c"
		}
#line 509 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = self->priv->machine;
#line 509 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = boxes_libvirt_machine_get_domain (_tmp12_);
#line 509 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = _tmp13_;
#line 509 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = config;
#line 509 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_domain_set_config (_tmp14_, _tmp15_, &_inner_error_);
#line 509 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 509 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (config);
#line 5227 "libvirt-machine-properties.c"
			goto __catch47_g_error;
		}
#line 510 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = ram;
#line 510 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_debug ("libvirt-machine-properties.vala:510: RAM changed to %llu KiB", _tmp16_);
#line 504 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 5236 "libvirt-machine-properties.c"
	}
	goto __finally47;
	__catch47_g_error:
	{
		GError* _error_ = NULL;
		BoxesLibvirtMachine* _tmp17_ = NULL;
		GVirDomain* _tmp18_ = NULL;
		GVirDomain* _tmp19_ = NULL;
		const gchar* _tmp20_ = NULL;
		guint64 _tmp21_ = 0ULL;
		GError* _tmp22_ = NULL;
		const gchar* _tmp23_ = NULL;
#line 504 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 504 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 512 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = self->priv->machine;
#line 512 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = boxes_libvirt_machine_get_domain (_tmp17_);
#line 512 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _tmp18_;
#line 512 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = gvir_domain_get_name (_tmp19_);
#line 512 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = ram;
#line 512 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = _error_;
#line 512 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = _tmp22_->message;
#line 512 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:512: Failed to change RAM of box '%s' " \
"to %llu KiB: %s", _tmp20_, _tmp21_, _tmp23_);
#line 504 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 5271 "libvirt-machine-properties.c"
	}
	__finally47:
#line 504 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 504 "/home/zeenix/checkout/gnome/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 504 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 504 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 5282 "libvirt-machine-properties.c"
	}
#line 518 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp24_ = _data52_->property;
#line 518 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_update_ram_property (self, _tmp24_);
#line 520 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	result = FALSE;
#line 520 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 5292 "libvirt-machine-properties.c"
}


static gboolean ___lambda162__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda162_ (self);
#line 502 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 5301 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_on_ram_changed (BoxesLibvirtMachineProperties* self, BoxesProperty* property, guint64 value) {
	Block52Data* _data52_;
	BoxesProperty* _tmp0_ = NULL;
	BoxesProperty* _tmp1_ = NULL;
	guint64 _tmp2_ = 0ULL;
	BoxesProperty* _tmp3_ = NULL;
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (property != NULL);
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data52_ = g_slice_new0 (Block52Data);
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data52_->_ref_count_ = 1;
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data52_->self = g_object_ref (self);
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = property;
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data52_->property);
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data52_->property = _tmp1_;
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = value;
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data52_->value = _tmp2_;
#line 502 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _data52_->property;
#line 502 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_property_set_deferred_change (_tmp3_, ___lambda162__gsource_func, block52_data_ref (_data52_), block52_data_unref);
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	block52_data_unref (_data52_);
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data52_ = NULL;
#line 5341 "libvirt-machine-properties.c"
}


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


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


static void _boxes_libvirt_machine_properties_on_storage_changed_boxes_size_property_changed (BoxesSizeProperty* _sender, guint64 value, gpointer self) {
#line 581 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_on_storage_changed ((BoxesLibvirtMachineProperties*) self, _sender, value);
#line 5362 "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_ = NULL;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
	GError * _inner_error_ = NULL;
#line 524 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 525 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 525 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_libvirt_machine_get_importing (_tmp1_);
#line 525 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 525 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp3_) {
#line 525 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = TRUE;
#line 5385 "libvirt-machine-properties.c"
	} else {
		BoxesLibvirtMachine* _tmp4_ = NULL;
		GVirStorageVol* _tmp5_ = NULL;
		GVirStorageVol* _tmp6_ = NULL;
#line 525 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = self->priv->machine;
#line 525 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = boxes_libvirt_machine_get_storage_volume (_tmp4_);
#line 525 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _tmp5_;
#line 525 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp6_ == NULL;
#line 5398 "libvirt-machine-properties.c"
	}
#line 525 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp0_) {
#line 526 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = NULL;
#line 526 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5406 "libvirt-machine-properties.c"
	}
	{
		GVirStorageVolInfo* volume_info = NULL;
		BoxesLibvirtMachine* _tmp7_ = NULL;
		GVirStorageVol* _tmp8_ = NULL;
		GVirStorageVol* _tmp9_ = NULL;
		GVirStorageVolInfo* _tmp10_ = NULL;
		GVirStoragePool* pool = NULL;
		BoxesLibvirtMachine* _tmp11_ = NULL;
		GVirConnection* _tmp12_ = NULL;
		GVirConnection* _tmp13_ = NULL;
		GVirStoragePool* _tmp14_ = NULL;
		GVirStoragePoolInfo* pool_info = NULL;
		GVirStoragePool* _tmp15_ = NULL;
		GVirStoragePoolInfo* _tmp16_ = NULL;
		guint64 min_storage = 0ULL;
		guint64 _tmp17_ = 0ULL;
		guint64 max_storage = 0ULL;
		GVirStorageVolInfo* _tmp18_ = NULL;
		guint64 _tmp19_ = 0ULL;
		GVirStoragePoolInfo* _tmp20_ = NULL;
		guint64 _tmp21_ = 0ULL;
		guint64 _tmp22_ = 0ULL;
		guint64 _tmp23_ = 0ULL;
		BoxesSizeProperty* property = NULL;
		const gchar* _tmp60_ = NULL;
		GVirStorageVolInfo* _tmp61_ = NULL;
		guint64 _tmp62_ = 0ULL;
		guint64 _tmp63_ = 0ULL;
		guint64 _tmp64_ = 0ULL;
		GVirStorageVolInfo* _tmp65_ = NULL;
		guint64 _tmp66_ = 0ULL;
		BoxesSizeProperty* _tmp67_ = NULL;
		BoxesSizeProperty* _tmp68_ = NULL;
		BoxesSizeProperty* _tmp69_ = NULL;
		gboolean _tmp70_ = FALSE;
		gboolean _tmp71_ = FALSE;
		gboolean _tmp72_ = FALSE;
		BoxesLibvirtMachine* _tmp73_ = NULL;
		GVirConfigDomain* _tmp74_ = NULL;
		GVirConfigDomain* _tmp75_ = NULL;
		gboolean _tmp76_ = FALSE;
#line 529 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = self->priv->machine;
#line 529 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = boxes_libvirt_machine_get_storage_volume (_tmp7_);
#line 529 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = _tmp8_;
#line 529 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = gvir_storage_vol_get_info (_tmp9_, &_inner_error_);
#line 529 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		volume_info = _tmp10_;
#line 529 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 5461 "libvirt-machine-properties.c"
			goto __catch48_g_error;
		}
#line 530 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = self->priv->machine;
#line 530 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = boxes_libvirt_machine_get_connection (_tmp11_);
#line 530 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = _tmp12_;
#line 530 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = boxes_get_storage_pool (_tmp13_);
#line 530 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		pool = _tmp14_;
#line 531 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = pool;
#line 531 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = gvir_storage_pool_get_info (_tmp15_, &_inner_error_);
#line 531 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		pool_info = _tmp16_;
#line 531 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 531 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (pool);
#line 531 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 5486 "libvirt-machine-properties.c"
			goto __catch48_g_error;
		}
#line 532 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = boxes_libvirt_machine_properties_get_minimum_disk_size (self, &_inner_error_);
#line 532 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		min_storage = _tmp17_;
#line 532 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 532 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStoragePoolInfo_free0 (pool_info);
#line 532 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (pool);
#line 532 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 5501 "libvirt-machine-properties.c"
			goto __catch48_g_error;
		}
#line 533 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = volume_info;
#line 533 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _tmp18_->allocation;
#line 533 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = pool_info;
#line 533 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = _tmp20_->available;
#line 533 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		max_storage = _tmp19_ + _tmp21_;
#line 535 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = min_storage;
#line 535 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = max_storage;
#line 535 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp22_ >= _tmp23_) {
#line 5520 "libvirt-machine-properties.c"
			GtkLabel* label = NULL;
			GtkLabel* _tmp24_ = NULL;
			gchar* capacity = NULL;
			GVirStorageVolInfo* _tmp25_ = NULL;
			guint64 _tmp26_ = 0ULL;
			gchar* _tmp27_ = NULL;
			gchar* allocation = NULL;
			GVirStorageVolInfo* _tmp28_ = NULL;
			guint64 _tmp29_ = 0ULL;
			gchar* _tmp30_ = NULL;
			gchar* markup = NULL;
			const gchar* _tmp31_ = NULL;
			const gchar* _tmp32_ = NULL;
			const gchar* _tmp33_ = NULL;
			gchar* _tmp34_ = NULL;
			GtkLabel* _tmp35_ = NULL;
			const gchar* _tmp36_ = NULL;
			GtkLabel* _tmp37_ = NULL;
			GtkLabel* _tmp38_ = NULL;
			BoxesProperty* _tmp39_ = NULL;
			BoxesProperty* _tmp40_ = NULL;
			GtkInfoBar* infobar = NULL;
			GtkInfoBar* _tmp41_ = NULL;
			GtkInfoBar* _tmp42_ = NULL;
			GtkContainer* content = NULL;
			GtkInfoBar* _tmp43_ = NULL;
			GtkContainer* _tmp44_ = NULL;
			GtkContainer* _tmp45_ = NULL;
			GtkImage* image = NULL;
			GtkImage* _tmp46_ = NULL;
			GtkImage* _tmp47_ = NULL;
			GtkImage* _tmp48_ = NULL;
			GtkContainer* _tmp49_ = NULL;
			GtkImage* _tmp50_ = NULL;
			gchar* msg = NULL;
			const gchar* _tmp51_ = NULL;
			gchar* _tmp52_ = NULL;
			const gchar* _tmp53_ = NULL;
			GtkLabel* _tmp54_ = NULL;
			GtkContainer* _tmp55_ = NULL;
			GtkLabel* _tmp56_ = NULL;
			GtkInfoBar* _tmp57_ = NULL;
			BoxesProperty* _tmp58_ = NULL;
			BoxesProperty* _tmp59_ = NULL;
#line 536 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp24_ = (GtkLabel*) gtk_label_new ("");
#line 536 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_ref_sink (_tmp24_);
#line 536 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			label = _tmp24_;
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp25_ = volume_info;
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp26_ = _tmp25_->capacity;
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp27_ = g_format_size_full (_tmp26_, G_FORMAT_SIZE_DEFAULT);
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			capacity = _tmp27_;
#line 538 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp28_ = volume_info;
#line 538 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp29_ = _tmp28_->allocation;
#line 538 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp30_ = g_format_size_full (_tmp29_, G_FORMAT_SIZE_DEFAULT);
#line 538 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			allocation = _tmp30_;
#line 539 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp31_ = _ ("<span color=\"grey\">Maximum Disk Size</span>\t\t %s <span color=\"gre" \
"y\">(%s used)</span>");
#line 539 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp32_ = capacity;
#line 539 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp33_ = allocation;
#line 539 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp34_ = g_strdup_printf (_tmp31_, _tmp32_, _tmp33_);
#line 539 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			markup = _tmp34_;
#line 540 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp35_ = label;
#line 540 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp36_ = markup;
#line 540 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_label_set_markup (_tmp35_, _tmp36_);
#line 541 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp37_ = label;
#line 541 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_widget_set_halign ((GtkWidget*) _tmp37_, GTK_ALIGN_START);
#line 543 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp38_ = label;
#line 543 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp39_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, NULL, (GtkWidget*) _tmp38_, NULL);
#line 543 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp40_ = _tmp39_;
#line 543 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_tmp40_);
#line 545 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp41_ = (GtkInfoBar*) gtk_info_bar_new ();
#line 545 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_ref_sink (_tmp41_);
#line 545 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			infobar = _tmp41_;
#line 546 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp42_ = infobar;
#line 546 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_info_bar_set_message_type (_tmp42_, GTK_MESSAGE_WARNING);
#line 548 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp43_ = infobar;
#line 548 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp44_ = gtk_info_bar_get_content_area (_tmp43_);
#line 548 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp45_ = _g_object_ref0 (_tmp44_);
#line 548 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			content = _tmp45_;
#line 550 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp46_ = (GtkImage*) gtk_image_new ();
#line 550 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_ref_sink (_tmp46_);
#line 550 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			image = _tmp46_;
#line 551 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp47_ = image;
#line 551 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_set (_tmp47_, "icon-name", "dialog-warning", NULL);
#line 552 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp48_ = image;
#line 552 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_set (_tmp48_, "icon-size", 3, NULL);
#line 553 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp49_ = content;
#line 553 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp50_ = image;
#line 553 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_container_add (_tmp49_, (GtkWidget*) _tmp50_);
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp51_ = _ ("There is not enough space on your machine to increase the maximum disk" \
" size.");
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp52_ = g_strdup (_tmp51_);
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			msg = _tmp52_;
#line 556 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp53_ = msg;
#line 556 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp54_ = (GtkLabel*) gtk_label_new (_tmp53_);
#line 556 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_ref_sink (_tmp54_);
#line 556 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (label);
#line 556 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			label = _tmp54_;
#line 557 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp55_ = content;
#line 557 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp56_ = label;
#line 557 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_container_add (_tmp55_, (GtkWidget*) _tmp56_);
#line 559 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp57_ = infobar;
#line 559 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp58_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, NULL, (GtkWidget*) _tmp57_, NULL);
#line 559 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp59_ = _tmp58_;
#line 559 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_tmp59_);
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			result = NULL;
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (msg);
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (image);
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (content);
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (infobar);
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (markup);
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (allocation);
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (capacity);
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (label);
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStoragePoolInfo_free0 (pool_info);
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (pool);
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return result;
#line 5709 "libvirt-machine-properties.c"
		}
#line 563 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp60_ = _ ("Maximum _Disk Size: ");
#line 563 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp61_ = volume_info;
#line 563 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp62_ = _tmp61_->capacity;
#line 563 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp63_ = min_storage;
#line 563 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp64_ = max_storage;
#line 563 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp65_ = volume_info;
#line 563 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp66_ = _tmp65_->allocation;
#line 563 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp67_ = boxes_iproperties_provider_add_size_property ((BoxesIPropertiesProvider*) self, list, _tmp60_, _tmp62_, _tmp63_, _tmp64_, _tmp66_, 256 * BOXES_LIBVIRT_MACHINE_PROPERTIES_MEGABYTES, G_FORMAT_SIZE_DEFAULT);
#line 563 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		property = _tmp67_;
#line 570 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp68_ = property;
#line 570 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_description_alignment ((BoxesProperty*) _tmp68_, GTK_ALIGN_START);
#line 574 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp69_ = property;
#line 574 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_defer_interval ((BoxesProperty*) _tmp69_, (guint) 0);
#line 575 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp73_ = self->priv->machine;
#line 575 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp74_ = boxes_libvirt_machine_get_domain_config (_tmp73_);
#line 575 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp75_ = _tmp74_;
#line 575 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp76_ = boxes_vm_configurator_is_install_config (_tmp75_);
#line 575 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp76_) {
#line 575 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp72_ = TRUE;
#line 5749 "libvirt-machine-properties.c"
		} else {
			BoxesLibvirtMachine* _tmp77_ = NULL;
			GVirConfigDomain* _tmp78_ = NULL;
			GVirConfigDomain* _tmp79_ = NULL;
			gboolean _tmp80_ = FALSE;
#line 576 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp77_ = self->priv->machine;
#line 576 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp78_ = boxes_libvirt_machine_get_domain_config (_tmp77_);
#line 576 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp79_ = _tmp78_;
#line 576 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp80_ = boxes_vm_configurator_is_live_config (_tmp79_);
#line 576 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp72_ = _tmp80_;
#line 5765 "libvirt-machine-properties.c"
		}
#line 575 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp72_) {
#line 5769 "libvirt-machine-properties.c"
			BoxesLibvirtMachine* _tmp81_ = NULL;
			BoxesAppWindow* _tmp82_ = NULL;
			BoxesAppWindow* _tmp83_ = NULL;
			BoxesUIState _tmp84_ = 0;
			BoxesUIState _tmp85_ = 0;
#line 577 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp81_ = self->priv->machine;
#line 577 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp82_ = boxes_machine_get_window ((BoxesMachine*) _tmp81_);
#line 577 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp83_ = _tmp82_;
#line 577 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp84_ = boxes_ui_get_ui_state ((BoxesUI*) _tmp83_);
#line 577 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp85_ = _tmp84_;
#line 577 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp71_ = _tmp85_ != BOXES_UI_STATE_WIZARD;
#line 5787 "libvirt-machine-properties.c"
		} else {
#line 575 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp71_ = FALSE;
#line 5791 "libvirt-machine-properties.c"
		}
#line 575 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp71_) {
#line 5795 "libvirt-machine-properties.c"
			BoxesLibvirtMachine* _tmp86_ = NULL;
			BoxesMachineMachineState _tmp87_ = 0;
			BoxesMachineMachineState _tmp88_ = 0;
#line 578 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp86_ = self->priv->machine;
#line 578 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp87_ = boxes_machine_get_state ((BoxesMachine*) _tmp86_);
#line 578 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp88_ = _tmp87_;
#line 578 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp70_ = _tmp88_ != BOXES_MACHINE_MACHINE_STATE_FORCE_STOPPED;
#line 5807 "libvirt-machine-properties.c"
		} else {
#line 575 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp70_ = FALSE;
#line 5811 "libvirt-machine-properties.c"
		}
#line 575 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp70_) {
#line 5815 "libvirt-machine-properties.c"
			BoxesSizeProperty* _tmp89_ = NULL;
#line 579 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp89_ = property;
#line 579 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_property_set_sensitive ((BoxesProperty*) _tmp89_, FALSE);
#line 5821 "libvirt-machine-properties.c"
		} else {
			BoxesSizeProperty* _tmp90_ = NULL;
#line 581 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp90_ = property;
#line 581 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_connect_object (_tmp90_, "changed", (GCallback) _boxes_libvirt_machine_properties_on_storage_changed_boxes_size_property_changed, self, 0);
#line 5828 "libvirt-machine-properties.c"
		}
#line 583 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = property;
#line 583 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStoragePoolInfo_free0 (pool_info);
#line 583 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (pool);
#line 583 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStorageVolInfo_free0 (volume_info);
#line 583 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5840 "libvirt-machine-properties.c"
	}
	goto __finally48;
	__catch48_g_error:
	{
		GError* _error_ = NULL;
		BoxesLibvirtMachine* _tmp91_ = NULL;
		GVirStorageVol* _tmp92_ = NULL;
		GVirStorageVol* _tmp93_ = NULL;
		const gchar* _tmp94_ = NULL;
		GError* _tmp95_ = NULL;
		const gchar* _tmp96_ = NULL;
#line 528 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 528 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp91_ = self->priv->machine;
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp92_ = boxes_libvirt_machine_get_storage_volume (_tmp91_);
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp93_ = _tmp92_;
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp94_ = gvir_storage_vol_get_name (_tmp93_);
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp95_ = _error_;
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp96_ = _tmp95_->message;
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:585: Failed to get information on volu" \
"me '%s' or it's parent pool: %s", _tmp94_, _tmp96_);
#line 588 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = NULL;
#line 588 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 588 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5876 "libvirt-machine-properties.c"
	}
	__finally48:
#line 528 "/home/zeenix/checkout/gnome/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 528 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_clear_error (&_inner_error_);
#line 528 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return NULL;
#line 5885 "libvirt-machine-properties.c"
}


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


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


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


static void block54_data_unref (void * _userdata_) {
	Block54Data* _data54_;
	_data54_ = (Block54Data*) _userdata_;
#line 601 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data54_->_ref_count_)) {
#line 5930 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 601 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data54_->_data53_->self;
#line 601 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data54_->pool);
#line 601 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		block53_data_unref (_data54_->_data53_);
#line 601 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data54_->_data53_ = NULL;
#line 601 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block54Data, _data54_);
#line 5942 "libvirt-machine-properties.c"
	}
}


static void _____lambda165_ (Block54Data* _data54_, GObject* obj, GAsyncResult* res) {
	Block53Data* _data53_;
	BoxesLibvirtMachineProperties* self;
	GError * _inner_error_ = NULL;
#line 606 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_ = _data54_->_data53_;
#line 606 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data53_->self;
#line 606 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (res != NULL);
#line 5957 "libvirt-machine-properties.c"
	{
		GVirStoragePool* _tmp0_ = NULL;
		GAsyncResult* _tmp1_ = NULL;
		BoxesLibvirtMachine* _tmp2_ = NULL;
		guint64 _tmp3_ = 0ULL;
#line 608 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _data54_->pool;
#line 608 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = res;
#line 608 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_storage_pool_refresh_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 608 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 5971 "libvirt-machine-properties.c"
			goto __catch50_g_error;
		}
#line 609 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = self->priv->machine;
#line 609 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_update_domain_config (_tmp2_);
#line 610 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = _data54_->size;
#line 610 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_debug ("libvirt-machine-properties.vala:610: Storage changed to %llu KiB", _tmp3_);
#line 5982 "libvirt-machine-properties.c"
	}
	goto __finally50;
	__catch50_g_error:
	{
		GError* _error_ = NULL;
		BoxesLibvirtMachine* _tmp4_ = NULL;
		GVirStorageVol* _tmp5_ = NULL;
		GVirStorageVol* _tmp6_ = NULL;
		const gchar* _tmp7_ = NULL;
		guint64 _tmp8_ = 0ULL;
		GError* _tmp9_ = NULL;
		const gchar* _tmp10_ = NULL;
#line 607 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 607 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = self->priv->machine;
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = boxes_libvirt_machine_get_storage_volume (_tmp4_);
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _tmp5_;
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = gvir_storage_vol_get_name (_tmp6_);
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = _data54_->size;
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = _error_;
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = _tmp9_->message;
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:612: Failed to change storage capacity" \
" of volume '%s' to %llu KiB: %s", _tmp7_, _tmp8_, _tmp10_);
#line 607 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 6017 "libvirt-machine-properties.c"
	}
	__finally50:
#line 607 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 607 "/home/zeenix/checkout/gnome/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 607 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 607 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 6028 "libvirt-machine-properties.c"
	}
}


static void ______lambda165__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 606 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_____lambda165_ (self, source_object, res);
#line 606 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	block54_data_unref (self);
#line 6038 "libvirt-machine-properties.c"
}


static gboolean __lambda164_ (Block53Data* _data53_) {
	BoxesLibvirtMachineProperties* self;
	gboolean result = FALSE;
	BoxesLibvirtMachine* _tmp0_ = NULL;
	GVirStorageVol* _tmp1_ = NULL;
	GVirStorageVol* _tmp2_ = NULL;
	GError * _inner_error_ = NULL;
#line 594 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data53_->self;
#line 595 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 595 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_get_storage_volume (_tmp0_);
#line 595 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 595 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp2_ == NULL) {
#line 596 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = FALSE;
#line 596 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 6063 "libvirt-machine-properties.c"
	}
	{
		BoxesLibvirtMachine* _tmp3_ = NULL;
		gboolean _tmp4_ = FALSE;
		gboolean _tmp5_ = FALSE;
#line 599 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = self->priv->machine;
#line 599 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = boxes_machine_get_is_running ((BoxesMachine*) _tmp3_);
#line 599 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = _tmp4_;
#line 599 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp5_) {
#line 6077 "libvirt-machine-properties.c"
			GVirDomainDisk* disk = NULL;
			BoxesLibvirtMachine* _tmp6_ = NULL;
			GVirDomainDisk* _tmp7_ = NULL;
			GVirDomainDisk* _tmp8_ = NULL;
#line 600 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp6_ = self->priv->machine;
#line 600 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp7_ = boxes_libvirt_machine_get_domain_disk (_tmp6_, &_inner_error_);
#line 600 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			disk = _tmp7_;
#line 600 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 6090 "libvirt-machine-properties.c"
				goto __catch49_g_error;
			}
#line 601 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp8_ = disk;
#line 601 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp8_ != NULL) {
#line 6097 "libvirt-machine-properties.c"
				Block54Data* _data54_;
				guint64 _tmp9_ = 0ULL;
				GVirDomainDisk* _tmp10_ = NULL;
				guint64 _tmp11_ = 0ULL;
				BoxesLibvirtMachine* _tmp12_ = NULL;
				GVirConnection* _tmp13_ = NULL;
				GVirConnection* _tmp14_ = NULL;
				GVirStoragePool* _tmp15_ = NULL;
				GVirStoragePool* _tmp16_ = NULL;
#line 601 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data54_ = g_slice_new0 (Block54Data);
#line 601 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data54_->_ref_count_ = 1;
#line 601 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data54_->_data53_ = block53_data_ref (_data53_);
#line 602 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp9_ = _data53_->value;
#line 602 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data54_->size = ((_tmp9_ + OSINFO_KIBIBYTES) - 1) / OSINFO_KIBIBYTES;
#line 603 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp10_ = disk;
#line 603 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp11_ = _data54_->size;
#line 603 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				gvir_domain_disk_resize (_tmp10_, _tmp11_, (guint) 0, &_inner_error_);
#line 603 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 603 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					block54_data_unref (_data54_);
#line 603 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_data54_ = NULL;
#line 603 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_g_object_unref0 (disk);
#line 6131 "libvirt-machine-properties.c"
					goto __catch49_g_error;
				}
#line 605 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp12_ = self->priv->machine;
#line 605 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp13_ = boxes_libvirt_machine_get_connection (_tmp12_);
#line 605 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp14_ = _tmp13_;
#line 605 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp15_ = boxes_get_storage_pool (_tmp14_);
#line 605 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data54_->pool = _tmp15_;
#line 606 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp16_ = _data54_->pool;
#line 606 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				gvir_storage_pool_refresh_async (_tmp16_, NULL, ______lambda165__gasync_ready_callback, block54_data_ref (_data54_));
#line 601 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				block54_data_unref (_data54_);
#line 601 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data54_ = NULL;
#line 6152 "libvirt-machine-properties.c"
			}
#line 599 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (disk);
#line 6156 "libvirt-machine-properties.c"
		} else {
			guint64 _tmp17_ = 0ULL;
			guint64 _tmp18_ = 0ULL;
#line 620 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp17_ = _data53_->value;
#line 620 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_properties_resize_storage_volume (self, _tmp17_, &_inner_error_);
#line 620 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 6166 "libvirt-machine-properties.c"
				goto __catch49_g_error;
			}
#line 621 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp18_ = _data53_->value;
#line 621 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_debug ("libvirt-machine-properties.vala:621: Storage changed to %llu", _tmp18_);
#line 6173 "libvirt-machine-properties.c"
		}
	}
	goto __finally49;
	__catch49_g_error:
	{
		GError* _error_ = NULL;
		BoxesLibvirtMachine* _tmp19_ = NULL;
		GVirStorageVol* _tmp20_ = NULL;
		GVirStorageVol* _tmp21_ = NULL;
		const gchar* _tmp22_ = NULL;
		guint64 _tmp23_ = 0ULL;
		GError* _tmp24_ = NULL;
		const gchar* _tmp25_ = NULL;
#line 598 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 598 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 624 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = self->priv->machine;
#line 624 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = boxes_libvirt_machine_get_storage_volume (_tmp19_);
#line 624 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = _tmp20_;
#line 624 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = gvir_storage_vol_get_name (_tmp21_);
#line 624 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = _data53_->value;
#line 624 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = _error_;
#line 624 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = _tmp24_->message;
#line 624 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:624: Failed to change storage capacity" \
" of volume '%s' to %llu: %s", _tmp22_, _tmp23_, _tmp25_);
#line 598 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 6209 "libvirt-machine-properties.c"
	}
	__finally49:
#line 598 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 598 "/home/zeenix/checkout/gnome/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 598 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 598 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 6220 "libvirt-machine-properties.c"
	}
#line 630 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	result = FALSE;
#line 630 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 6226 "libvirt-machine-properties.c"
}


static gboolean ___lambda164__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda164_ (self);
#line 594 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 6235 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_on_storage_changed (BoxesLibvirtMachineProperties* self, BoxesProperty* property, guint64 value) {
	Block53Data* _data53_;
	guint64 _tmp0_ = 0ULL;
	BoxesProperty* _tmp1_ = NULL;
#line 592 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 592 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (property != NULL);
#line 592 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_ = g_slice_new0 (Block53Data);
#line 592 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_->_ref_count_ = 1;
#line 592 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_->self = g_object_ref (self);
#line 592 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = value;
#line 592 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_->value = _tmp0_;
#line 594 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = property;
#line 594 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_property_set_deferred_change (_tmp1_, ___lambda164__gsource_func, block53_data_ref (_data53_), block53_data_unref);
#line 592 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	block53_data_unref (_data53_);
#line 592 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data53_ = NULL;
#line 6265 "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_ = NULL;
	GVirStorageVol* _tmp1_ = NULL;
	GVirStorageVol* _tmp2_ = NULL;
	GVirStorageVolInfo* _tmp3_ = NULL;
	BoxesLibvirtMachine* _tmp4_ = NULL;
	BoxesVMCreator* _tmp5_ = NULL;
	BoxesVMCreator* _tmp6_ = NULL;
	OsinfoResources* minimum_resources = NULL;
	BoxesLibvirtMachine* _tmp9_ = NULL;
	BoxesVMCreator* _tmp10_ = NULL;
	BoxesVMCreator* _tmp11_ = NULL;
	BoxesInstallerMedia* _tmp12_ = NULL;
	BoxesInstallerMedia* _tmp13_ = NULL;
	OsinfoOs* _tmp14_ = NULL;
	gboolean _tmp33_ = FALSE;
	OsinfoResources* _tmp34_ = NULL;
	GError * _inner_error_ = NULL;
#line 634 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, 0ULL);
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_get_storage_volume (_tmp0_);
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = gvir_storage_vol_get_info (_tmp2_, &_inner_error_);
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	volume_info = _tmp3_;
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_propagate_error (error, _inner_error_);
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return 0ULL;
#line 6307 "libvirt-machine-properties.c"
	}
#line 636 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = self->priv->machine;
#line 636 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = boxes_libvirt_machine_get_vm_creator (_tmp4_);
#line 636 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = _tmp5_;
#line 636 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp6_ == NULL) {
#line 6317 "libvirt-machine-properties.c"
		GVirStorageVolInfo* _tmp7_ = NULL;
		guint64 _tmp8_ = 0ULL;
#line 639 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = volume_info;
#line 639 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = _tmp7_->capacity;
#line 639 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = _tmp8_;
#line 639 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStorageVolInfo_free0 (volume_info);
#line 639 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 6330 "libvirt-machine-properties.c"
	}
#line 642 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	minimum_resources = NULL;
#line 644 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = self->priv->machine;
#line 644 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = boxes_libvirt_machine_get_vm_creator (_tmp9_);
#line 644 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = _tmp10_;
#line 644 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = boxes_vm_creator_get_install_media (_tmp11_);
#line 644 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = _tmp12_;
#line 644 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp14_ = _tmp13_->os;
#line 644 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp14_ != NULL) {
#line 6348 "libvirt-machine-properties.c"
		OsinfoOs* os = NULL;
		BoxesLibvirtMachine* _tmp15_ = NULL;
		BoxesVMCreator* _tmp16_ = NULL;
		BoxesVMCreator* _tmp17_ = NULL;
		BoxesInstallerMedia* _tmp18_ = NULL;
		BoxesInstallerMedia* _tmp19_ = NULL;
		OsinfoOs* _tmp20_ = NULL;
		OsinfoOs* _tmp21_ = NULL;
		gchar* architecture = NULL;
		BoxesLibvirtMachine* _tmp22_ = NULL;
		GVirConfigDomain* _tmp23_ = NULL;
		GVirConfigDomain* _tmp24_ = NULL;
		GVirConfigDomainOs* _tmp25_ = NULL;
		GVirConfigDomainOs* _tmp26_ = NULL;
		const gchar* _tmp27_ = NULL;
		gchar* _tmp28_ = NULL;
		gchar* _tmp29_ = NULL;
		OsinfoOs* _tmp30_ = NULL;
		const gchar* _tmp31_ = NULL;
		OsinfoResources* _tmp32_ = NULL;
#line 645 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = self->priv->machine;
#line 645 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = boxes_libvirt_machine_get_vm_creator (_tmp15_);
#line 645 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = _tmp16_;
#line 645 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = boxes_vm_creator_get_install_media (_tmp17_);
#line 645 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _tmp18_;
#line 645 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = _tmp19_->os;
#line 645 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = _g_object_ref0 (_tmp20_);
#line 645 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		os = _tmp21_;
#line 646 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = self->priv->machine;
#line 646 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = boxes_libvirt_machine_get_domain_config (_tmp22_);
#line 646 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = _tmp23_;
#line 646 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = gvir_config_domain_get_os (_tmp24_);
#line 646 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = _tmp25_;
#line 646 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = gvir_config_domain_os_get_arch (_tmp26_);
#line 646 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = g_strdup (_tmp27_);
#line 646 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = _tmp28_;
#line 646 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_tmp26_);
#line 646 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		architecture = _tmp29_;
#line 647 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp30_ = os;
#line 647 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp31_ = architecture;
#line 647 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp32_ = boxes_os_database_get_minimum_resources_for_os (_tmp30_, _tmp31_);
#line 647 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (minimum_resources);
#line 647 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		minimum_resources = _tmp32_;
#line 644 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (architecture);
#line 644 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (os);
#line 6419 "libvirt-machine-properties.c"
	}
#line 650 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp34_ = minimum_resources;
#line 650 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp34_ != NULL) {
#line 6425 "libvirt-machine-properties.c"
		OsinfoResources* _tmp35_ = NULL;
		gint64 _tmp36_ = 0LL;
		gint64 _tmp37_ = 0LL;
#line 650 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp35_ = minimum_resources;
#line 650 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp36_ = osinfo_resources_get_storage (_tmp35_);
#line 650 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp37_ = _tmp36_;
#line 650 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp33_ = _tmp37_ != ((gint64) -1);
#line 6437 "libvirt-machine-properties.c"
	} else {
#line 650 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp33_ = FALSE;
#line 6441 "libvirt-machine-properties.c"
	}
#line 650 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp33_) {
#line 6445 "libvirt-machine-properties.c"
		OsinfoResources* _tmp38_ = NULL;
		gint64 _tmp39_ = 0LL;
		gint64 _tmp40_ = 0LL;
#line 651 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp38_ = minimum_resources;
#line 651 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp39_ = osinfo_resources_get_storage (_tmp38_);
#line 651 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp40_ = _tmp39_;
#line 651 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = (guint64) _tmp40_;
#line 651 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (minimum_resources);
#line 651 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStorageVolInfo_free0 (volume_info);
#line 651 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 6463 "libvirt-machine-properties.c"
	} else {
		OsinfoResources* default_resources = NULL;
		OsinfoResources* _tmp41_ = NULL;
		GVirStorageVolInfo* _tmp42_ = NULL;
		guint64 _tmp43_ = 0ULL;
		OsinfoResources* _tmp44_ = NULL;
		gint64 _tmp45_ = 0LL;
		gint64 _tmp46_ = 0LL;
		guint64 _tmp47_ = 0ULL;
#line 653 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp41_ = boxes_os_database_get_default_resources ();
#line 653 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		default_resources = _tmp41_;
#line 654 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp42_ = volume_info;
#line 654 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp43_ = _tmp42_->capacity;
#line 654 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp44_ = default_resources;
#line 654 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp45_ = osinfo_resources_get_storage (_tmp44_);
#line 654 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp46_ = _tmp45_;
#line 654 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp47_ = MIN (_tmp43_, (guint64) _tmp46_);
#line 654 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = _tmp47_;
#line 654 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (default_resources);
#line 654 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (minimum_resources);
#line 654 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStorageVolInfo_free0 (volume_info);
#line 654 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 6499 "libvirt-machine-properties.c"
	}
#line 634 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (minimum_resources);
#line 634 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	__vala_GVirStorageVolInfo_free0 (volume_info);
#line 6505 "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_ = NULL;
	GVirStorageVol* _tmp1_ = NULL;
	GVirStorageVol* _tmp2_ = NULL;
	GVirStorageVolInfo* _tmp3_ = NULL;
	gboolean _tmp4_ = FALSE;
	BoxesLibvirtMachine* _tmp5_ = NULL;
	BoxesVMCreator* _tmp6_ = NULL;
	BoxesVMCreator* _tmp7_ = NULL;
	GError * _inner_error_ = NULL;
#line 658 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 659 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 659 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_get_storage_volume (_tmp0_);
#line 659 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 659 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = gvir_storage_vol_get_info (_tmp2_, &_inner_error_);
#line 659 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	volume_info = _tmp3_;
#line 659 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 659 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_propagate_error (error, _inner_error_);
#line 659 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 6538 "libvirt-machine-properties.c"
	}
#line 660 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = self->priv->machine;
#line 660 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = boxes_libvirt_machine_get_vm_creator (_tmp5_);
#line 660 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = _tmp6_;
#line 660 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp7_ != NULL) {
#line 6548 "libvirt-machine-properties.c"
		guint64 _tmp8_ = 0ULL;
		GVirStorageVolInfo* _tmp9_ = NULL;
		guint64 _tmp10_ = 0ULL;
#line 660 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = size;
#line 660 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = volume_info;
#line 660 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = _tmp9_->capacity;
#line 660 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = _tmp8_ < _tmp10_;
#line 6560 "libvirt-machine-properties.c"
	} else {
#line 660 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = FALSE;
#line 6564 "libvirt-machine-properties.c"
	}
#line 660 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp4_) {
#line 6568 "libvirt-machine-properties.c"
		GVirConfigStorageVol* config = NULL;
		BoxesLibvirtMachine* _tmp11_ = NULL;
		GVirStorageVol* _tmp12_ = NULL;
		GVirStorageVol* _tmp13_ = NULL;
		GVirConfigStorageVol* _tmp14_ = NULL;
		GVirConfigStorageVol* _tmp15_ = NULL;
		guint64 _tmp16_ = 0ULL;
		BoxesLibvirtMachine* _tmp17_ = NULL;
		GVirStorageVol* _tmp18_ = NULL;
		GVirStorageVol* _tmp19_ = NULL;
		GVirStoragePool* pool = NULL;
		BoxesLibvirtMachine* _tmp20_ = NULL;
		GVirConnection* _tmp21_ = NULL;
		GVirConnection* _tmp22_ = NULL;
		GVirStoragePool* _tmp23_ = NULL;
		GVirStorageVol* _tmp24_ = NULL;
		GVirStoragePool* _tmp25_ = NULL;
		GVirConfigStorageVol* _tmp26_ = NULL;
		GVirStorageVol* _tmp27_ = NULL;
		BoxesLibvirtMachine* _tmp28_ = NULL;
#line 662 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = self->priv->machine;
#line 662 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = boxes_libvirt_machine_get_storage_volume (_tmp11_);
#line 662 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = _tmp12_;
#line 662 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = gvir_storage_vol_get_config (_tmp13_, (guint) GVIR_DOMAIN_XML_NONE, &_inner_error_);
#line 662 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		config = _tmp14_;
#line 662 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 662 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_propagate_error (error, _inner_error_);
#line 662 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 662 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 6607 "libvirt-machine-properties.c"
		}
#line 663 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = config;
#line 663 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = size;
#line 663 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_config_storage_vol_set_capacity (_tmp15_, _tmp16_);
#line 664 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = self->priv->machine;
#line 664 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = boxes_libvirt_machine_get_storage_volume (_tmp17_);
#line 664 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _tmp18_;
#line 664 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_storage_vol_delete (_tmp19_, (guint) 0, &_inner_error_);
#line 664 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 664 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_propagate_error (error, _inner_error_);
#line 664 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (config);
#line 664 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 664 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 6633 "libvirt-machine-properties.c"
		}
#line 666 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = self->priv->machine;
#line 666 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = boxes_libvirt_machine_get_connection (_tmp20_);
#line 666 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = _tmp21_;
#line 666 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = boxes_get_storage_pool (_tmp22_);
#line 666 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		pool = _tmp23_;
#line 667 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = pool;
#line 667 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = config;
#line 667 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = gvir_storage_pool_create_volume (_tmp25_, _tmp26_, &_inner_error_);
#line 667 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = _tmp27_;
#line 667 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 667 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_propagate_error (error, _inner_error_);
#line 667 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (pool);
#line 667 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (config);
#line 667 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 667 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 6665 "libvirt-machine-properties.c"
		}
#line 667 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = self->priv->machine;
#line 667 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_set_storage_volume (_tmp28_, _tmp24_);
#line 660 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_tmp24_);
#line 660 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (pool);
#line 660 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 6677 "libvirt-machine-properties.c"
	} else {
		BoxesLibvirtMachine* _tmp29_ = NULL;
		GVirStorageVol* _tmp30_ = NULL;
		GVirStorageVol* _tmp31_ = NULL;
		guint64 _tmp32_ = 0ULL;
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = self->priv->machine;
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp30_ = boxes_libvirt_machine_get_storage_volume (_tmp29_);
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp31_ = _tmp30_;
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp32_ = size;
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_storage_vol_resize (_tmp31_, _tmp32_, GVIR_STORAGE_VOL_RESIZE_NONE, &_inner_error_);
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_propagate_error (error, _inner_error_);
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 669 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 6701 "libvirt-machine-properties.c"
		}
	}
#line 658 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	__vala_GVirStorageVolInfo_free0 (volume_info);
#line 6706 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_fetch_snapshots_data_free (gpointer _data) {
	BoxesLibvirtMachinePropertiesFetchSnapshotsData* _data_;
	_data_ = _data;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->cancellable);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->self);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_slice_free (BoxesLibvirtMachinePropertiesFetchSnapshotsData, _data_);
#line 6719 "libvirt-machine-properties.c"
}


void boxes_libvirt_machine_properties_fetch_snapshots (BoxesLibvirtMachineProperties* self, GCancellable* cancellable, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesLibvirtMachinePropertiesFetchSnapshotsData* _data_;
	BoxesLibvirtMachineProperties* _tmp0_ = NULL;
	GCancellable* _tmp1_ = NULL;
	GCancellable* _tmp2_ = NULL;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_slice_new0 (BoxesLibvirtMachinePropertiesFetchSnapshotsData);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_async_result = g_simple_async_result_new (G_OBJECT (self), _callback_, _user_data_, boxes_libvirt_machine_properties_fetch_snapshots);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_simple_async_result_set_op_res_gpointer (_data_->_async_result, _data_, boxes_libvirt_machine_properties_fetch_snapshots_data_free);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _g_object_ref0 (self);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->self = _tmp0_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = cancellable;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _g_object_ref0 (_tmp1_);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->cancellable);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->cancellable = _tmp2_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_fetch_snapshots_co (_data_);
#line 6748 "libvirt-machine-properties.c"
}


void boxes_libvirt_machine_properties_fetch_snapshots_finish (BoxesLibvirtMachineProperties* self, GAsyncResult* _res_, GError** error) {
	BoxesLibvirtMachinePropertiesFetchSnapshotsData* _data_;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_simple_async_result_propagate_error (G_SIMPLE_ASYNC_RESULT (_res_), error)) {
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 6758 "libvirt-machine-properties.c"
	}
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_simple_async_result_get_op_res_gpointer (G_SIMPLE_ASYNC_RESULT (_res_));
#line 6762 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_fetch_snapshots_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesLibvirtMachinePropertiesFetchSnapshotsData* _data_;
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = _user_data_;
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_source_object_ = source_object;
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_res_ = _res_;
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_fetch_snapshots_co (_data_);
#line 6776 "libvirt-machine-properties.c"
}


static gboolean boxes_libvirt_machine_properties_fetch_snapshots_co (BoxesLibvirtMachinePropertiesFetchSnapshotsData* _data_) {
#line 673 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_data_->_state_) {
#line 673 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case 0:
#line 6785 "libvirt-machine-properties.c"
		goto _state_0;
#line 673 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case 1:
#line 6789 "libvirt-machine-properties.c"
		goto _state_1;
		default:
#line 673 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_assert_not_reached ();
#line 6794 "libvirt-machine-properties.c"
	}
	_state_0:
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp0_ = NULL;
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp0_ = _data_->self->priv->machine;
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = NULL;
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = boxes_libvirt_machine_get_domain (_data_->_tmp0_);
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp2_ = NULL;
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = NULL;
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = _data_->cancellable;
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_state_ = 1;
#line 674 "/home/zeenix/checkout/gnome/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_fetch_snapshots_ready, _data_);
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 6819 "libvirt-machine-properties.c"
	_state_1:
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gvir_domain_fetch_snapshots_finish (_data_->_tmp2_, _data_->_res_, &_data_->_inner_error_);
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_simple_async_result_set_from_error (_data_->_async_result, _data_->_inner_error_);
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_error_free (_data_->_inner_error_);
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ == 0) {
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6833 "libvirt-machine-properties.c"
		} else {
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 6837 "libvirt-machine-properties.c"
		}
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 674 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 6843 "libvirt-machine-properties.c"
	}
#line 673 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_state_ == 0) {
#line 673 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6849 "libvirt-machine-properties.c"
	} else {
#line 673 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 6853 "libvirt-machine-properties.c"
	}
#line 673 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_unref (_data_->_async_result);
#line 673 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 6859 "libvirt-machine-properties.c"
}


GList* boxes_libvirt_machine_properties_get_snapshots (BoxesLibvirtMachineProperties* self) {
	GList* result = NULL;
	BoxesLibvirtMachine* _tmp0_ = NULL;
	GVirDomain* _tmp1_ = NULL;
	GVirDomain* _tmp2_ = NULL;
	GList* _tmp3_ = NULL;
#line 677 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 678 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 678 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_get_domain (_tmp0_);
#line 678 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 678 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = gvir_domain_get_snapshots (_tmp2_);
#line 678 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	result = _tmp3_;
#line 678 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 6883 "libvirt-machine-properties.c"
}


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


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


static void __lambda166_ (Block55Data* _data55_, GParamSpec* tooltip) {
	BoxesLibvirtMachineProperties* self;
	gchar* _tmp0_ = NULL;
	GtkSwitch* _tmp1_ = NULL;
	gboolean _tmp2_ = FALSE;
	gboolean _tmp3_ = FALSE;
	GtkBox* _tmp10_ = NULL;
#line 702 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data55_->self;
#line 702 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (tooltip != NULL);
#line 703 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _data55_->toggle;
#line 703 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = gtk_switch_get_active (_tmp1_);
#line 703 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 703 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp3_) {
#line 6939 "libvirt-machine-properties.c"
		const gchar* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
		gchar* _tmp6_ = NULL;
#line 703 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = _ ("'%s' will not be paused automatically.");
#line 703 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = _data55_->name;
#line 703 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = g_strdup_printf (_tmp4_, _tmp5_);
#line 703 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp0_);
#line 703 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp6_;
#line 6953 "libvirt-machine-properties.c"
	} else {
		const gchar* _tmp7_ = NULL;
		const gchar* _tmp8_ = NULL;
		gchar* _tmp9_ = NULL;
#line 704 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = _ ("'%s' will be paused automatically to save resources.");
#line 704 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = _data55_->name;
#line 704 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = g_strdup_printf (_tmp7_, _tmp8_);
#line 704 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp0_);
#line 704 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp9_;
#line 6968 "libvirt-machine-properties.c"
	}
#line 703 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = _data55_->box;
#line 703 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp10_, _tmp0_);
#line 702 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_tmp0_);
#line 6976 "libvirt-machine-properties.c"
}


static void ___lambda166__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 702 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda166_ (self, pspec);
#line 6983 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_add_run_in_bg_property (BoxesLibvirtMachineProperties* self, GList** list) {
	Block55Data* _data55_;
	BoxesLibvirtMachine* _tmp0_ = NULL;
	GVirConnection* _tmp1_ = NULL;
	GVirConnection* _tmp2_ = NULL;
	BoxesApp* _tmp3_ = NULL;
	GVirConnection* _tmp4_ = NULL;
	GVirConnection* _tmp5_ = NULL;
	GVirConnection* _tmp6_ = NULL;
	gboolean _tmp7_ = FALSE;
	GtkBox* _tmp8_ = NULL;
	GtkBox* _tmp9_ = NULL;
	GtkBox* _tmp10_ = NULL;
	GtkLabel* label = NULL;
	const gchar* _tmp11_ = NULL;
	GtkLabel* _tmp12_ = NULL;
	GtkLabel* _tmp13_ = NULL;
	GtkStyleContext* _tmp14_ = NULL;
	GtkBox* _tmp15_ = NULL;
	GtkLabel* _tmp16_ = NULL;
	GtkSwitch* _tmp17_ = NULL;
	BoxesLibvirtMachine* _tmp18_ = NULL;
	GtkSwitch* _tmp19_ = NULL;
	GtkSwitch* _tmp20_ = NULL;
	GtkBox* _tmp21_ = NULL;
	GtkSwitch* _tmp22_ = NULL;
	GtkLabel* _tmp23_ = NULL;
	GtkSwitch* _tmp24_ = NULL;
	BoxesLibvirtMachine* _tmp25_ = NULL;
	const gchar* _tmp26_ = NULL;
	const gchar* _tmp27_ = NULL;
	gchar* _tmp28_ = NULL;
	gchar* _tmp29_ = NULL;
	GtkSwitch* _tmp30_ = NULL;
	gboolean _tmp31_ = FALSE;
	gboolean _tmp32_ = FALSE;
	GtkBox* _tmp39_ = NULL;
	GtkSwitch* _tmp40_ = NULL;
	GtkBox* _tmp41_ = NULL;
	BoxesProperty* _tmp42_ = NULL;
	BoxesProperty* _tmp43_ = NULL;
#line 681 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 681 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data55_ = g_slice_new0 (Block55Data);
#line 681 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data55_->_ref_count_ = 1;
#line 681 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data55_->self = g_object_ref (self);
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_get_connection (_tmp0_);
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = boxes_app_app;
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = boxes_app_get_default_connection (_tmp3_);
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = _tmp4_;
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = _tmp5_;
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = _tmp2_ != _tmp6_;
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_tmp6_);
#line 682 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp7_) {
#line 683 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		block55_data_unref (_data55_);
#line 683 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data55_ = NULL;
#line 683 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 7062 "libvirt-machine-properties.c"
	}
#line 685 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = (GtkBox*) gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 20);
#line 685 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp8_);
#line 685 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data55_->box = _tmp8_;
#line 686 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = _data55_->box;
#line 686 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp9_, GTK_ALIGN_END);
#line 687 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = _data55_->box;
#line 687 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_has_tooltip ((GtkWidget*) _tmp10_, TRUE);
#line 689 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = _ ("_Run in background");
#line 689 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = (GtkLabel*) gtk_label_new_with_mnemonic (_tmp11_);
#line 689 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp12_);
#line 689 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	label = _tmp12_;
#line 690 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = label;
#line 690 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp14_ = gtk_widget_get_style_context ((GtkWidget*) _tmp13_);
#line 690 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_style_context_add_class (_tmp14_, "dim-label");
#line 691 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp15_ = _data55_->box;
#line 691 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp16_ = label;
#line 691 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp15_, (GtkWidget*) _tmp16_);
#line 692 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp17_ = (GtkSwitch*) gtk_switch_new ();
#line 692 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp17_);
#line 692 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data55_->toggle = _tmp17_;
#line 693 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp18_ = self->priv->machine;
#line 693 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp19_ = _data55_->toggle;
#line 693 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_bind_property_with_closures ((GObject*) _tmp18_, "run-in-bg", (GObject*) _tmp19_, "active", G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE, (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)), (GClosure*) ((NULL == NULL) ? NULL : g_cclosure_new ((GCallback) NULL, NULL, NULL)));
#line 695 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp20_ = _data55_->toggle;
#line 695 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_halign ((GtkWidget*) _tmp20_, GTK_ALIGN_START);
#line 696 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp21_ = _data55_->box;
#line 696 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp22_ = _data55_->toggle;
#line 696 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp21_, (GtkWidget*) _tmp22_);
#line 697 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp23_ = label;
#line 697 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp24_ = _data55_->toggle;
#line 697 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_label_set_mnemonic_widget (_tmp23_, (GtkWidget*) _tmp24_);
#line 699 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp25_ = self->priv->machine;
#line 699 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp26_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp25_);
#line 699 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp27_ = _tmp26_;
#line 699 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp28_ = g_strdup (_tmp27_);
#line 699 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data55_->name = _tmp28_;
#line 700 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp30_ = _data55_->toggle;
#line 700 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp31_ = gtk_switch_get_active (_tmp30_);
#line 700 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp32_ = _tmp31_;
#line 700 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp32_) {
#line 7144 "libvirt-machine-properties.c"
		const gchar* _tmp33_ = NULL;
		const gchar* _tmp34_ = NULL;
		gchar* _tmp35_ = NULL;
#line 700 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp33_ = _ ("'%s' will not be paused automatically.");
#line 700 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp34_ = _data55_->name;
#line 700 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp35_ = g_strdup_printf (_tmp33_, _tmp34_);
#line 700 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp29_);
#line 700 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = _tmp35_;
#line 7158 "libvirt-machine-properties.c"
	} else {
		const gchar* _tmp36_ = NULL;
		const gchar* _tmp37_ = NULL;
		gchar* _tmp38_ = NULL;
#line 701 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp36_ = _ ("'%s' will be paused automatically to save resources.");
#line 701 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp37_ = _data55_->name;
#line 701 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp38_ = g_strdup_printf (_tmp36_, _tmp37_);
#line 701 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp29_);
#line 701 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = _tmp38_;
#line 7173 "libvirt-machine-properties.c"
	}
#line 700 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp39_ = _data55_->box;
#line 700 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_tooltip_text ((GtkWidget*) _tmp39_, _tmp29_);
#line 702 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp40_ = _data55_->toggle;
#line 702 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_data ((GObject*) _tmp40_, "notify::active", (GCallback) ___lambda166__g_object_notify, block55_data_ref (_data55_), (GClosureNotify) block55_data_unref, 0);
#line 707 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp41_ = _data55_->box;
#line 707 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp42_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, NULL, (GtkWidget*) _tmp41_, NULL);
#line 707 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp43_ = _tmp42_;
#line 707 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_tmp43_);
#line 681 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_tmp29_);
#line 681 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (label);
#line 681 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	block55_data_unref (_data55_);
#line 681 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data55_ = NULL;
#line 7199 "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_ = NULL;
	BoxesSnapshotsProperty* _tmp1_ = NULL;
	BoxesProperty* _tmp2_ = NULL;
#line 710 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 711 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 711 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_snapshots_property_new (_tmp0_);
#line 711 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	property = _tmp1_;
#line 712 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _g_object_ref0 ((BoxesProperty*) property);
#line 712 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	*list = g_list_append (*list, _tmp2_);
#line 714 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	result = property;
#line 714 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 7225 "libvirt-machine-properties.c"
}


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


static void boxes_libvirt_machine_properties_boxes_iproperties_provider_interface_init (BoxesIPropertiesProviderIface * iface) {
#line 5 "/home/zeenix/checkout/gnome/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/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	iface->get_properties = (GList* (*)(BoxesIPropertiesProvider*, BoxesPropertiesPage, PropertyCreationFlag*)) boxes_libvirt_machine_properties_real_get_properties;
#line 7245 "libvirt-machine-properties.c"
}


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


static void boxes_libvirt_machine_properties_finalize (GObject* obj) {
	BoxesLibvirtMachineProperties * self;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, BOXES_TYPE_LIBVIRT_MACHINE_PROPERTIES, BoxesLibvirtMachineProperties);
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	G_OBJECT_CLASS (boxes_libvirt_machine_properties_parent_class)->finalize (obj);
#line 7262 "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;
}



