/* libvirt-machine-properties.c generated by valac 0.26.1, 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 <glib/gstdio.h>
#include <glib/gi18n-lib.h>
#include <gio/gio.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <config.h>
#include <pango/pango.h>
#include <osinfo/osinfo.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 __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_free0(var) (var = (g_free (var), NULL))
#define __g_list_free__g_object_unref0_0(var) ((var == NULL) ? NULL : (var = (_g_list_free__g_object_unref0_ (var), NULL)))

#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 _Block37Data Block37Data;

#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 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 _Block38Data Block38Data;

#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 _Block39Data Block39Data;
typedef struct _Block40Data Block40Data;
typedef struct _Block41Data Block41Data;
typedef struct _Block42Data Block42Data;

#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;
typedef struct _Block43Data Block43Data;

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

#define BOXES_TYPE_UNATTENDED_INSTALLER (boxes_unattended_installer_get_type ())
#define BOXES_UNATTENDED_INSTALLER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstaller))
#define BOXES_UNATTENDED_INSTALLER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstallerClass))
#define BOXES_IS_UNATTENDED_INSTALLER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_INSTALLER))
#define BOXES_IS_UNATTENDED_INSTALLER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UNATTENDED_INSTALLER))
#define BOXES_UNATTENDED_INSTALLER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UNATTENDED_INSTALLER, BoxesUnattendedInstallerClass))

typedef struct _BoxesUnattendedInstaller BoxesUnattendedInstaller;
typedef struct _BoxesUnattendedInstallerClass BoxesUnattendedInstallerClass;
typedef struct _BoxesInstallerMediaPrivate BoxesInstallerMediaPrivate;
typedef struct _BoxesUnattendedInstallerPrivate BoxesUnattendedInstallerPrivate;

#define BOXES_TYPE_UNATTENDED_SETUP_BOX (boxes_unattended_setup_box_get_type ())
#define BOXES_UNATTENDED_SETUP_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOXES_TYPE_UNATTENDED_SETUP_BOX, BoxesUnattendedSetupBox))
#define BOXES_UNATTENDED_SETUP_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), BOXES_TYPE_UNATTENDED_SETUP_BOX, BoxesUnattendedSetupBoxClass))
#define BOXES_IS_UNATTENDED_SETUP_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), BOXES_TYPE_UNATTENDED_SETUP_BOX))
#define BOXES_IS_UNATTENDED_SETUP_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), BOXES_TYPE_UNATTENDED_SETUP_BOX))
#define BOXES_UNATTENDED_SETUP_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), BOXES_TYPE_UNATTENDED_SETUP_BOX, BoxesUnattendedSetupBoxClass))

typedef struct _BoxesUnattendedSetupBox BoxesUnattendedSetupBox;
typedef struct _BoxesUnattendedSetupBoxClass BoxesUnattendedSetupBoxClass;
typedef struct _Block44Data Block44Data;
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;
typedef struct _Block45Data Block45Data;
typedef struct _Block46Data Block46Data;
#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 _Block47Data Block47Data;
typedef struct _Block48Data Block48Data;
typedef struct _BoxesLibvirtMachinePropertiesFetchSnapshotsData BoxesLibvirtMachinePropertiesFetchSnapshotsData;
#define _g_date_time_unref0(var) ((var == NULL) ? NULL : (var = (g_date_time_unref (var), NULL)))
typedef struct _BoxesLibvirtMachinePropertiesCreateSnapshotData BoxesLibvirtMachinePropertiesCreateSnapshotData;

typedef enum  {
	BOXES_PROPERTIES_PAGE_LOGIN,
	BOXES_PROPERTIES_PAGE_SYSTEM,
	BOXES_PROPERTIES_PAGE_DISPLAY,
	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;
};

struct _Block37Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	BoxesStringProperty* name_property;
};

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;
	gboolean suspend_at_exit;
};

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 (*delete) (BoxesMachine* self, gboolean by_user);
	gboolean (*get_can_save) (BoxesMachine* self);
};

struct _Block38Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	gchar* log;
	GtkDialog* dialog;
};

struct _Block39Data {
	int _ref_count_;
	Block38Data * _data38_;
	GtkFileChooserDialog* chooser;
};

struct _Block40Data {
	int _ref_count_;
	Block39Data * _data39_;
	GtkMessageDialog* m;
};

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

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

struct _Block43Data {
	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_, GError** error);
	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 _BoxesUnattendedInstaller {
	BoxesInstallerMedia parent_instance;
	BoxesUnattendedInstallerPrivate * priv;
	BoxesUnattendedSetupBox* setup_box;
	GFile* disk_file;
	GFile* secondary_disk_file;
	GFile* kernel_file;
	GFile* initrd_file;
	OsinfoInstallConfig* config;
	OsinfoInstallScriptList* scripts;
};

struct _BoxesUnattendedInstallerClass {
	BoxesInstallerMediaClass parent_class;
};

struct _Block44Data {
	int _ref_count_;
	Block43Data * _data43_;
	GtkFileChooserDialog* dialog;
};

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 _Block45Data {
	int _ref_count_;
	BoxesLibvirtMachineProperties* self;
	BoxesSizeProperty* property;
};

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

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

struct _Block48Data {
	int _ref_count_;
	Block47Data * _data47_;
	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 _BoxesLibvirtMachinePropertiesCreateSnapshotData {
	int _state_;
	GObject* _source_object_;
	GAsyncResult* _res_;
	GSimpleAsyncResult* _async_result;
	BoxesLibvirtMachineProperties* self;
	GVirDomainSnapshot* result;
	GVirConfigDomainSnapshot* config;
	GVirConfigDomainSnapshot* _tmp0_;
	GDateTime* now;
	GDateTime* _tmp1_;
	gchar* _tmp2_;
	gchar* _tmp3_;
	gchar* _tmp4_;
	gchar* _tmp5_;
	GVirDomainSnapshot* _tmp6_;
	BoxesLibvirtMachine* _tmp7_;
	GVirDomain* _tmp8_;
	GVirDomain* _tmp9_;
	GVirDomainSnapshot* _tmp10_;
	GVirDomainSnapshot* _tmp11_;
	GError * _inner_error_;
};


static gpointer boxes_libvirt_machine_properties_parent_class = NULL;
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 __lambda102_ (BoxesLibvirtMachineProperties* self);
static gboolean boxes_libvirt_machine_properties_save_machine_name_change (BoxesLibvirtMachineProperties* self);
static void ___lambda102__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);
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_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_string_property_get_type (void) G_GNUC_CONST;
static Block37Data* block37_data_ref (Block37Data* _data37_);
static void block37_data_unref (void * _userdata_);
BoxesStringProperty* boxes_iproperties_provider_add_string_property (BoxesIPropertiesProvider* self, GList** list, const gchar* name, const gchar* value);
void boxes_string_property_set_editable (BoxesStringProperty* self, gboolean value);
static gboolean ___lambda123_ (BoxesLibvirtMachineProperties* self, BoxesStringProperty* property, const gchar* name);
void boxes_collection_item_set_name (BoxesCollectionItem* self, const gchar* value);
static gboolean ____lambda123__boxes_string_property_changed (BoxesStringProperty* _sender, const gchar* value, gpointer self);
static void ___lambda124_ (Block37Data* _data37_);
void boxes_string_property_set_text (BoxesStringProperty* self, const gchar* value);
static void ____lambda124__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer 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;
gchar* boxes_display_get_uri (BoxesDisplay* self);
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_);
BoxesProperty* boxes_iproperties_provider_add_property (BoxesIPropertiesProvider* self, GList** list, const gchar* name, GtkWidget* widget, GtkWidget* extra_widget);
static void ___lambda129_ (BoxesLibvirtMachineProperties* self);
static Block38Data* block38_data_ref (Block38Data* _data38_);
static void block38_data_unref (void * _userdata_);
GType boxes_app_window_get_type (void) G_GNUC_CONST;
BoxesAppWindow* boxes_machine_get_window (BoxesMachine* self);
static void __lambda130_ (Block38Data* _data38_, gint response_id);
static Block39Data* block39_data_ref (Block39Data* _data39_);
static void block39_data_unref (void * _userdata_);
static void ___lambda131_ (Block39Data* _data39_, gint response_id);
static Block40Data* block40_data_ref (Block40Data* _data40_);
static void block40_data_unref (void * _userdata_);
static void ____lambda132_ (Block40Data* _data40_);
static void _____lambda132__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
static void ____lambda131__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
static void ___lambda130__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
static void ____lambda129__gtk_button_clicked (GtkButton* _sender, gpointer self);
const gchar* boxes_display_get_protocol (BoxesDisplay* self);
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 Block41Data* block41_data_ref (Block41Data* _data41_);
static void block41_data_unref (void * _userdata_);
static void ____lambda135_ (Block41Data* _data41_);
void boxes_libvirt_machine_update_domain_config (BoxesLibvirtMachine* self);
void boxes_property_set_reboot_required (BoxesProperty* self, gboolean value);
static void _____lambda135__gtk_button_clicked (GtkButton* _sender, gpointer self);
static Block42Data* block42_data_ref (Block42Data* _data42_);
static void block42_data_unref (void * _userdata_);
static void ____lambda136_ (Block42Data* _data42_);
static void _____lambda136__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, BoxesLibvirtMachine* machine);
static Block43Data* block43_data_ref (Block43Data* _data43_);
static void block43_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);
GType boxes_unattended_installer_get_type (void) G_GNUC_CONST;
GType boxes_unattended_setup_box_get_type (void) G_GNUC_CONST;
gboolean boxes_unattended_setup_box_get_express_install (BoxesUnattendedSetupBox* self);
static void __lambda133_ (Block43Data* _data43_);
static Block44Data* block44_data_ref (Block44Data* _data44_);
static void block44_data_unref (void * _userdata_);
static void ___lambda134_ (Block44Data* _data44_, gint response);
static void ____lambda134__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self);
static void ___lambda133__gtk_button_clicked (GtkButton* _sender, gpointer self);
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_);
static Block45Data* block45_data_ref (Block45Data* _data45_);
static void block45_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 step, GFormatSizeFlags format_flags);
gboolean boxes_vm_configurator_is_live_config (GVirConfigDomain* domain);
BoxesUIState boxes_ui_get_previous_ui_state (BoxesUI* 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 ___lambda126_ (Block45Data* _data45_);
static void ____lambda126__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self);
static Block46Data* block46_data_ref (Block46Data* _data46_);
static void block46_data_unref (void * _userdata_);
static gboolean __lambda125_ (Block46Data* _data46_);
static gboolean ___lambda125__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 Block47Data* block47_data_ref (Block47Data* _data47_);
static void block47_data_unref (void * _userdata_);
static gboolean __lambda127_ (Block47Data* _data47_);
gboolean boxes_machine_is_running (BoxesMachine* self);
GVirDomainDisk* boxes_libvirt_machine_get_domain_disk (BoxesLibvirtMachine* self, GError** error);
static Block48Data* block48_data_ref (Block48Data* _data48_);
static void block48_data_unref (void * _userdata_);
static void _____lambda128_ (Block48Data* _data48_, GObject* obj, GAsyncResult* res);
static void ______lambda128__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 ___lambda127__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 void boxes_libvirt_machine_properties_create_snapshot_data_free (gpointer _data);
void boxes_libvirt_machine_properties_create_snapshot (BoxesLibvirtMachineProperties* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
GVirDomainSnapshot* boxes_libvirt_machine_properties_create_snapshot_finish (BoxesLibvirtMachineProperties* self, GAsyncResult* _res_, GError** error);
static gboolean boxes_libvirt_machine_properties_create_snapshot_co (BoxesLibvirtMachinePropertiesCreateSnapshotData* _data_);
static void boxes_libvirt_machine_properties_create_snapshot_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_);
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 __lambda102_ (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 768 "libvirt-machine-properties.c"
}


static void ___lambda102__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 13 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda102_ ((BoxesLibvirtMachineProperties*) self);
#line 775 "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) ___lambda102__g_object_notify, self, 0);
#line 10 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return self;
#line 797 "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 804 "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 813 "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 840 "libvirt-machine-properties.c"
			goto __catch28_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 867 "libvirt-machine-properties.c"
			goto __catch28_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 876 "libvirt-machine-properties.c"
	}
	goto __finally28;
	__catch28_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 921 "libvirt-machine-properties.c"
	}
	__finally28:
#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 930 "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 965 "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 979 "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 1003 "libvirt-machine-properties.c"
	}
#line 34 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (config);
#line 1007 "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 1041 "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 1065 "libvirt-machine-properties.c"
	}
#line 47 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (config);
#line 1069 "libvirt-machine-properties.c"
}


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


static void _vala_GVirNodeInfo_free (GVirNodeInfo* self) {
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_boxed_free (gvir_node_info_get_type (), self);
#line 1083 "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;
	GVirDomain* _tmp3_ = NULL;
	GVirDomain* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	GString* _tmp6_ = NULL;
	BoxesLibvirtMachine* _tmp7_ = NULL;
	GVirDomain* _tmp8_ = NULL;
	GVirDomain* _tmp9_ = NULL;
	const gchar* _tmp10_ = NULL;
	const gchar* _tmp11_ = NULL;
	BoxesLibvirtMachine* _tmp12_ = NULL;
	GVirDomain* _tmp13_ = NULL;
	GVirDomain* _tmp14_ = NULL;
	gboolean _tmp15_ = FALSE;
	GString* _tmp16_ = NULL;
	BoxesLibvirtMachine* _tmp43_ = NULL;
	BoxesDisplay* _tmp44_ = NULL;
	BoxesDisplay* _tmp45_ = NULL;
	GString* _tmp74_ = NULL;
	const gchar* _tmp75_ = NULL;
	gchar* _tmp76_ = 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_ = boxes_libvirt_machine_get_domain (_tmp2_);
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = _tmp3_;
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = gvir_domain_get_name (_tmp4_);
#line 59 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_string_append_printf (_tmp1_, "Domain: %s\n", _tmp5_);
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = builder;
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = self->priv->machine;
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = boxes_libvirt_machine_get_domain (_tmp7_);
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = _tmp8_;
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = gvir_domain_get_uuid (_tmp9_);
#line 60 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_string_append_printf (_tmp6_, "UUID: %s\n", _tmp10_);
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = self->priv->machine;
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = boxes_libvirt_machine_get_domain (_tmp12_);
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp14_ = _tmp13_;
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp15_ = gvir_domain_get_persistent (_tmp14_);
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp15_) {
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = "yes";
#line 1156 "libvirt-machine-properties.c"
	} else {
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = "no";
#line 1160 "libvirt-machine-properties.c"
	}
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp16_ = builder;
#line 61 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_string_append_printf (_tmp16_, "Persistent: %s\n", _tmp11_);
#line 1166 "libvirt-machine-properties.c"
	{
		GVirDomainInfo* info = NULL;
		BoxesLibvirtMachine* _tmp17_ = NULL;
		GVirDomain* _tmp18_ = NULL;
		GVirDomain* _tmp19_ = NULL;
		GVirDomainInfo* _tmp20_ = NULL;
		GString* _tmp21_ = NULL;
		GVirDomainInfo* _tmp22_ = NULL;
		guint64 _tmp23_ = 0ULL;
		GString* _tmp24_ = NULL;
		GVirDomainInfo* _tmp25_ = NULL;
		guint64 _tmp26_ = 0ULL;
		GVirNodeInfo* _tmp27_ = NULL;
		BoxesLibvirtMachine* _tmp28_ = NULL;
		GVirConnection* _tmp29_ = NULL;
		GVirConnection* _tmp30_ = NULL;
		GVirNodeInfo* _tmp31_ = NULL;
		GString* _tmp32_ = NULL;
		GVirNodeInfo* _tmp33_ = NULL;
		GVirNodeInfo* _tmp34_ = NULL;
		gulong _tmp35_ = 0UL;
		GString* _tmp36_ = NULL;
		GVirDomainInfo* _tmp37_ = NULL;
		guint16 _tmp38_ = 0U;
		GString* _tmp39_ = NULL;
		GVirDomainInfo* _tmp40_ = NULL;
		GVirDomainState _tmp41_ = 0;
		GEnumValue* _tmp42_;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = self->priv->machine;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = boxes_libvirt_machine_get_domain (_tmp17_);
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _tmp18_;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = gvir_domain_get_info (_tmp19_, &_inner_error_);
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		info = _tmp20_;
#line 63 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1207 "libvirt-machine-properties.c"
			goto __catch29_g_error;
		}
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = builder;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = info;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = _tmp22_->cpuTime;
#line 64 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp21_, "Cpu time: %" G_GINT64_MODIFIER "d\n", _tmp23_);
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = builder;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = info;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = _tmp25_->memory;
#line 65 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp24_, "Memory: %" G_GINT64_MODIFIER "d KiB\n", _tmp26_);
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = self->priv->machine;
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = boxes_libvirt_machine_get_connection (_tmp28_);
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp30_ = _tmp29_;
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp31_ = gvir_connection_get_node_info (_tmp30_, &_inner_error_);
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = _tmp31_;
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 67 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirDomainInfo_free0 (info);
#line 1240 "libvirt-machine-properties.c"
			goto __catch29_g_error;
		}
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp32_ = builder;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp33_ = _tmp27_;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = NULL;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp34_ = _tmp33_;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp35_ = _tmp34_->memory;
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp32_, "Max memory: %" G_GINT64_MODIFIER "d KiB\n", _tmp35_);
#line 66 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirNodeInfo_free0 (_tmp34_);
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp36_ = builder;
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp37_ = info;
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp38_ = _tmp37_->nrVirtCpu;
#line 68 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp36_, "CPUs: %d\n", (gint) _tmp38_);
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp39_ = builder;
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp40_ = info;
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp41_ = _tmp40_->state;
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp42_ = g_enum_get_value (g_type_class_ref (gvir_domain_state_get_type ()), _tmp41_);
#line 69 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp39_, "State: %s\n", (_tmp42_ != NULL) ? _tmp42_->value_name : NULL);
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirNodeInfo_free0 (_tmp27_);
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirDomainInfo_free0 (info);
#line 1279 "libvirt-machine-properties.c"
	}
	goto __finally29;
	__catch29_g_error:
	{
		GError* e = NULL;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		e = _inner_error_;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (e);
#line 1291 "libvirt-machine-properties.c"
	}
	__finally29:
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_string_free0 (builder);
#line 62 "/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 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 62 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return NULL;
#line 1304 "libvirt-machine-properties.c"
	}
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp43_ = self->priv->machine;
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp44_ = boxes_machine_get_display ((BoxesMachine*) _tmp43_);
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp45_ = _tmp44_;
#line 73 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp45_ != NULL) {
#line 1314 "libvirt-machine-properties.c"
		BoxesLibvirtMachine* _tmp46_ = NULL;
		BoxesDisplay* _tmp47_ = NULL;
		BoxesDisplay* _tmp48_ = NULL;
		GString* _tmp49_ = NULL;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp46_ = self->priv->machine;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp47_ = boxes_machine_get_display ((BoxesMachine*) _tmp46_);
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp48_ = _tmp47_;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp49_ = builder;
#line 74 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_display_collect_logs (_tmp48_, _tmp49_);
#line 1329 "libvirt-machine-properties.c"
	}
	{
		GVirConfigDomain* conf = NULL;
		BoxesLibvirtMachine* _tmp50_ = NULL;
		GVirDomain* _tmp51_ = NULL;
		GVirDomain* _tmp52_ = NULL;
		GVirConfigDomain* _tmp53_ = NULL;
		GString* _tmp54_ = NULL;
		GString* _tmp55_ = NULL;
		GString* _tmp56_ = NULL;
		gchar* _tmp57_ = NULL;
		gchar* _tmp58_ = NULL;
		GString* _tmp59_ = NULL;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp50_ = self->priv->machine;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp51_ = boxes_libvirt_machine_get_domain (_tmp50_);
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp52_ = _tmp51_;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp53_ = gvir_domain_get_config (_tmp52_, (guint) GVIR_DOMAIN_XML_NONE, &_inner_error_);
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		conf = _tmp53_;
#line 78 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1355 "libvirt-machine-properties.c"
			goto __catch30_g_error;
		}
#line 79 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp54_ = builder;
#line 79 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp54_, "\nDomain config:\n");
#line 80 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp55_ = builder;
#line 80 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp55_, "------------------------------------------------------------\n");
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp56_ = builder;
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp57_ = gvir_config_object_to_xml ((GVirConfigObject*) conf);
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp58_ = _tmp57_;
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append (_tmp56_, _tmp58_);
#line 82 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp58_);
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp59_ = builder;
#line 83 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp59_, "%s", "\n" "------------------------------------------------------------\n");
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (conf);
#line 1382 "libvirt-machine-properties.c"
	}
	goto __finally30;
	__catch30_g_error:
	{
		GError* _error_ = NULL;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 1394 "libvirt-machine-properties.c"
	}
	__finally30:
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_string_free0 (builder);
#line 77 "/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 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 77 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return NULL;
#line 1407 "libvirt-machine-properties.c"
	}
	{
		gchar* logfile = NULL;
		const gchar* _tmp60_ = NULL;
		BoxesLibvirtMachine* _tmp61_ = NULL;
		GVirDomain* _tmp62_ = NULL;
		GVirDomain* _tmp63_ = NULL;
		const gchar* _tmp64_ = NULL;
		gchar* _tmp65_ = NULL;
		gchar* _tmp66_ = NULL;
		gchar* _tmp67_ = NULL;
		gchar* _tmp68_ = NULL;
		gchar* data = NULL;
		gchar* _tmp69_ = NULL;
		GString* _tmp70_ = NULL;
		GString* _tmp71_ = NULL;
		GString* _tmp72_ = NULL;
		GString* _tmp73_ = NULL;
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp60_ = g_get_user_cache_dir ();
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp61_ = self->priv->machine;
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp62_ = boxes_libvirt_machine_get_domain (_tmp61_);
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp63_ = _tmp62_;
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp64_ = gvir_domain_get_name (_tmp63_);
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp65_ = g_strconcat (_tmp64_, ".log", NULL);
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp66_ = _tmp65_;
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp67_ = g_build_filename (_tmp60_, "libvirt/qemu/log", _tmp66_, NULL);
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp68_ = _tmp67_;
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp66_);
#line 89 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		logfile = _tmp68_;
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_file_get_contents (logfile, &_tmp69_, NULL, &_inner_error_);
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (data);
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		data = _tmp69_;
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (data);
#line 93 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (logfile);
#line 1460 "libvirt-machine-properties.c"
			goto __catch31_g_error;
		}
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp70_ = builder;
#line 94 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp70_, "\nQEMU log:\n");
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp71_ = builder;
#line 95 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp71_, "------------------------------------------------------------\n");
#line 97 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp72_ = builder;
#line 97 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append (_tmp72_, data);
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp73_ = builder;
#line 98 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_string_append_printf (_tmp73_, "------------------------------------------------------------\n");
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (data);
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (logfile);
#line 1483 "libvirt-machine-properties.c"
	}
	goto __finally31;
	__catch31_g_error:
	{
		GError* e = NULL;
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		e = _inner_error_;
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (e);
#line 1495 "libvirt-machine-properties.c"
	}
	__finally31:
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_string_free0 (builder);
#line 88 "/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 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 88 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return NULL;
#line 1508 "libvirt-machine-properties.c"
	}
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp74_ = builder;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp75_ = _tmp74_->str;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp76_ = g_strdup (_tmp75_);
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	result = _tmp76_;
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_string_free0 (builder);
#line 101 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 1522 "libvirt-machine-properties.c"
}


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


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


static Block37Data* block37_data_ref (Block37Data* _data37_) {
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data37_->_ref_count_);
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data37_;
#line 1547 "libvirt-machine-properties.c"
}


static void block37_data_unref (void * _userdata_) {
	Block37Data* _data37_;
	_data37_ = (Block37Data*) _userdata_;
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data37_->_ref_count_)) {
#line 1556 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data37_->self;
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data37_->name_property);
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block37Data, _data37_);
#line 1566 "libvirt-machine-properties.c"
	}
}


static gboolean ___lambda123_ (BoxesLibvirtMachineProperties* self, BoxesStringProperty* property, const gchar* name) {
	gboolean result = FALSE;
	BoxesLibvirtMachine* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (property != NULL, FALSE);
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (name != NULL, FALSE);
#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 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	result = TRUE;
#line 125 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 1589 "libvirt-machine-properties.c"
}


static gboolean ____lambda123__boxes_string_property_changed (BoxesStringProperty* _sender, const gchar* value, gpointer self) {
	gboolean result;
	result = ___lambda123_ ((BoxesLibvirtMachineProperties*) self, _sender, value);
#line 119 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 1598 "libvirt-machine-properties.c"
}


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


static void ___lambda124_ (Block37Data* _data37_) {
	BoxesLibvirtMachineProperties* self;
	BoxesStringProperty* _tmp0_ = NULL;
	BoxesLibvirtMachine* _tmp1_ = NULL;
	const gchar* _tmp2_ = NULL;
	const gchar* _tmp3_ = NULL;
#line 129 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data37_->self;
#line 130 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _data37_->name_property;
#line 130 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 130 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp1_);
#line 130 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 130 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_string_property_set_text (_tmp0_, _tmp3_);
#line 1627 "libvirt-machine-properties.c"
}


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


static Block38Data* block38_data_ref (Block38Data* _data38_) {
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data38_->_ref_count_);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data38_;
#line 1643 "libvirt-machine-properties.c"
}


static void block38_data_unref (void * _userdata_) {
	Block38Data* _data38_;
	_data38_ = (Block38Data*) _userdata_;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data38_->_ref_count_)) {
#line 1652 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data38_->self;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data38_->dialog);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_data38_->log);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block38Data, _data38_);
#line 1664 "libvirt-machine-properties.c"
	}
}


static Block39Data* block39_data_ref (Block39Data* _data39_) {
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data39_->_ref_count_);
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data39_;
#line 1674 "libvirt-machine-properties.c"
}


static void block39_data_unref (void * _userdata_) {
	Block39Data* _data39_;
	_data39_ = (Block39Data*) _userdata_;
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data39_->_ref_count_)) {
#line 1683 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data39_->_data38_->self;
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data39_->chooser);
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		block38_data_unref (_data39_->_data38_);
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data39_->_data38_ = NULL;
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block39Data, _data39_);
#line 1695 "libvirt-machine-properties.c"
	}
}


static guint8* string_get_data (const gchar* self, int* result_length1) {
	guint8* result;
	guint8* res = NULL;
	gint res_length1 = 0;
	gint _res_size_ = 0;
	gint _tmp0_ = 0;
	gint _tmp1_ = 0;
	gint _tmp2_ = 0;
	guint8* _tmp3_ = NULL;
	gint _tmp3__length1 = 0;
	guint8* _tmp4_ = NULL;
	gint _tmp4__length1 = 0;
#line 1300 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	g_return_val_if_fail (self != NULL, NULL);
#line 1301 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	res = (guint8*) self;
#line 1301 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	res_length1 = -1;
#line 1301 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_res_size_ = res_length1;
#line 1302 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp0_ = strlen (self);
#line 1302 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp1_ = _tmp0_;
#line 1302 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	res_length1 = (gint) _tmp1_;
#line 1302 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp2_ = res_length1;
#line 1303 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp3_ = res;
#line 1303 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp3__length1 = res_length1;
#line 1303 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp4_ = _tmp3_;
#line 1303 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	_tmp4__length1 = _tmp3__length1;
#line 1303 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	if (result_length1) {
#line 1303 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
		*result_length1 = _tmp4__length1;
#line 1740 "libvirt-machine-properties.c"
	}
#line 1303 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	result = _tmp4_;
#line 1303 "/usr/share/vala-0.26/vapi/glib-2.0.vapi"
	return result;
#line 1746 "libvirt-machine-properties.c"
}


static Block40Data* block40_data_ref (Block40Data* _data40_) {
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data40_->_ref_count_);
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data40_;
#line 1755 "libvirt-machine-properties.c"
}


static void block40_data_unref (void * _userdata_) {
	Block40Data* _data40_;
	_data40_ = (Block40Data*) _userdata_;
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data40_->_ref_count_)) {
#line 1764 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data40_->_data39_->_data38_->self;
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data40_->m);
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		block39_data_unref (_data40_->_data39_);
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data40_->_data39_ = NULL;
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block40Data, _data40_);
#line 1776 "libvirt-machine-properties.c"
	}
}


static void ____lambda132_ (Block40Data* _data40_) {
	Block39Data* _data39_;
	Block38Data* _data38_;
	BoxesLibvirtMachineProperties* self;
	GtkMessageDialog* _tmp0_ = NULL;
#line 185 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data39_ = _data40_->_data39_;
#line 185 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data38_ = _data39_->_data38_;
#line 185 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data38_->self;
#line 185 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _data40_->m;
#line 185 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp0_);
#line 1796 "libvirt-machine-properties.c"
}


static void _____lambda132__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 185 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	____lambda132_ (self);
#line 1803 "libvirt-machine-properties.c"
}


static void ___lambda131_ (Block39Data* _data39_, gint response_id) {
	Block38Data* _data38_;
	BoxesLibvirtMachineProperties* self;
	gint _tmp0_ = 0;
	GError * _inner_error_ = NULL;
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data38_ = _data39_->_data38_;
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data38_->self;
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = response_id;
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp0_ == ((gint) GTK_RESPONSE_OK)) {
#line 1820 "libvirt-machine-properties.c"
		GFile* file = NULL;
		GtkFileChooserDialog* _tmp1_ = NULL;
		GFile* _tmp2_ = NULL;
		GtkFileChooserDialog* _tmp16_ = NULL;
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = _data39_->chooser;
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = gtk_file_chooser_get_file ((GtkFileChooser*) _tmp1_);
#line 174 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		file = _tmp2_;
#line 1831 "libvirt-machine-properties.c"
		{
			GFile* _tmp3_ = NULL;
			guint8* _tmp4_ = NULL;
			gint _tmp4__length1 = 0;
			guint8* _tmp5_ = NULL;
			gint _tmp5__length1 = 0;
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp3_ = file;
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp4_ = string_get_data (_data38_->log, &_tmp4__length1);
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp5_ = _tmp4_;
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp5__length1 = _tmp4__length1;
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_file_replace_contents (_tmp3_, _tmp5_, (gsize) _tmp5__length1, NULL, FALSE, G_FILE_CREATE_REPLACE_DESTINATION, NULL, NULL, &_inner_error_);
#line 176 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 1850 "libvirt-machine-properties.c"
				goto __catch33_g_error;
			}
		}
		goto __finally33;
		__catch33_g_error:
		{
			GError* e = NULL;
			Block40Data* _data40_;
			GtkFileChooserDialog* _tmp6_ = NULL;
			const gchar* _tmp7_ = NULL;
			GError* _tmp8_ = NULL;
			const gchar* _tmp9_ = NULL;
			gchar* _tmp10_ = NULL;
			gchar* _tmp11_ = NULL;
			GtkMessageDialog* _tmp12_ = NULL;
			GtkMessageDialog* _tmp13_ = NULL;
			GtkMessageDialog* _tmp14_ = NULL;
			GtkMessageDialog* _tmp15_ = NULL;
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			e = _inner_error_;
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_inner_error_ = NULL;
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data40_ = g_slice_new0 (Block40Data);
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data40_->_ref_count_ = 1;
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data40_->_data39_ = block39_data_ref (_data39_);
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp6_ = _data39_->chooser;
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp7_ = _ ("Error saving: %s");
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp8_ = e;
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp9_ = _tmp8_->message;
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp10_ = g_strdup_printf (_tmp7_, _tmp9_);
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp11_ = _tmp10_;
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp12_ = (GtkMessageDialog*) gtk_message_dialog_new ((GtkWindow*) _tmp6_, GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, _tmp11_);
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_ref_sink (_tmp12_);
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp13_ = _tmp12_;
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_tmp11_);
#line 179 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data40_->m = _tmp13_;
#line 184 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp14_ = _data40_->m;
#line 184 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_widget_show_all ((GtkWidget*) _tmp14_);
#line 185 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp15_ = _data40_->m;
#line 185 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_connect_data ((GtkDialog*) _tmp15_, "response", (GCallback) _____lambda132__gtk_dialog_response, block40_data_ref (_data40_), (GClosureNotify) block40_data_unref, 0);
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_error_free0 (e);
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			block40_data_unref (_data40_);
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data40_ = NULL;
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (file);
#line 186 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 1919 "libvirt-machine-properties.c"
		}
		__finally33:
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (file);
#line 175 "/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 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_clear_error (&_inner_error_);
#line 175 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 1932 "libvirt-machine-properties.c"
		}
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = _data39_->chooser;
#line 188 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_widget_destroy ((GtkWidget*) _tmp16_);
#line 173 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (file);
#line 1940 "libvirt-machine-properties.c"
	} else {
		GtkFileChooserDialog* _tmp17_ = NULL;
#line 190 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = _data39_->chooser;
#line 190 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_widget_destroy ((GtkWidget*) _tmp17_);
#line 1947 "libvirt-machine-properties.c"
	}
}


static void ____lambda131__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda131_ (self, response_id);
#line 1955 "libvirt-machine-properties.c"
}


static void __lambda130_ (Block38Data* _data38_, gint response_id) {
	BoxesLibvirtMachineProperties* self;
	gint _tmp0_ = 0;
#line 165 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data38_->self;
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = response_id;
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp0_ == 100) {
#line 1968 "libvirt-machine-properties.c"
		Block39Data* _data39_;
		const gchar* _tmp1_ = NULL;
		BoxesLibvirtMachine* _tmp2_ = NULL;
		BoxesAppWindow* _tmp3_ = NULL;
		BoxesAppWindow* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
		GtkFileChooserDialog* _tmp6_ = NULL;
		GtkFileChooserDialog* _tmp7_ = NULL;
		GtkFileChooserDialog* _tmp8_ = NULL;
		GtkFileChooserDialog* _tmp9_ = NULL;
		GtkFileChooserDialog* _tmp10_ = NULL;
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data39_ = g_slice_new0 (Block39Data);
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data39_->_ref_count_ = 1;
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data39_->_data38_ = block38_data_ref (_data38_);
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = _ ("Save log");
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = self->priv->machine;
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = boxes_machine_get_window ((BoxesMachine*) _tmp2_);
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = _tmp3_;
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = _ ("_Save");
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = (GtkFileChooserDialog*) gtk_file_chooser_dialog_new (_tmp1_, (GtkWindow*) _tmp4_, GTK_FILE_CHOOSER_ACTION_SAVE, _tmp5_, GTK_RESPONSE_OK, NULL);
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_ref_sink (_tmp6_);
#line 167 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data39_->chooser = _tmp6_;
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = _data39_->chooser;
#line 170 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_file_chooser_set_local_only ((GtkFileChooser*) _tmp7_, FALSE);
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = _data39_->chooser;
#line 171 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_file_chooser_set_do_overwrite_confirmation ((GtkFileChooser*) _tmp8_, TRUE);
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = _data39_->chooser;
#line 172 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_signal_connect_data ((GtkDialog*) _tmp9_, "response", (GCallback) ____lambda131__gtk_dialog_response, block39_data_ref (_data39_), (GClosureNotify) block39_data_unref, 0);
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = _data39_->chooser;
#line 193 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_widget_show_all ((GtkWidget*) _tmp10_);
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		block39_data_unref (_data39_);
#line 166 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data39_ = NULL;
#line 2022 "libvirt-machine-properties.c"
	} else {
		gint _tmp11_ = 0;
#line 194 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = response_id;
#line 194 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp11_ == 101) {
#line 2029 "libvirt-machine-properties.c"
			GdkDisplay* _tmp12_ = NULL;
			GtkClipboard* _tmp13_ = NULL;
#line 195 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp12_ = gtk_widget_get_display ((GtkWidget*) _data38_->dialog);
#line 195 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp13_ = gtk_clipboard_get_for_display (_tmp12_, GDK_SELECTION_CLIPBOARD);
#line 195 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_clipboard_set_text (_tmp13_, _data38_->log, -1);
#line 2038 "libvirt-machine-properties.c"
		} else {
#line 198 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_widget_destroy ((GtkWidget*) _data38_->dialog);
#line 2042 "libvirt-machine-properties.c"
		}
	}
}


static void ___lambda130__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 165 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda130_ (self, response_id);
#line 2051 "libvirt-machine-properties.c"
}


static void ___lambda129_ (BoxesLibvirtMachineProperties* self) {
	Block38Data* _data38_;
	gchar* _tmp0_ = NULL;
	const gchar* _tmp1_ = NULL;
	BoxesLibvirtMachine* _tmp2_ = NULL;
	BoxesAppWindow* _tmp3_ = NULL;
	BoxesAppWindow* _tmp4_ = NULL;
	const gchar* _tmp5_ = NULL;
	const gchar* _tmp6_ = NULL;
	const gchar* _tmp7_ = NULL;
	GtkDialog* _tmp8_ = NULL;
	GtkTextView* text = NULL;
	GtkTextView* _tmp9_ = NULL;
	GtkScrolledWindow* scroll = NULL;
	GtkScrolledWindow* _tmp10_ = NULL;
	GtkBox* _tmp11_ = NULL;
	GtkTextBuffer* _tmp12_ = NULL;
	GtkTextBuffer* _tmp13_ = NULL;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data38_ = g_slice_new0 (Block38Data);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data38_->_ref_count_ = 1;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data38_->self = g_object_ref (self);
#line 147 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = boxes_libvirt_machine_properties_collect_logs (self);
#line 147 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data38_->log = _tmp0_;
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _ ("Troubleshooting log");
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = self->priv->machine;
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = boxes_machine_get_window ((BoxesMachine*) _tmp2_);
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = _tmp3_;
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = _ ("_Save");
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = _ ("Copy to clipboard");
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = _ ("_Close");
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = (GtkDialog*) gtk_dialog_new_with_buttons (_tmp1_, (GtkWindow*) _tmp4_, GTK_DIALOG_DESTROY_WITH_PARENT, _tmp5_, 100, _tmp6_, 101, _tmp7_, GTK_RESPONSE_OK, NULL);
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp8_);
#line 148 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data38_->dialog = _tmp8_;
#line 154 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_window_set_default_size ((GtkWindow*) _data38_->dialog, 640, 480);
#line 155 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = (GtkTextView*) gtk_text_view_new ();
#line 155 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp9_);
#line 155 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	text = _tmp9_;
#line 156 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_text_view_set_editable (text, FALSE);
#line 157 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = (GtkScrolledWindow*) gtk_scrolled_window_new (NULL, NULL);
#line 157 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp10_);
#line 157 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	scroll = _tmp10_;
#line 158 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) scroll, (GtkWidget*) text);
#line 159 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_set_vexpand ((GtkWidget*) scroll, TRUE);
#line 161 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = (GtkBox*) gtk_dialog_get_content_area (_data38_->dialog);
#line 161 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp11_, (GtkWidget*) scroll);
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = gtk_text_view_get_buffer (text);
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = _tmp12_;
#line 162 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_text_buffer_set_text (_tmp13_, _data38_->log, -1);
#line 163 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_show_all ((GtkWidget*) _data38_->dialog);
#line 165 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_data (_data38_->dialog, "response", (GCallback) ___lambda130__gtk_dialog_response, block38_data_ref (_data38_), (GClosureNotify) block38_data_unref, 0);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (scroll);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (text);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	block38_data_unref (_data38_);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data38_ = NULL;
#line 2145 "libvirt-machine-properties.c"
}


static void ____lambda129__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda129_ ((BoxesLibvirtMachineProperties*) self);
#line 2152 "libvirt-machine-properties.c"
}


static Block41Data* block41_data_ref (Block41Data* _data41_) {
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data41_->_ref_count_);
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data41_;
#line 2161 "libvirt-machine-properties.c"
}


static void block41_data_unref (void * _userdata_) {
	Block41Data* _data41_;
	_data41_ = (Block41Data*) _userdata_;
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data41_->_ref_count_)) {
#line 2170 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data41_->self;
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data41_->property);
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block41Data, _data41_);
#line 2180 "libvirt-machine-properties.c"
	}
}


static void ____lambda135_ (Block41Data* _data41_) {
	BoxesLibvirtMachineProperties* self;
	GError * _inner_error_ = NULL;
#line 248 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data41_->self;
#line 2190 "libvirt-machine-properties.c"
	{
		BoxesLibvirtMachine* _tmp0_ = NULL;
		BoxesProperty* _tmp1_ = NULL;
		BoxesProperty* _tmp2_ = NULL;
#line 250 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_properties_try_enable_usb_redir (self, &_inner_error_);
#line 250 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2199 "libvirt-machine-properties.c"
			goto __catch35_g_error;
		}
#line 251 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = self->priv->machine;
#line 251 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_update_domain_config (_tmp0_);
#line 252 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = _data41_->property;
#line 252 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_signal_emit_by_name (_tmp1_, "refresh-properties");
#line 253 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = _data41_->property;
#line 253 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_reboot_required (_tmp2_, TRUE);
#line 2214 "libvirt-machine-properties.c"
	}
	goto __finally35;
	__catch35_g_error:
	{
		GError* _error_ = NULL;
#line 249 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 249 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 255 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:255: Failed to enable usb");
#line 249 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 2228 "libvirt-machine-properties.c"
	}
	__finally35:
#line 249 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 249 "/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 249 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 249 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 2239 "libvirt-machine-properties.c"
	}
}


static void _____lambda135__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 248 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	____lambda135_ (self);
#line 2247 "libvirt-machine-properties.c"
}


static Block42Data* block42_data_ref (Block42Data* _data42_) {
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data42_->_ref_count_);
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data42_;
#line 2256 "libvirt-machine-properties.c"
}


static void block42_data_unref (void * _userdata_) {
	Block42Data* _data42_;
	_data42_ = (Block42Data*) _userdata_;
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data42_->_ref_count_)) {
#line 2265 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data42_->self;
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data42_->property);
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block42Data, _data42_);
#line 2275 "libvirt-machine-properties.c"
	}
}


static void ____lambda136_ (Block42Data* _data42_) {
	BoxesLibvirtMachineProperties* self;
	GError * _inner_error_ = NULL;
#line 266 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data42_->self;
#line 2285 "libvirt-machine-properties.c"
	{
		BoxesLibvirtMachine* _tmp0_ = NULL;
		BoxesProperty* _tmp1_ = NULL;
		BoxesProperty* _tmp2_ = NULL;
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_properties_try_enable_smartcard (self, &_inner_error_);
#line 268 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2294 "libvirt-machine-properties.c"
			goto __catch36_g_error;
		}
#line 269 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = self->priv->machine;
#line 269 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_update_domain_config (_tmp0_);
#line 270 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = _data42_->property;
#line 270 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_signal_emit_by_name (_tmp1_, "refresh-properties");
#line 271 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = _data42_->property;
#line 271 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_reboot_required (_tmp2_, TRUE);
#line 2309 "libvirt-machine-properties.c"
	}
	goto __finally36;
	__catch36_g_error:
	{
		GError* _error_ = NULL;
#line 267 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 267 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 273 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:273: Failed to enable smartcard");
#line 267 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 2323 "libvirt-machine-properties.c"
	}
	__finally36:
#line 267 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 267 "/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 267 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 267 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 2334 "libvirt-machine-properties.c"
	}
}


static void _____lambda136__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 266 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	____lambda136_ (self);
#line 2342 "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;
	BoxesPropertiesPage _tmp9_ = 0;
	GError * _inner_error_ = NULL;
#line 104 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = (BoxesLibvirtMachineProperties*) base;
#line 105 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	list = NULL;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_machine_is_on ((BoxesMachine*) _tmp1_);
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp2_) {
#line 2365 "libvirt-machine-properties.c"
		BoxesLibvirtMachine* _tmp3_ = NULL;
		BoxesDisplay* _tmp4_ = NULL;
		BoxesDisplay* _tmp5_ = NULL;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = self->priv->machine;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = boxes_machine_get_display ((BoxesMachine*) _tmp3_);
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = _tmp4_;
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp5_ == NULL;
#line 2377 "libvirt-machine-properties.c"
	} else {
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = FALSE;
#line 2381 "libvirt-machine-properties.c"
	}
#line 108 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp0_) {
#line 2385 "libvirt-machine-properties.c"
		{
			BoxesLibvirtMachine* _tmp6_ = NULL;
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp6_ = self->priv->machine;
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_update_display (_tmp6_, &_inner_error_);
#line 110 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2394 "libvirt-machine-properties.c"
				goto __catch32_g_error;
			}
		}
		goto __finally32;
		__catch32_g_error:
		{
			GError* e = NULL;
			GError* _tmp7_ = NULL;
			const gchar* _tmp8_ = NULL;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			e = _inner_error_;
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_inner_error_ = NULL;
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp7_ = e;
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp8_ = _tmp7_->message;
#line 112 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_warning ("libvirt-machine-properties.vala:112: %s", _tmp8_);
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_error_free0 (e);
#line 2416 "libvirt-machine-properties.c"
		}
		__finally32:
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__g_list_free__g_object_unref0_0 (list);
#line 109 "/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 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_clear_error (&_inner_error_);
#line 109 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return NULL;
#line 2429 "libvirt-machine-properties.c"
		}
	}
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = page;
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_tmp9_) {
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case BOXES_PROPERTIES_PAGE_LOGIN:
#line 2438 "libvirt-machine-properties.c"
		{
			Block37Data* _data37_;
			BoxesStringProperty* property = NULL;
			const gchar* _tmp10_ = NULL;
			BoxesLibvirtMachine* _tmp11_ = NULL;
			const gchar* _tmp12_ = NULL;
			const gchar* _tmp13_ = NULL;
			BoxesStringProperty* _tmp14_ = NULL;
			BoxesStringProperty* _tmp15_ = NULL;
			BoxesStringProperty* _tmp16_ = NULL;
			BoxesStringProperty* _tmp17_ = NULL;
			BoxesStringProperty* _tmp18_ = NULL;
			BoxesLibvirtMachine* _tmp19_ = NULL;
			const gchar* _tmp20_ = NULL;
			BoxesLibvirtMachine* _tmp21_ = NULL;
			BoxesCollectionSource* _tmp22_ = NULL;
			gchar* _tmp23_ = NULL;
			gchar* _tmp24_ = NULL;
			gchar* _tmp25_ = NULL;
			BoxesStringProperty* _tmp26_ = NULL;
			BoxesStringProperty* _tmp27_ = NULL;
			BoxesLibvirtMachine* _tmp28_ = NULL;
			BoxesDisplay* _tmp29_ = NULL;
			BoxesDisplay* _tmp30_ = NULL;
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data37_ = g_slice_new0 (Block37Data);
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data37_->_ref_count_ = 1;
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data37_->self = g_object_ref (self);
#line 117 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp10_ = _ ("Name");
#line 117 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp11_ = self->priv->machine;
#line 117 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp12_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp11_);
#line 117 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp13_ = _tmp12_;
#line 117 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp14_ = boxes_iproperties_provider_add_string_property ((BoxesIPropertiesProvider*) self, &list, _tmp10_, _tmp13_);
#line 117 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			property = _tmp14_;
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp15_ = property;
#line 118 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_string_property_set_editable (_tmp15_, TRUE);
#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) ____lambda123__boxes_string_property_changed, self, 0);
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp17_ = property;
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp18_ = _g_object_ref0 (_tmp17_);
#line 128 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data37_->name_property = _tmp18_;
#line 129 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp19_ = self->priv->machine;
#line 129 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_connect_data ((GObject*) _tmp19_, "notify::name", (GCallback) ____lambda124__g_object_notify, block37_data_ref (_data37_), (GClosureNotify) block37_data_unref, 0);
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp20_ = _ ("Virtualizer");
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp21_ = self->priv->machine;
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp22_ = ((BoxesMachine*) _tmp21_)->source;
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp23_ = boxes_collection_source_get_uri (_tmp22_);
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp24_ = _tmp23_;
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp25_ = _tmp24_;
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp26_ = boxes_iproperties_provider_add_string_property ((BoxesIPropertiesProvider*) self, &list, _tmp20_, _tmp25_);
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp27_ = _tmp26_;
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_tmp27_);
#line 133 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_tmp25_);
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp28_ = self->priv->machine;
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp29_ = boxes_machine_get_display ((BoxesMachine*) _tmp28_);
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp30_ = _tmp29_;
#line 134 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp30_ != NULL) {
#line 2527 "libvirt-machine-properties.c"
				const gchar* _tmp31_ = NULL;
				BoxesLibvirtMachine* _tmp32_ = NULL;
				BoxesDisplay* _tmp33_ = NULL;
				BoxesDisplay* _tmp34_ = NULL;
				gchar* _tmp35_ = NULL;
				gchar* _tmp36_ = NULL;
				gchar* _tmp37_ = NULL;
				BoxesStringProperty* _tmp38_ = NULL;
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp31_ = _ ("URI");
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp32_ = self->priv->machine;
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp33_ = boxes_machine_get_display ((BoxesMachine*) _tmp32_);
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp34_ = _tmp33_;
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp35_ = boxes_display_get_uri (_tmp34_);
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp36_ = _tmp35_;
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp37_ = _tmp36_;
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp38_ = boxes_iproperties_provider_add_string_property ((BoxesIPropertiesProvider*) self, &list, _tmp31_, _tmp37_);
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (property);
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				property = _tmp38_;
#line 135 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_free0 (_tmp37_);
#line 2558 "libvirt-machine-properties.c"
			}
#line 136 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (property);
#line 136 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			block37_data_unref (_data37_);
#line 136 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data37_ = NULL;
#line 136 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			break;
#line 2568 "libvirt-machine-properties.c"
		}
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case BOXES_PROPERTIES_PAGE_SYSTEM:
#line 2572 "libvirt-machine-properties.c"
		{
			BoxesSizeProperty* ram_property = NULL;
			BoxesSizeProperty* _tmp39_ = NULL;
			BoxesSizeProperty* storage_property = NULL;
			BoxesSizeProperty* _tmp40_ = NULL;
			BoxesSizeProperty* _tmp41_ = NULL;
			BoxesSizeProperty* _tmp42_ = NULL;
			GtkButton* button = NULL;
			const gchar* _tmp43_ = NULL;
			GtkButton* _tmp44_ = NULL;
			GtkButton* _tmp45_ = NULL;
			GtkButton* _tmp46_ = NULL;
			BoxesProperty* _tmp47_ = NULL;
			BoxesProperty* _tmp48_ = NULL;
			GtkButton* _tmp49_ = NULL;
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp39_ = boxes_libvirt_machine_properties_add_ram_property (self, &list);
#line 139 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			ram_property = _tmp39_;
#line 140 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp40_ = boxes_libvirt_machine_properties_add_storage_property (self, &list);
#line 140 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			storage_property = _tmp40_;
#line 141 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp41_ = ram_property;
#line 141 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp42_ = storage_property;
#line 141 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_properties_mark_recommended_resources (self, _tmp41_, _tmp42_, NULL, NULL);
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp43_ = _ ("Troubleshooting log");
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp44_ = (GtkButton*) gtk_button_new_with_label (_tmp43_);
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_ref_sink (_tmp44_);
#line 143 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			button = _tmp44_;
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp45_ = button;
#line 144 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_widget_set_halign ((GtkWidget*) _tmp45_, GTK_ALIGN_START);
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp46_ = button;
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp47_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, &list, NULL, (GtkWidget*) _tmp46_, NULL);
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp48_ = _tmp47_;
#line 145 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_tmp48_);
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp49_ = button;
#line 146 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_connect_object (_tmp49_, "clicked", (GCallback) ____lambda129__gtk_button_clicked, self, 0);
#line 202 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (button);
#line 202 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (storage_property);
#line 202 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (ram_property);
#line 202 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			break;
#line 2634 "libvirt-machine-properties.c"
		}
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case BOXES_PROPERTIES_PAGE_DISPLAY:
#line 2638 "libvirt-machine-properties.c"
		{
			BoxesLibvirtMachine* _tmp50_ = NULL;
			BoxesDisplay* _tmp51_ = NULL;
			BoxesDisplay* _tmp52_ = NULL;
#line 205 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp50_ = self->priv->machine;
#line 205 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp51_ = boxes_machine_get_display ((BoxesMachine*) _tmp50_);
#line 205 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp52_ = _tmp51_;
#line 205 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp52_ != NULL) {
#line 2651 "libvirt-machine-properties.c"
				const gchar* _tmp53_ = NULL;
				BoxesLibvirtMachine* _tmp54_ = NULL;
				BoxesDisplay* _tmp55_ = NULL;
				BoxesDisplay* _tmp56_ = NULL;
				const gchar* _tmp57_ = NULL;
				const gchar* _tmp58_ = NULL;
				BoxesStringProperty* _tmp59_ = NULL;
				BoxesStringProperty* _tmp60_ = NULL;
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp53_ = _ ("Protocol");
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp54_ = self->priv->machine;
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp55_ = boxes_machine_get_display ((BoxesMachine*) _tmp54_);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp56_ = _tmp55_;
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp57_ = boxes_display_get_protocol (_tmp56_);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp58_ = _tmp57_;
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp59_ = boxes_iproperties_provider_add_string_property ((BoxesIPropertiesProvider*) self, &list, _tmp53_, _tmp58_);
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp60_ = _tmp59_;
#line 206 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_tmp60_);
#line 2678 "libvirt-machine-properties.c"
			}
#line 207 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			break;
#line 2682 "libvirt-machine-properties.c"
		}
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case BOXES_PROPERTIES_PAGE_DEVICES:
#line 2686 "libvirt-machine-properties.c"
		{
			BoxesLibvirtMachine* _tmp61_ = NULL;
			GVirConfigDomain* _tmp62_ = NULL;
			GVirConfigDomain* _tmp63_ = NULL;
			GList* _tmp64_ = NULL;
			gboolean has_usb_redir = FALSE;
			gboolean has_smartcard = FALSE;
			gboolean _tmp88_ = FALSE;
			gboolean _tmp90_ = FALSE;
			gboolean _tmp91_ = FALSE;
			gboolean _tmp99_ = FALSE;
			gboolean _tmp100_ = FALSE;
#line 210 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp61_ = self->priv->machine;
#line 210 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp62_ = boxes_libvirt_machine_get_domain_config (_tmp61_);
#line 210 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp63_ = _tmp62_;
#line 210 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp64_ = gvir_config_domain_get_devices (_tmp63_);
#line 2707 "libvirt-machine-properties.c"
			{
				GList* device_config_collection = NULL;
				GList* device_config_it = NULL;
#line 210 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				device_config_collection = _tmp64_;
#line 210 "/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 2715 "libvirt-machine-properties.c"
					GVirConfigDomainDevice* _tmp65_ = NULL;
					GVirConfigDomainDevice* device_config = NULL;
#line 210 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp65_ = _g_object_ref0 ((GVirConfigDomainDevice*) device_config_it->data);
#line 210 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					device_config = _tmp65_;
#line 2722 "libvirt-machine-properties.c"
					{
						GVirConfigDomainDevice* _tmp66_ = NULL;
						GVirConfigDomainDisk* disk_config = NULL;
						GVirConfigDomainDevice* _tmp67_ = NULL;
						GVirConfigDomainDisk* _tmp68_ = NULL;
						GVirConfigDomainDiskGuestDeviceType disk_type = 0;
						GVirConfigDomainDisk* _tmp69_ = NULL;
						GVirConfigDomainDiskGuestDeviceType _tmp70_ = 0;
						GVirConfigDomainDiskGuestDeviceType _tmp71_ = 0;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp66_ = device_config;
#line 211 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						if (!G_TYPE_CHECK_INSTANCE_TYPE (_tmp66_, gvir_config_domain_disk_get_type ())) {
#line 212 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							_g_object_unref0 (device_config);
#line 212 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							continue;
#line 2740 "libvirt-machine-properties.c"
						}
#line 213 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp67_ = device_config;
#line 213 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp68_ = _g_object_ref0 (G_TYPE_CHECK_INSTANCE_TYPE (_tmp67_, gvir_config_domain_disk_get_type ()) ? ((GVirConfigDomainDisk*) _tmp67_) : NULL);
#line 213 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						disk_config = _tmp68_;
#line 214 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp69_ = disk_config;
#line 214 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp70_ = gvir_config_domain_disk_get_guest_device_type (_tmp69_);
#line 214 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						disk_type = _tmp70_;
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp71_ = disk_type;
#line 215 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						if (_tmp71_ == GVIR_CONFIG_DOMAIN_DISK_GUEST_DEVICE_CDROM) {
#line 2758 "libvirt-machine-properties.c"
							GVirConfigDomainDisk* _tmp72_ = NULL;
#line 216 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							_tmp72_ = disk_config;
#line 216 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							boxes_libvirt_machine_properties_add_cdrom_property (self, _tmp72_, &list);
#line 2764 "libvirt-machine-properties.c"
						}
#line 210 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_g_object_unref0 (disk_config);
#line 210 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_g_object_unref0 (device_config);
#line 2770 "libvirt-machine-properties.c"
					}
				}
#line 210 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				__g_list_free__g_object_unref0_0 (device_config_collection);
#line 2775 "libvirt-machine-properties.c"
			}
#line 219 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			has_usb_redir = FALSE;
#line 220 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			has_smartcard = FALSE;
#line 2781 "libvirt-machine-properties.c"
			{
				GVirConfigDomain* inactive_config = NULL;
				BoxesLibvirtMachine* _tmp73_ = NULL;
				GVirDomain* _tmp74_ = NULL;
				GVirDomain* _tmp75_ = NULL;
				GVirConfigDomain* _tmp76_ = NULL;
				GVirConfigDomain* _tmp77_ = NULL;
				GList* _tmp78_ = NULL;
#line 224 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp73_ = self->priv->machine;
#line 224 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp74_ = boxes_libvirt_machine_get_domain (_tmp73_);
#line 224 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp75_ = _tmp74_;
#line 224 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp76_ = gvir_domain_get_config (_tmp75_, (guint) GVIR_DOMAIN_XML_INACTIVE, &_inner_error_);
#line 224 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				inactive_config = _tmp76_;
#line 224 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 2802 "libvirt-machine-properties.c"
					goto __catch34_g_error;
				}
#line 225 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp77_ = inactive_config;
#line 225 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp78_ = gvir_config_domain_get_devices (_tmp77_);
#line 2809 "libvirt-machine-properties.c"
				{
					GList* device_collection = NULL;
					GList* device_it = NULL;
#line 225 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					device_collection = _tmp78_;
#line 225 "/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 2817 "libvirt-machine-properties.c"
						GVirConfigDomainDevice* _tmp79_ = NULL;
						GVirConfigDomainDevice* device = NULL;
#line 225 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						_tmp79_ = _g_object_ref0 ((GVirConfigDomainDevice*) device_it->data);
#line 225 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
						device = _tmp79_;
#line 2824 "libvirt-machine-properties.c"
						{
							GVirConfigDomainDevice* _tmp80_ = NULL;
							GVirConfigDomainDevice* _tmp81_ = NULL;
#line 226 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							_tmp80_ = device;
#line 226 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp80_, gvir_config_domain_redirdev_get_type ())) {
#line 227 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
								has_usb_redir = TRUE;
#line 2834 "libvirt-machine-properties.c"
							}
#line 229 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							_tmp81_ = device;
#line 229 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp81_, gvir_config_domain_smartcard_get_type ())) {
#line 230 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
								has_smartcard = TRUE;
#line 2842 "libvirt-machine-properties.c"
							}
#line 225 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
							_g_object_unref0 (device);
#line 2846 "libvirt-machine-properties.c"
						}
					}
#line 225 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					__g_list_free__g_object_unref0_0 (device_collection);
#line 2851 "libvirt-machine-properties.c"
				}
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (inactive_config);
#line 2855 "libvirt-machine-properties.c"
			}
			goto __finally34;
			__catch34_g_error:
			{
				GError* _error_ = NULL;
				BoxesLibvirtMachine* _tmp82_ = NULL;
				GVirDomain* _tmp83_ = NULL;
				GVirDomain* _tmp84_ = NULL;
				const gchar* _tmp85_ = NULL;
				GError* _tmp86_ = NULL;
				const gchar* _tmp87_ = NULL;
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_error_ = _inner_error_;
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_inner_error_ = NULL;
#line 234 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp82_ = self->priv->machine;
#line 234 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp83_ = boxes_libvirt_machine_get_domain (_tmp82_);
#line 234 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp84_ = _tmp83_;
#line 234 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp85_ = gvir_domain_get_name (_tmp84_);
#line 234 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp86_ = _error_;
#line 234 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp87_ = _tmp86_->message;
#line 234 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_warning ("libvirt-machine-properties.vala:234: Failed to fetch configuration for" \
" domain '%s': %s", _tmp85_, _tmp87_);
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_error_free0 (_error_);
#line 2887 "libvirt-machine-properties.c"
			}
			__finally34:
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				__g_list_free__g_object_unref0_0 (list);
#line 223 "/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 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_clear_error (&_inner_error_);
#line 223 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				return NULL;
#line 2900 "libvirt-machine-properties.c"
			}
#line 239 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp88_ = has_usb_redir;
#line 239 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (!_tmp88_) {
#line 2906 "libvirt-machine-properties.c"
				PropertyCreationFlag _tmp89_ = 0;
#line 240 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp89_ = *flags;
#line 240 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				*flags = _tmp89_ | PROPERTY_CREATION_FLAG_NO_USB;
#line 2912 "libvirt-machine-properties.c"
			}
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp91_ = has_usb_redir;
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (!_tmp91_) {
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp90_ = HAVE_USBREDIR;
#line 2920 "libvirt-machine-properties.c"
			} else {
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp90_ = FALSE;
#line 2924 "libvirt-machine-properties.c"
			}
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp90_) {
#line 2928 "libvirt-machine-properties.c"
				Block41Data* _data41_;
				GtkButton* button = NULL;
				const gchar* _tmp92_ = NULL;
				GtkButton* _tmp93_ = NULL;
				GtkButton* _tmp94_ = NULL;
				const gchar* _tmp95_ = NULL;
				GtkButton* _tmp96_ = NULL;
				BoxesProperty* _tmp97_ = NULL;
				GtkButton* _tmp98_ = NULL;
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data41_ = g_slice_new0 (Block41Data);
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data41_->_ref_count_ = 1;
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data41_->self = g_object_ref (self);
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp92_ = _ ("Add support to guest");
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp93_ = (GtkButton*) gtk_button_new_with_label (_tmp92_);
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_object_ref_sink (_tmp93_);
#line 245 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				button = _tmp93_;
#line 246 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp94_ = button;
#line 246 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				gtk_widget_set_halign ((GtkWidget*) _tmp94_, GTK_ALIGN_START);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp95_ = _ ("USB device support");
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp96_ = button;
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp97_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, &list, _tmp95_, (GtkWidget*) _tmp96_, NULL);
#line 247 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data41_->property = _tmp97_;
#line 248 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp98_ = button;
#line 248 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_signal_connect_data (_tmp98_, "clicked", (GCallback) _____lambda135__gtk_button_clicked, block41_data_ref (_data41_), (GClosureNotify) block41_data_unref, 0);
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (button);
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				block41_data_unref (_data41_);
#line 244 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data41_ = NULL;
#line 2974 "libvirt-machine-properties.c"
			}
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp100_ = has_smartcard;
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (!_tmp100_) {
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp99_ = HAVE_SMARTCARD;
#line 2982 "libvirt-machine-properties.c"
			} else {
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp99_ = FALSE;
#line 2986 "libvirt-machine-properties.c"
			}
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp99_) {
#line 2990 "libvirt-machine-properties.c"
				Block42Data* _data42_;
				GtkButton* button = NULL;
				const gchar* _tmp101_ = NULL;
				GtkButton* _tmp102_ = NULL;
				GtkButton* _tmp103_ = NULL;
				const gchar* _tmp104_ = NULL;
				GtkButton* _tmp105_ = NULL;
				BoxesProperty* _tmp106_ = NULL;
				GtkButton* _tmp107_ = NULL;
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data42_ = g_slice_new0 (Block42Data);
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data42_->_ref_count_ = 1;
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data42_->self = g_object_ref (self);
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp101_ = _ ("Add support to guest");
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp102_ = (GtkButton*) gtk_button_new_with_label (_tmp101_);
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_object_ref_sink (_tmp102_);
#line 263 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				button = _tmp102_;
#line 264 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp103_ = button;
#line 264 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				gtk_widget_set_halign ((GtkWidget*) _tmp103_, GTK_ALIGN_START);
#line 265 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp104_ = _ ("Smartcard support");
#line 265 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp105_ = button;
#line 265 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp106_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, &list, _tmp104_, (GtkWidget*) _tmp105_, NULL);
#line 265 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data42_->property = _tmp106_;
#line 266 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp107_ = button;
#line 266 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_signal_connect_data (_tmp107_, "clicked", (GCallback) _____lambda136__gtk_button_clicked, block42_data_ref (_data42_), (GClosureNotify) block42_data_unref, 0);
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (button);
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				block42_data_unref (_data42_);
#line 262 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data42_ = NULL;
#line 3036 "libvirt-machine-properties.c"
			}
#line 278 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			break;
#line 3040 "libvirt-machine-properties.c"
		}
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case BOXES_PROPERTIES_PAGE_SNAPSHOTS:
#line 3044 "libvirt-machine-properties.c"
		{
			{
				GVirConfigDomain* config = NULL;
				BoxesLibvirtMachine* _tmp108_ = NULL;
				GVirDomain* _tmp109_ = NULL;
				GVirDomain* _tmp110_ = NULL;
				GVirConfigDomain* _tmp111_ = NULL;
				gboolean _tmp112_ = FALSE;
				GVirConfigDomain* _tmp113_ = NULL;
				GVirConfigDomainCpu* _tmp114_ = NULL;
				GVirConfigDomainCpu* _tmp115_ = NULL;
				GVirConfigDomainCpuMode _tmp116_ = 0;
				gboolean _tmp117_ = FALSE;
#line 282 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp108_ = self->priv->machine;
#line 282 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp109_ = boxes_libvirt_machine_get_domain (_tmp108_);
#line 282 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp110_ = _tmp109_;
#line 282 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp111_ = gvir_domain_get_config (_tmp110_, (guint) 0, &_inner_error_);
#line 282 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				config = _tmp111_;
#line 282 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3070 "libvirt-machine-properties.c"
					goto __catch37_g_error;
				}
#line 284 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp113_ = config;
#line 284 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp114_ = gvir_config_domain_get_cpu (_tmp113_);
#line 284 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp115_ = _tmp114_;
#line 284 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp116_ = gvir_config_domain_cpu_get_mode (_tmp115_);
#line 284 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp117_ = _tmp116_ != GVIR_CONFIG_DOMAIN_CPU_MODE_HOST_PASSTHROUGH;
#line 284 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (_tmp115_);
#line 284 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				if (_tmp117_) {
#line 3087 "libvirt-machine-properties.c"
					GVirConfigDomain* _tmp118_ = NULL;
					gboolean _tmp119_ = FALSE;
#line 285 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp118_ = config;
#line 285 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp119_ = boxes_vm_configurator_is_install_config (_tmp118_);
#line 285 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp112_ = !_tmp119_;
#line 3096 "libvirt-machine-properties.c"
				} else {
#line 284 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp112_ = FALSE;
#line 3100 "libvirt-machine-properties.c"
				}
#line 284 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				if (_tmp112_) {
#line 3104 "libvirt-machine-properties.c"
					BoxesLibvirtMachine* _tmp120_ = NULL;
					BoxesSnapshotsProperty* _tmp121_ = NULL;
					BoxesSnapshotsProperty* _tmp122_ = NULL;
#line 286 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp120_ = self->priv->machine;
#line 286 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp121_ = boxes_libvirt_machine_properties_add_snapshots_property (self, &list, _tmp120_);
#line 286 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_tmp122_ = _tmp121_;
#line 286 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_g_object_unref0 (_tmp122_);
#line 3116 "libvirt-machine-properties.c"
				}
#line 281 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_object_unref0 (config);
#line 3120 "libvirt-machine-properties.c"
			}
			goto __finally37;
			__catch37_g_error:
			{
				GError* e = NULL;
				GError* _tmp123_ = NULL;
				const gchar* _tmp124_ = NULL;
#line 281 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				e = _inner_error_;
#line 281 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_inner_error_ = NULL;
#line 288 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp123_ = e;
#line 288 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp124_ = _tmp123_->message;
#line 288 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_warning ("libvirt-machine-properties.vala:288: %s", _tmp124_);
#line 281 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_g_error_free0 (e);
#line 3140 "libvirt-machine-properties.c"
			}
			__finally37:
#line 281 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 281 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				__g_list_free__g_object_unref0_0 (list);
#line 281 "/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 281 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_clear_error (&_inner_error_);
#line 281 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				return NULL;
#line 3153 "libvirt-machine-properties.c"
			}
#line 291 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			break;
#line 3157 "libvirt-machine-properties.c"
		}
		default:
#line 115 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		break;
#line 3162 "libvirt-machine-properties.c"
	}
#line 294 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	result = list;
#line 294 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 3168 "libvirt-machine-properties.c"
}


static Block43Data* block43_data_ref (Block43Data* _data43_) {
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data43_->_ref_count_);
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data43_;
#line 3177 "libvirt-machine-properties.c"
}


static void block43_data_unref (void * _userdata_) {
	Block43Data* _data43_;
	_data43_ = (Block43Data*) _userdata_;
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data43_->_ref_count_)) {
#line 3186 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data43_->self;
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data43_->button_label);
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data43_->label);
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data43_->disk_config);
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (self);
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block43Data, _data43_);
#line 3200 "libvirt-machine-properties.c"
	}
}


static Block44Data* block44_data_ref (Block44Data* _data44_) {
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_atomic_int_inc (&_data44_->_ref_count_);
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return _data44_;
#line 3210 "libvirt-machine-properties.c"
}


static void block44_data_unref (void * _userdata_) {
	Block44Data* _data44_;
	_data44_ = (Block44Data*) _userdata_;
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data44_->_ref_count_)) {
#line 3219 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data44_->_data43_->self;
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data44_->dialog);
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		block43_data_unref (_data44_->_data43_);
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data44_->_data43_ = NULL;
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block44Data, _data44_);
#line 3231 "libvirt-machine-properties.c"
	}
}


static void ___lambda134_ (Block44Data* _data44_, gint response) {
	Block43Data* _data43_;
	BoxesLibvirtMachineProperties* self;
	gint _tmp0_ = 0;
	GtkFileChooserDialog* _tmp33_ = NULL;
	GError * _inner_error_ = NULL;
#line 352 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data43_ = _data44_->_data43_;
#line 352 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data43_->self;
#line 353 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = response;
#line 353 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp0_ == ((gint) GTK_RESPONSE_ACCEPT)) {
#line 3250 "libvirt-machine-properties.c"
		gchar* path = NULL;
		GtkFileChooserDialog* _tmp1_ = NULL;
		gchar* _tmp2_ = NULL;
		GVirConfigDomainDisk* _tmp3_ = NULL;
		const gchar* _tmp4_ = NULL;
#line 354 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = _data44_->dialog;
#line 354 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = gtk_file_chooser_get_filename ((GtkFileChooser*) _tmp1_);
#line 354 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		path = _tmp2_;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = _data43_->disk_config;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = path;
#line 355 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_config_domain_disk_set_source (_tmp3_, _tmp4_);
#line 3268 "libvirt-machine-properties.c"
		{
			BoxesLibvirtMachine* _tmp5_ = NULL;
			GVirDomain* _tmp6_ = NULL;
			GVirDomain* _tmp7_ = NULL;
			GVirConfigDomainDisk* _tmp8_ = NULL;
			GtkLabel* _tmp9_ = NULL;
			const gchar* _tmp10_ = NULL;
			GtkLabel* _tmp11_ = NULL;
			const gchar* _tmp12_ = NULL;
			gchar* _tmp13_ = NULL;
			gchar* _tmp14_ = NULL;
#line 357 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp5_ = self->priv->machine;
#line 357 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp6_ = boxes_libvirt_machine_get_domain (_tmp5_);
#line 357 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp7_ = _tmp6_;
#line 357 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp8_ = _data43_->disk_config;
#line 357 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gvir_domain_update_device (_tmp7_, (GVirConfigDomainDevice*) _tmp8_, (guint) GVIR_DOMAIN_UPDATE_DEVICE_CURRENT, &_inner_error_);
#line 357 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3292 "libvirt-machine-properties.c"
				goto __catch38_g_error;
			}
#line 358 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp9_ = _data43_->button_label;
#line 358 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp10_ = _ ("Remove");
#line 358 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_label_set_text (_tmp9_, _tmp10_);
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp11_ = _data43_->label;
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp12_ = path;
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp13_ = boxes_get_utf8_basename (_tmp12_);
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp14_ = _tmp13_;
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_label_set_text (_tmp11_, _tmp14_);
#line 359 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_tmp14_);
#line 360 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data43_->empty = FALSE;
#line 3315 "libvirt-machine-properties.c"
		}
		goto __finally38;
		__catch38_g_error:
		{
			GError* e = NULL;
			gchar* path_basename = NULL;
			const gchar* _tmp15_ = NULL;
			gchar* _tmp16_ = NULL;
			gchar* msg = NULL;
			const gchar* _tmp17_ = NULL;
			gchar* _tmp18_ = NULL;
			BoxesLibvirtMachine* _tmp19_ = NULL;
			const gchar* _tmp20_ = NULL;
			const gchar* _tmp21_ = NULL;
			BoxesLibvirtMachine* _tmp22_ = NULL;
			const gchar* _tmp23_ = NULL;
			const gchar* _tmp24_ = NULL;
			gchar* _tmp25_ = NULL;
			gchar* _tmp26_ = NULL;
			const gchar* _tmp27_ = NULL;
			BoxesLibvirtMachine* _tmp28_ = NULL;
			const gchar* _tmp29_ = NULL;
			const gchar* _tmp30_ = NULL;
			GError* _tmp31_ = NULL;
			const gchar* _tmp32_ = NULL;
#line 356 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			e = _inner_error_;
#line 356 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_inner_error_ = NULL;
#line 362 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp15_ = path;
#line 362 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp16_ = boxes_get_utf8_basename (_tmp15_);
#line 362 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			path_basename = _tmp16_;
#line 365 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp17_ = _ ("Insertion of '%s' as a CD/DVD into '%s' failed");
#line 365 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp18_ = g_strdup (_tmp17_);
#line 365 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			msg = _tmp18_;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp19_ = self->priv->machine;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp20_ = msg;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp21_ = path_basename;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp22_ = self->priv->machine;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp23_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp22_);
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp24_ = _tmp23_;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp25_ = g_strdup_printf (_tmp20_, _tmp21_, _tmp24_);
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp26_ = _tmp25_;
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_emit_by_name ((BoxesMachine*) _tmp19_, "got-error", _tmp26_);
#line 366 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_tmp26_);
#line 367 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp27_ = path_basename;
#line 367 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp28_ = self->priv->machine;
#line 367 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp29_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp28_);
#line 367 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp30_ = _tmp29_;
#line 367 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp31_ = e;
#line 367 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp32_ = _tmp31_->message;
#line 367 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_debug ("libvirt-machine-properties.vala:367: Error inserting '%s' as CD into '" \
"%s': %s", _tmp27_, _tmp30_, _tmp32_);
#line 356 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (msg);
#line 356 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (path_basename);
#line 356 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_error_free0 (e);
#line 3397 "libvirt-machine-properties.c"
		}
		__finally38:
#line 356 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 356 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (path);
#line 356 "/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 356 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_clear_error (&_inner_error_);
#line 356 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 3410 "libvirt-machine-properties.c"
		}
#line 353 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (path);
#line 3414 "libvirt-machine-properties.c"
	}
#line 370 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp33_ = _data44_->dialog;
#line 370 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_widget_destroy ((GtkWidget*) _tmp33_);
#line 3420 "libvirt-machine-properties.c"
}


static void ____lambda134__gtk_dialog_response (GtkDialog* _sender, gint response_id, gpointer self) {
#line 352 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda134_ (self, response_id);
#line 3427 "libvirt-machine-properties.c"
}


static void __lambda133_ (Block43Data* _data43_) {
	BoxesLibvirtMachineProperties* self;
	gboolean _tmp0_ = FALSE;
	GError * _inner_error_ = NULL;
#line 340 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data43_->self;
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _data43_->empty;
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp0_) {
#line 3441 "libvirt-machine-properties.c"
		Block44Data* _data44_;
		const gchar* _tmp1_ = NULL;
		BoxesLibvirtMachine* _tmp2_ = NULL;
		BoxesAppWindow* _tmp3_ = NULL;
		BoxesAppWindow* _tmp4_ = NULL;
		const gchar* _tmp5_ = NULL;
		const gchar* _tmp6_ = NULL;
		GtkFileChooserDialog* _tmp7_ = NULL;
		GtkFileChooserDialog* _tmp8_ = NULL;
		GtkFileChooserDialog* _tmp9_ = NULL;
		GtkFileChooserDialog* _tmp10_ = NULL;
		GtkFileChooserDialog* _tmp11_ = NULL;
		GtkFileFilter* _tmp12_ = NULL;
		GtkFileFilter* _tmp13_ = NULL;
		GtkFileChooserDialog* _tmp14_ = NULL;
		GtkFileFilter* _tmp15_ = NULL;
		GtkFileFilter* _tmp16_ = NULL;
		GtkFileChooserDialog* _tmp17_ = NULL;
		GtkFileChooserDialog* _tmp18_ = NULL;
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data44_ = g_slice_new0 (Block44Data);
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data44_->_ref_count_ = 1;
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data44_->_data43_ = block43_data_ref (_data43_);
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = _ ("Select a device or ISO file");
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = self->priv->machine;
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = boxes_machine_get_window ((BoxesMachine*) _tmp2_);
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = _tmp3_;
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = _ ("_Cancel");
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _ ("_Open");
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = (GtkFileChooserDialog*) gtk_file_chooser_dialog_new (_tmp1_, (GtkWindow*) _tmp4_, GTK_FILE_CHOOSER_ACTION_OPEN, _tmp5_, GTK_RESPONSE_CANCEL, _tmp6_, GTK_RESPONSE_ACCEPT, NULL);
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_ref_sink (_tmp7_);
#line 342 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data44_->dialog = _tmp7_;
#line 347 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = _data44_->dialog;
#line 347 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_window_set_modal ((GtkWindow*) _tmp8_, TRUE);
#line 348 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = _data44_->dialog;
#line 348 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_file_chooser_set_show_hidden ((GtkFileChooser*) _tmp9_, FALSE);
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = _data44_->dialog;
#line 349 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_file_chooser_set_local_only ((GtkFileChooser*) _tmp10_, TRUE);
#line 350 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = _data44_->dialog;
#line 350 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = gtk_file_filter_new ();
#line 350 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_ref_sink (_tmp12_);
#line 350 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = _tmp12_;
#line 350 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_file_chooser_set_filter ((GtkFileChooser*) _tmp11_, _tmp13_);
#line 350 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_tmp13_);
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = _data44_->dialog;
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = gtk_file_chooser_get_filter ((GtkFileChooser*) _tmp14_);
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = _tmp15_;
#line 351 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_file_filter_add_mime_type (_tmp16_, "application/x-cd-image");
#line 352 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = _data44_->dialog;
#line 352 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_signal_connect_data ((GtkDialog*) _tmp17_, "response", (GCallback) ____lambda134__gtk_dialog_response, block44_data_ref (_data44_), (GClosureNotify) block44_data_unref, 0);
#line 372 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = _data44_->dialog;
#line 372 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_widget_show_all ((GtkWidget*) _tmp18_);
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		block44_data_unref (_data44_);
#line 341 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data44_ = NULL;
#line 3529 "libvirt-machine-properties.c"
	} else {
		GVirConfigDomainDisk* _tmp19_ = NULL;
#line 374 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _data43_->disk_config;
#line 374 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_config_domain_disk_set_source (_tmp19_, "");
#line 3536 "libvirt-machine-properties.c"
		{
			BoxesLibvirtMachine* _tmp20_ = NULL;
			GVirDomain* _tmp21_ = NULL;
			GVirDomain* _tmp22_ = NULL;
			GVirConfigDomainDisk* _tmp23_ = NULL;
			GtkLabel* _tmp24_ = NULL;
			const gchar* _tmp25_ = NULL;
			GtkLabel* _tmp26_ = NULL;
			const gchar* _tmp27_ = NULL;
			gchar* _tmp28_ = NULL;
			gchar* _tmp29_ = NULL;
#line 376 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp20_ = self->priv->machine;
#line 376 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp21_ = boxes_libvirt_machine_get_domain (_tmp20_);
#line 376 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp22_ = _tmp21_;
#line 376 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp23_ = _data43_->disk_config;
#line 376 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gvir_domain_update_device (_tmp22_, (GVirConfigDomainDevice*) _tmp23_, (guint) GVIR_DOMAIN_UPDATE_DEVICE_CURRENT, &_inner_error_);
#line 376 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 3560 "libvirt-machine-properties.c"
				goto __catch39_g_error;
			}
#line 377 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data43_->empty = TRUE;
#line 378 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp24_ = _data43_->button_label;
#line 378 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp25_ = _ ("Select");
#line 378 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_label_set_text (_tmp24_, _tmp25_);
#line 379 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp26_ = _data43_->label;
#line 379 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp27_ = _ ("empty");
#line 379 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp28_ = g_markup_printf_escaped ("<i>%s</i>", _tmp27_);
#line 379 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp29_ = _tmp28_;
#line 379 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_label_set_markup (_tmp26_, _tmp29_);
#line 379 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_tmp29_);
#line 3583 "libvirt-machine-properties.c"
		}
		goto __finally39;
		__catch39_g_error:
		{
			GError* e = NULL;
			BoxesLibvirtMachine* _tmp30_ = NULL;
			const gchar* _tmp31_ = NULL;
			BoxesLibvirtMachine* _tmp32_ = NULL;
			const gchar* _tmp33_ = NULL;
			const gchar* _tmp34_ = NULL;
			gchar* _tmp35_ = NULL;
			gchar* _tmp36_ = NULL;
			BoxesLibvirtMachine* _tmp37_ = NULL;
			const gchar* _tmp38_ = NULL;
			const gchar* _tmp39_ = NULL;
			GError* _tmp40_ = NULL;
			const gchar* _tmp41_ = NULL;
#line 375 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			e = _inner_error_;
#line 375 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_inner_error_ = NULL;
#line 382 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp30_ = self->priv->machine;
#line 382 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp31_ = _ ("Removal of CD/DVD from '%s' failed");
#line 382 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp32_ = self->priv->machine;
#line 382 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp33_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp32_);
#line 382 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp34_ = _tmp33_;
#line 382 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp35_ = g_strdup_printf (_tmp31_, _tmp34_);
#line 382 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp36_ = _tmp35_;
#line 382 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_emit_by_name ((BoxesMachine*) _tmp30_, "got-error", _tmp36_);
#line 382 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_tmp36_);
#line 383 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp37_ = self->priv->machine;
#line 383 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp38_ = boxes_collection_item_get_name ((BoxesCollectionItem*) _tmp37_);
#line 383 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp39_ = _tmp38_;
#line 383 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp40_ = e;
#line 383 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp41_ = _tmp40_->message;
#line 383 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_debug ("libvirt-machine-properties.vala:383: Error ejecting CD from '%s': %s", _tmp39_, _tmp41_);
#line 375 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_error_free0 (e);
#line 3637 "libvirt-machine-properties.c"
		}
		__finally39:
#line 375 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 375 "/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 375 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_clear_error (&_inner_error_);
#line 375 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 3648 "libvirt-machine-properties.c"
		}
	}
}


static void ___lambda133__gtk_button_clicked (GtkButton* _sender, gpointer self) {
#line 340 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	__lambda133_ (self);
#line 3657 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_add_cdrom_property (BoxesLibvirtMachineProperties* self, GVirConfigDomainDisk* disk_config, GList** list) {
	Block43Data* _data43_;
	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* _tmp51_ = NULL;
	GtkButton* button = NULL;
	GtkButton* _tmp52_ = NULL;
	GtkButton* _tmp53_ = NULL;
	GtkLabel* _tmp54_ = NULL;
	GtkGrid* _tmp55_ = NULL;
	GtkButton* _tmp56_ = NULL;
	gboolean _tmp57_ = FALSE;
	GtkButton* _tmp62_ = NULL;
	const gchar* _tmp63_ = NULL;
	GtkGrid* _tmp64_ = NULL;
	BoxesProperty* _tmp65_ = NULL;
	BoxesProperty* _tmp66_ = NULL;
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (disk_config != NULL);
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data43_ = g_slice_new0 (Block43Data);
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data43_->_ref_count_ = 1;
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data43_->self = g_object_ref (self);
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = disk_config;
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data43_->disk_config);
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data43_->disk_config = _tmp1_;
#line 298 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = (GtkGrid*) gtk_grid_new ();
#line 298 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp2_);
#line 298 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	grid = _tmp2_;
#line 299 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = grid;
#line 299 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_orientable_set_orientation ((GtkOrientable*) _tmp3_, GTK_ORIENTATION_HORIZONTAL);
#line 300 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = grid;
#line 300 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_grid_set_column_spacing (_tmp4_, (guint) 12);
#line 302 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = (GtkLabel*) gtk_label_new ("");
#line 302 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp5_);
#line 302 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data43_->label = _tmp5_;
#line 303 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = _data43_->label;
#line 303 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_label_set_ellipsize (_tmp6_, PANGO_ELLIPSIZE_END);
#line 304 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = grid;
#line 304 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp8_ = _data43_->label;
#line 304 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp7_, (GtkWidget*) _tmp8_);
#line 306 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = _data43_->disk_config;
#line 306 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = gvir_config_domain_disk_get_source (_tmp9_);
#line 306 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = g_strdup (_tmp10_);
#line 306 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	source = _tmp11_;
#line 307 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = source;
#line 307 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp13_ == NULL) {
#line 307 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = TRUE;
#line 3758 "libvirt-machine-properties.c"
	} else {
		const gchar* _tmp14_ = NULL;
#line 307 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = source;
#line 307 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = g_strcmp0 (_tmp14_, "") == 0;
#line 3765 "libvirt-machine-properties.c"
	}
#line 307 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data43_->empty = _tmp12_;
#line 309 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp15_ = _data43_->empty;
#line 309 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp15_) {
#line 3773 "libvirt-machine-properties.c"
		GtkLabel* _tmp16_ = NULL;
		const gchar* _tmp17_ = NULL;
		gchar* _tmp18_ = NULL;
		gchar* _tmp19_ = NULL;
#line 311 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = _data43_->label;
#line 311 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = _ ("empty");
#line 311 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = g_markup_printf_escaped ("<i>%s</i>", _tmp17_);
#line 311 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _tmp18_;
#line 311 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_markup (_tmp16_, _tmp19_);
#line 311 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp19_);
#line 3790 "libvirt-machine-properties.c"
	} else {
		GtkLabel* _tmp20_ = NULL;
		const gchar* _tmp21_ = NULL;
		gchar* _tmp22_ = NULL;
		gchar* _tmp23_ = NULL;
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = _data43_->label;
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = source;
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = boxes_get_utf8_basename (_tmp21_);
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = _tmp22_;
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text (_tmp20_, _tmp23_);
#line 313 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_tmp23_);
#line 3808 "libvirt-machine-properties.c"
	}
#line 315 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp24_ = self->priv->machine;
#line 315 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp25_ = boxes_libvirt_machine_get_vm_creator (_tmp24_);
#line 315 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp26_ = _tmp25_;
#line 315 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp26_ != NULL) {
#line 3818 "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;
		gboolean _tmp34_ = FALSE;
		BoxesInstallerMedia* _tmp35_ = NULL;
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = self->priv->machine;
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = boxes_libvirt_machine_get_vm_creator (_tmp27_);
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = _tmp28_;
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp30_ = boxes_vm_creator_get_install_media (_tmp29_);
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp31_ = _tmp30_;
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp32_ = _g_object_ref0 (_tmp31_);
#line 316 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		media = _tmp32_;
#line 318 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp35_ = media;
#line 318 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp35_, BOXES_TYPE_UNATTENDED_INSTALLER)) {
#line 3847 "libvirt-machine-properties.c"
			BoxesInstallerMedia* _tmp36_ = NULL;
			BoxesUnattendedSetupBox* _tmp37_ = NULL;
			gboolean _tmp38_ = FALSE;
			gboolean _tmp39_ = FALSE;
#line 318 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp36_ = media;
#line 318 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp37_ = (G_TYPE_CHECK_INSTANCE_TYPE (_tmp36_, BOXES_TYPE_UNATTENDED_INSTALLER) ? ((BoxesUnattendedInstaller*) _tmp36_) : NULL)->setup_box;
#line 318 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp38_ = boxes_unattended_setup_box_get_express_install (_tmp37_);
#line 318 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp39_ = _tmp38_;
#line 318 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp34_ = _tmp39_;
#line 3862 "libvirt-machine-properties.c"
		} else {
#line 318 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp34_ = FALSE;
#line 3866 "libvirt-machine-properties.c"
		}
#line 318 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp34_) {
#line 318 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp33_ = TRUE;
#line 3872 "libvirt-machine-properties.c"
		} else {
			gboolean _tmp40_ = FALSE;
			BoxesInstallerMedia* _tmp41_ = NULL;
			OsinfoMedia* _tmp42_ = NULL;
#line 319 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp41_ = media;
#line 319 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp42_ = _tmp41_->os_media;
#line 319 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp42_ != NULL) {
#line 3883 "libvirt-machine-properties.c"
				BoxesInstallerMedia* _tmp43_ = NULL;
				OsinfoMedia* _tmp44_ = NULL;
				gboolean _tmp45_ = FALSE;
				gboolean _tmp46_ = FALSE;
#line 319 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp43_ = media;
#line 319 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp44_ = _tmp43_->os_media;
#line 319 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				g_object_get (_tmp44_, "live", &_tmp45_, NULL);
#line 319 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp46_ = _tmp45_;
#line 319 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp40_ = _tmp46_;
#line 3898 "libvirt-machine-properties.c"
			} else {
#line 319 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp40_ = FALSE;
#line 3902 "libvirt-machine-properties.c"
			}
#line 319 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp33_ = _tmp40_;
#line 3906 "libvirt-machine-properties.c"
		}
#line 318 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp33_) {
#line 3910 "libvirt-machine-properties.c"
			const gchar* _tmp47_ = NULL;
			GtkGrid* _tmp48_ = NULL;
			BoxesProperty* _tmp49_ = NULL;
			BoxesProperty* _tmp50_ = NULL;
#line 321 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp47_ = _ ("CD/DVD");
#line 321 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp48_ = grid;
#line 321 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp49_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, _tmp47_, (GtkWidget*) _tmp48_, NULL);
#line 321 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp50_ = _tmp49_;
#line 321 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_tmp50_);
#line 323 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (media);
#line 323 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (source);
#line 323 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (grid);
#line 323 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			block43_data_unref (_data43_);
#line 323 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data43_ = NULL;
#line 323 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 3937 "libvirt-machine-properties.c"
		}
#line 315 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (media);
#line 3941 "libvirt-machine-properties.c"
	}
#line 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp51_ = (GtkLabel*) gtk_label_new ("");
#line 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp51_);
#line 327 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data43_->button_label = _tmp51_;
#line 328 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp52_ = (GtkButton*) gtk_button_new ();
#line 328 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_ref_sink (_tmp52_);
#line 328 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	button = _tmp52_;
#line 329 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp53_ = button;
#line 329 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp54_ = _data43_->button_label;
#line 329 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp53_, (GtkWidget*) _tmp54_);
#line 331 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp55_ = grid;
#line 331 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp56_ = button;
#line 331 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gtk_container_add ((GtkContainer*) _tmp55_, (GtkWidget*) _tmp56_);
#line 333 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp57_ = _data43_->empty;
#line 333 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp57_) {
#line 3971 "libvirt-machine-properties.c"
		GtkLabel* _tmp58_ = NULL;
		const gchar* _tmp59_ = NULL;
#line 335 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp58_ = _data43_->button_label;
#line 335 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp59_ = _ ("Select");
#line 335 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text (_tmp58_, _tmp59_);
#line 3980 "libvirt-machine-properties.c"
	} else {
		GtkLabel* _tmp60_ = NULL;
		const gchar* _tmp61_ = NULL;
#line 338 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp60_ = _data43_->button_label;
#line 338 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp61_ = _ ("Remove");
#line 338 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gtk_label_set_text (_tmp60_, _tmp61_);
#line 3990 "libvirt-machine-properties.c"
	}
#line 340 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp62_ = button;
#line 340 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_signal_connect_data (_tmp62_, "clicked", (GCallback) ___lambda133__gtk_button_clicked, block43_data_ref (_data43_), (GClosureNotify) block43_data_unref, 0);
#line 388 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp63_ = _ ("CD/DVD");
#line 388 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp64_ = grid;
#line 388 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp65_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, _tmp63_, (GtkWidget*) _tmp64_, NULL);
#line 388 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp66_ = _tmp65_;
#line 388 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_tmp66_);
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (button);
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (source);
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (grid);
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	block43_data_unref (_data43_);
#line 297 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data43_ = NULL;
#line 4016 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_update_ram_property (BoxesLibvirtMachineProperties* self, BoxesProperty* property) {
	GError * _inner_error_ = NULL;
#line 391 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 391 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (property != NULL);
#line 4026 "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 393 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = self->priv->machine;
#line 393 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = boxes_libvirt_machine_get_domain (_tmp0_);
#line 393 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = _tmp1_;
#line 393 "/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 393 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		config = _tmp3_;
#line 393 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 4059 "libvirt-machine-properties.c"
			goto __catch40_g_error;
		}
#line 396 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = self->priv->machine;
#line 396 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = boxes_libvirt_machine_get_domain_config (_tmp4_);
#line 396 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _tmp5_;
#line 396 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = gvir_config_domain_get_memory (_tmp6_);
#line 396 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = _tmp7_;
#line 396 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		actual = _tmp8_ / 1024;
#line 397 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = gvir_config_domain_get_memory (config);
#line 397 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = _tmp9_;
#line 397 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		pending = _tmp10_ / 1024;
#line 399 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = actual;
#line 399 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = pending;
#line 399 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_debug ("libvirt-machine-properties.vala:399: RAM actual: %llu, pending: %llu", _tmp11_, _tmp12_);
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = property;
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = actual;
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = pending;
#line 401 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_reboot_required (_tmp13_, (_tmp14_ - _tmp15_) > ((guint64) 1));
#line 392 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 4096 "libvirt-machine-properties.c"
	}
	goto __finally40;
	__catch40_g_error:
	{
		GError* e = NULL;
#line 392 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		e = _inner_error_;
#line 392 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 392 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (e);
#line 4108 "libvirt-machine-properties.c"
	}
	__finally40:
#line 392 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 392 "/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 392 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 392 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 4119 "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 4135 "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 4174 "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 4182 "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 410 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = _user_data_;
#line 410 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_source_object_ = source_object;
#line 410 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_res_ = _res_;
#line 410 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_mark_recommended_resources_co (_data_);
#line 4196 "libvirt-machine-properties.c"
}


static gboolean boxes_libvirt_machine_properties_mark_recommended_resources_co (BoxesLibvirtMachinePropertiesMarkRecommendedResourcesData* _data_) {
#line 406 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_data_->_state_) {
#line 406 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case 0:
#line 4205 "libvirt-machine-properties.c"
		goto _state_0;
#line 406 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case 1:
#line 4209 "libvirt-machine-properties.c"
		goto _state_1;
		default:
#line 406 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_assert_not_reached ();
#line 4214 "libvirt-machine-properties.c"
	}
	_state_0:
#line 407 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = NULL;
#line 407 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = _data_->ram_property;
#line 407 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp1_ == NULL) {
#line 407 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp2_ = NULL;
#line 407 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp2_ = _data_->storage_property;
#line 407 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp0_ = _data_->_tmp2_ == NULL;
#line 4229 "libvirt-machine-properties.c"
	} else {
#line 407 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp0_ = FALSE;
#line 4233 "libvirt-machine-properties.c"
	}
#line 407 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp0_) {
#line 408 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ == 0) {
#line 408 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4241 "libvirt-machine-properties.c"
		} else {
#line 408 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4245 "libvirt-machine-properties.c"
		}
#line 408 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 408 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 4251 "libvirt-machine-properties.c"
	}
#line 410 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = NULL;
#line 410 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = _data_->self->priv->machine;
#line 410 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_state_ = 1;
#line 410 "/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 410 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 4263 "libvirt-machine-properties.c"
	_state_1:
#line 410 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp4_ = NULL;
#line 410 "/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 410 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->os = _data_->_tmp4_;
#line 411 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp5_ = NULL;
#line 411 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp5_ = _data_->os;
#line 411 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp5_ == NULL) {
#line 412 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->os);
#line 412 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ == 0) {
#line 412 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4283 "libvirt-machine-properties.c"
		} else {
#line 412 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4287 "libvirt-machine-properties.c"
		}
#line 412 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 412 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 4293 "libvirt-machine-properties.c"
	}
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp6_ = NULL;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp6_ = _data_->self->priv->machine;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp7_ = NULL;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp7_ = boxes_libvirt_machine_get_domain_config (_data_->_tmp6_);
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp8_ = NULL;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp9_ = NULL;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp9_ = gvir_config_domain_get_os (_data_->_tmp8_);
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp10_ = NULL;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp11_ = NULL;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp11_ = gvir_config_domain_os_get_arch (_data_->_tmp10_);
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp12_ = NULL;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp12_ = g_strdup (_data_->_tmp11_);
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp13_ = NULL;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp13_ = _data_->_tmp12_;
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->_tmp10_);
#line 414 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->architecture = _data_->_tmp13_;
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp14_ = NULL;
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp14_ = _data_->os;
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp15_ = NULL;
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp15_ = _data_->architecture;
#line 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp16_ = NULL;
#line 415 "/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 415 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->resources = _data_->_tmp16_;
#line 416 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp17_ = NULL;
#line 416 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp17_ = _data_->resources;
#line 416 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp17_ != NULL) {
#line 417 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp18_ = NULL;
#line 417 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp18_ = _data_->ram_property;
#line 417 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_tmp18_ != NULL) {
#line 418 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp19_ = NULL;
#line 418 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp19_ = _data_->ram_property;
#line 418 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp20_ = NULL;
#line 418 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp20_ = _data_->resources;
#line 418 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp21_ = 0LL;
#line 418 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp21_ = osinfo_resources_get_ram (_data_->_tmp20_);
#line 418 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp22_ = 0LL;
#line 418 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp22_ = _data_->_tmp21_;
#line 418 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_size_property_set_recommended (_data_->_tmp19_, (guint64) _data_->_tmp22_);
#line 4375 "libvirt-machine-properties.c"
		}
#line 419 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp23_ = NULL;
#line 419 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp23_ = _data_->storage_property;
#line 419 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_tmp23_ != NULL) {
#line 420 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp24_ = NULL;
#line 420 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp24_ = _data_->storage_property;
#line 420 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp25_ = NULL;
#line 420 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp25_ = _data_->resources;
#line 420 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp26_ = 0LL;
#line 420 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp26_ = osinfo_resources_get_storage (_data_->_tmp25_);
#line 420 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp27_ = 0LL;
#line 420 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data_->_tmp27_ = _data_->_tmp26_;
#line 420 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_size_property_set_recommended (_data_->_tmp24_, (guint64) _data_->_tmp27_);
#line 4401 "libvirt-machine-properties.c"
		}
	}
#line 406 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->resources);
#line 406 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_data_->architecture);
#line 406 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->os);
#line 406 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_state_ == 0) {
#line 406 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4414 "libvirt-machine-properties.c"
	} else {
#line 406 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 4418 "libvirt-machine-properties.c"
	}
#line 406 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_unref (_data_->_async_result);
#line 406 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 4424 "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 4439 "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 4468 "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 4483 "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 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = _user_data_;
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_source_object_ = source_object;
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_res_ = _res_;
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_get_os_for_machine_co (_data_);
#line 4497 "libvirt-machine-properties.c"
}


static gboolean boxes_libvirt_machine_properties_get_os_for_machine_co (BoxesLibvirtMachinePropertiesGetOsForMachineData* _data_) {
#line 424 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_data_->_state_) {
#line 424 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case 0:
#line 4506 "libvirt-machine-properties.c"
		goto _state_0;
#line 424 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case 1:
#line 4510 "libvirt-machine-properties.c"
		goto _state_1;
		default:
#line 424 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_assert_not_reached ();
#line 4515 "libvirt-machine-properties.c"
	}
	_state_0:
#line 425 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp0_ = NULL;
#line 425 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp0_ = _data_->machine;
#line 425 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = NULL;
#line 425 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = boxes_libvirt_machine_get_domain_config (_data_->_tmp0_);
#line 425 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp2_ = NULL;
#line 425 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 425 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = NULL;
#line 425 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = boxes_vm_configurator_get_os_id (_data_->_tmp2_);
#line 425 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->os_id = _data_->_tmp3_;
#line 426 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp4_ = NULL;
#line 426 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp4_ = _data_->os_id;
#line 426 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_tmp4_ == NULL) {
#line 427 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->result = NULL;
#line 427 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_data_->os_id);
#line 427 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ == 0) {
#line 427 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4550 "libvirt-machine-properties.c"
		} else {
#line 427 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4554 "libvirt-machine-properties.c"
		}
#line 427 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 427 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 4560 "libvirt-machine-properties.c"
	}
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp5_ = NULL;
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp5_ = boxes_media_manager_get_instance ();
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp6_ = NULL;
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp6_ = _data_->_tmp5_;
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp7_ = NULL;
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp7_ = boxes_media_manager_get_os_db (_data_->_tmp6_);
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp8_ = NULL;
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp8_ = _data_->_tmp7_;
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp9_ = NULL;
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp9_ = _g_object_ref0 (_data_->_tmp8_);
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp10_ = NULL;
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp10_ = _data_->_tmp9_;
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->_tmp6_);
#line 429 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->os_db = _data_->_tmp10_;
#line 4590 "libvirt-machine-properties.c"
	{
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp12_ = NULL;
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp12_ = _data_->os_db;
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp13_ = NULL;
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp13_ = _data_->os_id;
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_state_ = 1;
#line 431 "/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 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 4606 "libvirt-machine-properties.c"
		_state_1:
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp14_ = NULL;
#line 431 "/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 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp11_ = _data_->_tmp14_;
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_data_->_inner_error_->domain == BOXES_OS_DATABASE_ERROR) {
#line 4618 "libvirt-machine-properties.c"
				goto __catch41_boxes_os_database_error;
			}
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_data_->os_db);
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_data_->os_id);
#line 431 "/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 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_clear_error (&_data_->_inner_error_);
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return FALSE;
#line 4631 "libvirt-machine-properties.c"
		}
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp15_ = NULL;
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp15_ = _data_->_tmp11_;
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp11_ = NULL;
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->result = _data_->_tmp15_;
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->_tmp11_);
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->os_db);
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_data_->os_id);
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ == 0) {
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4651 "libvirt-machine-properties.c"
		} else {
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4655 "libvirt-machine-properties.c"
		}
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 431 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 4661 "libvirt-machine-properties.c"
	}
	goto __finally41;
	__catch41_boxes_os_database_error:
	{
#line 430 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_error_ = _data_->_inner_error_;
#line 430 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_inner_error_ = NULL;
#line 433 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp16_ = NULL;
#line 433 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp16_ = _data_->os_id;
#line 433 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp17_ = NULL;
#line 433 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp17_ = _data_->_error_;
#line 433 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp18_ = NULL;
#line 433 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->_tmp18_ = _data_->_tmp17_->message;
#line 433 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:433: Failed to find OS with ID '%s': %" \
"s", _data_->_tmp16_, _data_->_tmp18_);
#line 434 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data_->result = NULL;
#line 434 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_data_->_error_);
#line 434 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->os_db);
#line 434 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (_data_->os_id);
#line 434 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ == 0) {
#line 434 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4696 "libvirt-machine-properties.c"
		} else {
#line 434 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 4700 "libvirt-machine-properties.c"
		}
#line 434 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 434 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 4706 "libvirt-machine-properties.c"
	}
	__finally41:
#line 430 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->os_db);
#line 430 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_data_->os_id);
#line 430 "/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 430 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_clear_error (&_data_->_inner_error_);
#line 430 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 424 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->os_db);
#line 424 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_data_->os_id);
#line 424 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_state_ == 0) {
#line 424 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 4727 "libvirt-machine-properties.c"
	} else {
#line 424 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 4731 "libvirt-machine-properties.c"
	}
#line 424 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_unref (_data_->_async_result);
#line 424 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 4737 "libvirt-machine-properties.c"
}


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


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


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


static void ___lambda126_ (Block45Data* _data45_) {
	BoxesLibvirtMachineProperties* self;
	BoxesLibvirtMachine* _tmp0_ = NULL;
	gboolean _tmp1_ = FALSE;
#line 456 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data45_->self;
#line 457 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 457 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_machine_is_on ((BoxesMachine*) _tmp0_);
#line 457 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (!_tmp1_) {
#line 4789 "libvirt-machine-properties.c"
		BoxesSizeProperty* _tmp2_ = NULL;
#line 458 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = _data45_->property;
#line 458 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_reboot_required ((BoxesProperty*) _tmp2_, FALSE);
#line 4795 "libvirt-machine-properties.c"
	}
}


static void ____lambda126__g_object_notify (GObject* _sender, GParamSpec* pspec, gpointer self) {
#line 456 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	___lambda126_ (self);
#line 4803 "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 438 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 4812 "libvirt-machine-properties.c"
	{
		Block45Data* _data45_;
		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;
		gboolean _tmp17_ = FALSE;
		gboolean _tmp18_ = FALSE;
		BoxesLibvirtMachine* _tmp19_ = NULL;
		GVirConfigDomain* _tmp20_ = NULL;
		GVirConfigDomain* _tmp21_ = NULL;
		gboolean _tmp22_ = FALSE;
		BoxesLibvirtMachine* _tmp34_ = NULL;
		BoxesSizeProperty* _tmp35_ = NULL;
		BoxesSizeProperty* _tmp36_ = NULL;
		BoxesSizeProperty* _tmp37_ = NULL;
#line 439 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data45_ = g_slice_new0 (Block45Data);
#line 439 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data45_->_ref_count_ = 1;
#line 439 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data45_->self = g_object_ref (self);
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = self->priv->machine;
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = boxes_libvirt_machine_get_connection (_tmp1_);
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = _tmp2_;
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = gvir_connection_get_node_info (_tmp3_, &_inner_error_);
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp4_;
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			block45_data_unref (_data45_);
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_data45_ = NULL;
#line 4865 "libvirt-machine-properties.c"
			goto __catch42_g_error;
		}
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = _tmp0_;
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = NULL;
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _tmp5_;
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = _tmp6_->memory;
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = _tmp7_;
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirNodeInfo_free0 (_tmp6_);
#line 440 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		max_ram = _tmp8_;
#line 442 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = _ ("Memory");
#line 442 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = self->priv->machine;
#line 442 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = boxes_libvirt_machine_get_domain_config (_tmp10_);
#line 442 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = _tmp11_;
#line 442 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = gvir_config_domain_get_memory (_tmp12_);
#line 442 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = _tmp13_;
#line 442 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = max_ram;
#line 442 "/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) (64 * OSINFO_MEBIBYTES), G_FORMAT_SIZE_IEC_UNITS);
#line 442 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data45_->property = _tmp16_;
#line 449 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = self->priv->machine;
#line 449 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = boxes_libvirt_machine_get_domain_config (_tmp19_);
#line 449 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = _tmp20_;
#line 449 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = boxes_vm_configurator_is_install_config (_tmp21_);
#line 449 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp22_) {
#line 449 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp18_ = TRUE;
#line 4912 "libvirt-machine-properties.c"
		} else {
			BoxesLibvirtMachine* _tmp23_ = NULL;
			GVirConfigDomain* _tmp24_ = NULL;
			GVirConfigDomain* _tmp25_ = NULL;
			gboolean _tmp26_ = FALSE;
#line 450 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp23_ = self->priv->machine;
#line 450 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp24_ = boxes_libvirt_machine_get_domain_config (_tmp23_);
#line 450 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp25_ = _tmp24_;
#line 450 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp26_ = boxes_vm_configurator_is_live_config (_tmp25_);
#line 450 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp18_ = _tmp26_;
#line 4928 "libvirt-machine-properties.c"
		}
#line 449 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp18_) {
#line 4932 "libvirt-machine-properties.c"
			BoxesLibvirtMachine* _tmp27_ = NULL;
			BoxesAppWindow* _tmp28_ = NULL;
			BoxesAppWindow* _tmp29_ = NULL;
			BoxesUIState _tmp30_ = 0;
			BoxesUIState _tmp31_ = 0;
#line 451 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp27_ = self->priv->machine;
#line 451 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp28_ = boxes_machine_get_window ((BoxesMachine*) _tmp27_);
#line 451 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp29_ = _tmp28_;
#line 451 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp30_ = boxes_ui_get_previous_ui_state ((BoxesUI*) _tmp29_);
#line 451 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp31_ = _tmp30_;
#line 451 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp17_ = _tmp31_ != BOXES_UI_STATE_WIZARD;
#line 4950 "libvirt-machine-properties.c"
		} else {
#line 449 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp17_ = FALSE;
#line 4954 "libvirt-machine-properties.c"
		}
#line 449 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp17_) {
#line 4958 "libvirt-machine-properties.c"
			BoxesSizeProperty* _tmp32_ = NULL;
#line 452 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp32_ = _data45_->property;
#line 452 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_property_set_sensitive ((BoxesProperty*) _tmp32_, FALSE);
#line 4964 "libvirt-machine-properties.c"
		} else {
			BoxesSizeProperty* _tmp33_ = NULL;
#line 454 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp33_ = _data45_->property;
#line 454 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_connect_object (_tmp33_, "changed", (GCallback) _boxes_libvirt_machine_properties_on_ram_changed_boxes_size_property_changed, self, 0);
#line 4971 "libvirt-machine-properties.c"
		}
#line 456 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp34_ = self->priv->machine;
#line 456 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_signal_connect_data ((GObject*) _tmp34_, "notify::state", (GCallback) ____lambda126__g_object_notify, block45_data_ref (_data45_), (GClosureNotify) block45_data_unref, 0);
#line 461 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp35_ = _data45_->property;
#line 461 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_properties_update_ram_property (self, (BoxesProperty*) _tmp35_);
#line 463 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp36_ = _data45_->property;
#line 463 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp37_ = _g_object_ref0 (_tmp36_);
#line 463 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = _tmp37_;
#line 463 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirNodeInfo_free0 (_tmp0_);
#line 463 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		block45_data_unref (_data45_);
#line 463 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data45_ = NULL;
#line 463 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 4995 "libvirt-machine-properties.c"
	}
	goto __finally42;
	__catch42_g_error:
	{
		GError* _error_ = NULL;
#line 439 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 439 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 465 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = NULL;
#line 465 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 465 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5011 "libvirt-machine-properties.c"
	}
	__finally42:
#line 439 "/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 439 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_clear_error (&_inner_error_);
#line 439 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return NULL;
#line 5020 "libvirt-machine-properties.c"
}


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


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


static gboolean __lambda125_ (Block46Data* _data46_) {
	BoxesLibvirtMachineProperties* self;
	gboolean result = FALSE;
	guint64 ram = 0ULL;
	guint64 _tmp0_ = 0ULL;
	BoxesProperty* _tmp24_ = NULL;
	GError * _inner_error_ = NULL;
#line 471 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data46_->self;
#line 472 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = _data46_->value;
#line 472 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	ram = ((_tmp0_ + OSINFO_KIBIBYTES) - 1) / OSINFO_KIBIBYTES;
#line 5066 "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 474 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = self->priv->machine;
#line 474 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = boxes_libvirt_machine_get_domain (_tmp1_);
#line 474 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = _tmp2_;
#line 474 "/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 474 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		config = _tmp4_;
#line 474 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 5095 "libvirt-machine-properties.c"
			goto __catch43_g_error;
		}
#line 475 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = config;
#line 475 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = ram;
#line 475 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_config_domain_set_memory (_tmp5_, _tmp6_);
#line 476 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = config;
#line 476 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = G_OBJECT_GET_CLASS ((GObject*) _tmp7_);
#line 476 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = g_object_class_find_property (_tmp8_, "current-memory");
#line 476 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp9_ != NULL) {
#line 5112 "libvirt-machine-properties.c"
			GVirConfigDomain* _tmp10_ = NULL;
			guint64 _tmp11_ = 0ULL;
#line 477 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp10_ = config;
#line 477 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp11_ = ram;
#line 477 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_set ((GObject*) _tmp10_, "current-memory", _tmp11_, NULL);
#line 5121 "libvirt-machine-properties.c"
		}
#line 478 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = self->priv->machine;
#line 478 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = boxes_libvirt_machine_get_domain (_tmp12_);
#line 478 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = _tmp13_;
#line 478 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = config;
#line 478 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_domain_set_config (_tmp14_, _tmp15_, &_inner_error_);
#line 478 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 478 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (config);
#line 5137 "libvirt-machine-properties.c"
			goto __catch43_g_error;
		}
#line 479 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = ram;
#line 479 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_debug ("libvirt-machine-properties.vala:479: RAM changed to %llu KiB", _tmp16_);
#line 473 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 5146 "libvirt-machine-properties.c"
	}
	goto __finally43;
	__catch43_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 473 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 473 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = self->priv->machine;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = boxes_libvirt_machine_get_domain (_tmp17_);
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _tmp18_;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = gvir_domain_get_name (_tmp19_);
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = ram;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = _error_;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = _tmp22_->message;
#line 481 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:481: Failed to change RAM of box '%s' " \
"to %llu KiB: %s", _tmp20_, _tmp21_, _tmp23_);
#line 473 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 5181 "libvirt-machine-properties.c"
	}
	__finally43:
#line 473 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 473 "/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 473 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 473 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 5192 "libvirt-machine-properties.c"
	}
#line 487 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp24_ = _data46_->property;
#line 487 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_update_ram_property (self, _tmp24_);
#line 489 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	result = FALSE;
#line 489 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 5202 "libvirt-machine-properties.c"
}


static gboolean ___lambda125__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda125_ (self);
#line 471 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 5211 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_on_ram_changed (BoxesLibvirtMachineProperties* self, BoxesProperty* property, guint64 value) {
	Block46Data* _data46_;
	BoxesProperty* _tmp0_ = NULL;
	BoxesProperty* _tmp1_ = NULL;
	guint64 _tmp2_ = 0ULL;
	BoxesProperty* _tmp3_ = NULL;
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (property != NULL);
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data46_ = g_slice_new0 (Block46Data);
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data46_->_ref_count_ = 1;
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data46_->self = g_object_ref (self);
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = property;
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = _g_object_ref0 (_tmp0_);
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data46_->property);
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data46_->property = _tmp1_;
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = value;
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data46_->value = _tmp2_;
#line 471 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _data46_->property;
#line 471 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_property_set_deferred_change (_tmp3_, ___lambda125__gsource_func, block46_data_ref (_data46_), block46_data_unref);
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	block46_data_unref (_data46_);
#line 469 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data46_ = NULL;
#line 5251 "libvirt-machine-properties.c"
}


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


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


static void _boxes_libvirt_machine_properties_on_storage_changed_boxes_size_property_changed (BoxesSizeProperty* _sender, guint64 value, gpointer self) {
#line 542 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_on_storage_changed ((BoxesLibvirtMachineProperties*) self, _sender, value);
#line 5272 "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 493 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 494 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = self->priv->machine;
#line 494 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = boxes_libvirt_machine_get_importing (_tmp1_);
#line 494 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = _tmp2_;
#line 494 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp3_) {
#line 494 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = TRUE;
#line 5295 "libvirt-machine-properties.c"
	} else {
		BoxesLibvirtMachine* _tmp4_ = NULL;
		GVirStorageVol* _tmp5_ = NULL;
		GVirStorageVol* _tmp6_ = NULL;
#line 494 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = self->priv->machine;
#line 494 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = boxes_libvirt_machine_get_storage_volume (_tmp4_);
#line 494 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _tmp5_;
#line 494 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _tmp6_ == NULL;
#line 5308 "libvirt-machine-properties.c"
	}
#line 494 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp0_) {
#line 495 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = NULL;
#line 495 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5316 "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* _tmp52_ = NULL;
		GVirStorageVolInfo* _tmp53_ = NULL;
		guint64 _tmp54_ = 0ULL;
		guint64 _tmp55_ = 0ULL;
		guint64 _tmp56_ = 0ULL;
		BoxesSizeProperty* _tmp57_ = NULL;
		BoxesSizeProperty* _tmp58_ = NULL;
		gboolean _tmp59_ = FALSE;
		gboolean _tmp60_ = FALSE;
		BoxesLibvirtMachine* _tmp61_ = NULL;
		GVirConfigDomain* _tmp62_ = NULL;
		GVirConfigDomain* _tmp63_ = NULL;
		gboolean _tmp64_ = FALSE;
#line 498 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = self->priv->machine;
#line 498 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = boxes_libvirt_machine_get_storage_volume (_tmp7_);
#line 498 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = _tmp8_;
#line 498 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = gvir_storage_vol_get_info (_tmp9_, &_inner_error_);
#line 498 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		volume_info = _tmp10_;
#line 498 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 5367 "libvirt-machine-properties.c"
			goto __catch44_g_error;
		}
#line 499 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = self->priv->machine;
#line 499 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = boxes_libvirt_machine_get_connection (_tmp11_);
#line 499 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = _tmp12_;
#line 499 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp14_ = boxes_get_storage_pool (_tmp13_);
#line 499 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		pool = _tmp14_;
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = pool;
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = gvir_storage_pool_get_info (_tmp15_, &_inner_error_);
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		pool_info = _tmp16_;
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (pool);
#line 500 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 5392 "libvirt-machine-properties.c"
			goto __catch44_g_error;
		}
#line 501 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = boxes_libvirt_machine_properties_get_minimum_disk_size (self, &_inner_error_);
#line 501 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		min_storage = _tmp17_;
#line 501 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 501 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStoragePoolInfo_free0 (pool_info);
#line 501 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (pool);
#line 501 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 5407 "libvirt-machine-properties.c"
			goto __catch44_g_error;
		}
#line 502 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = volume_info;
#line 502 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _tmp18_->allocation;
#line 502 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = pool_info;
#line 502 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = _tmp20_->available;
#line 502 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		max_storage = _tmp19_ + _tmp21_;
#line 504 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = min_storage;
#line 504 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = max_storage;
#line 504 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp22_ >= _tmp23_) {
#line 5426 "libvirt-machine-properties.c"
			const gchar* _tmp24_ = NULL;
			GVirStorageVolInfo* _tmp25_ = NULL;
			guint64 _tmp26_ = 0ULL;
			gchar* _tmp27_ = NULL;
			gchar* _tmp28_ = NULL;
			gchar* _tmp29_ = NULL;
			gchar* _tmp30_ = NULL;
			BoxesStringProperty* _tmp31_ = NULL;
			BoxesStringProperty* _tmp32_ = NULL;
			GtkInfoBar* infobar = NULL;
			GtkInfoBar* _tmp33_ = NULL;
			GtkInfoBar* _tmp34_ = NULL;
			GtkContainer* content = NULL;
			GtkInfoBar* _tmp35_ = NULL;
			GtkContainer* _tmp36_ = NULL;
			GtkContainer* _tmp37_ = NULL;
			GtkImage* image = NULL;
			GtkImage* _tmp38_ = NULL;
			GtkImage* _tmp39_ = NULL;
			GtkImage* _tmp40_ = NULL;
			GtkContainer* _tmp41_ = NULL;
			GtkImage* _tmp42_ = NULL;
			gchar* msg = NULL;
			const gchar* _tmp43_ = NULL;
			gchar* _tmp44_ = NULL;
			GtkLabel* label = NULL;
			const gchar* _tmp45_ = NULL;
			GtkLabel* _tmp46_ = NULL;
			GtkContainer* _tmp47_ = NULL;
			GtkLabel* _tmp48_ = NULL;
			GtkInfoBar* _tmp49_ = NULL;
			BoxesProperty* _tmp50_ = NULL;
			BoxesProperty* _tmp51_ = NULL;
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp24_ = _ ("Maximum Disk Size");
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp25_ = volume_info;
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp26_ = _tmp25_->capacity;
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp27_ = g_format_size_full (_tmp26_, G_FORMAT_SIZE_DEFAULT);
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp28_ = _tmp27_;
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp29_ = g_strdup_printf ("%s", _tmp28_);
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp30_ = _tmp29_;
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp31_ = boxes_iproperties_provider_add_string_property ((BoxesIPropertiesProvider*) self, list, _tmp24_, _tmp30_);
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp32_ = _tmp31_;
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_tmp32_);
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_tmp30_);
#line 505 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (_tmp28_);
#line 509 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp33_ = (GtkInfoBar*) gtk_info_bar_new ();
#line 509 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_ref_sink (_tmp33_);
#line 509 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			infobar = _tmp33_;
#line 510 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp34_ = infobar;
#line 510 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_info_bar_set_message_type (_tmp34_, GTK_MESSAGE_WARNING);
#line 512 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp35_ = infobar;
#line 512 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp36_ = gtk_info_bar_get_content_area (_tmp35_);
#line 512 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp37_ = _g_object_ref0 (_tmp36_);
#line 512 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			content = _tmp37_;
#line 514 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp38_ = (GtkImage*) gtk_image_new ();
#line 514 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_ref_sink (_tmp38_);
#line 514 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			image = _tmp38_;
#line 515 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp39_ = image;
#line 515 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_set (_tmp39_, "icon-name", "dialog-warning", NULL);
#line 516 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp40_ = image;
#line 516 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_set (_tmp40_, "icon-size", 3, NULL);
#line 517 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp41_ = content;
#line 517 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp42_ = image;
#line 517 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_container_add (_tmp41_, (GtkWidget*) _tmp42_);
#line 519 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp43_ = _ ("There is not enough space on your machine to increase the maximum disk" \
" size.");
#line 519 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp44_ = g_strdup (_tmp43_);
#line 519 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			msg = _tmp44_;
#line 520 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp45_ = msg;
#line 520 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp46_ = (GtkLabel*) gtk_label_new (_tmp45_);
#line 520 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_object_ref_sink (_tmp46_);
#line 520 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			label = _tmp46_;
#line 521 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp47_ = content;
#line 521 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp48_ = label;
#line 521 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			gtk_container_add (_tmp47_, (GtkWidget*) _tmp48_);
#line 523 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp49_ = infobar;
#line 523 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp50_ = boxes_iproperties_provider_add_property ((BoxesIPropertiesProvider*) self, list, NULL, (GtkWidget*) _tmp49_, NULL);
#line 523 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp51_ = _tmp50_;
#line 523 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (_tmp51_);
#line 524 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			result = NULL;
#line 524 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (label);
#line 524 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_free0 (msg);
#line 524 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (image);
#line 524 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (content);
#line 524 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (infobar);
#line 524 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStoragePoolInfo_free0 (pool_info);
#line 524 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (pool);
#line 524 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 524 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return result;
#line 5570 "libvirt-machine-properties.c"
		}
#line 527 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp52_ = _ ("Maximum Disk Size");
#line 527 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp53_ = volume_info;
#line 527 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp54_ = _tmp53_->capacity;
#line 527 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp55_ = min_storage;
#line 527 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp56_ = max_storage;
#line 527 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp57_ = boxes_iproperties_provider_add_size_property ((BoxesIPropertiesProvider*) self, list, _tmp52_, _tmp54_, _tmp55_, _tmp56_, 256 * BOXES_LIBVIRT_MACHINE_PROPERTIES_MEGABYTES, G_FORMAT_SIZE_DEFAULT);
#line 527 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		property = _tmp57_;
#line 536 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp58_ = property;
#line 536 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_property_set_defer_interval ((BoxesProperty*) _tmp58_, (guint) 0);
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp61_ = self->priv->machine;
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp62_ = boxes_libvirt_machine_get_domain_config (_tmp61_);
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp63_ = _tmp62_;
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp64_ = boxes_vm_configurator_is_install_config (_tmp63_);
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp64_) {
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp60_ = TRUE;
#line 5602 "libvirt-machine-properties.c"
		} else {
			BoxesLibvirtMachine* _tmp65_ = NULL;
			GVirConfigDomain* _tmp66_ = NULL;
			GVirConfigDomain* _tmp67_ = NULL;
			gboolean _tmp68_ = FALSE;
#line 538 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp65_ = self->priv->machine;
#line 538 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp66_ = boxes_libvirt_machine_get_domain_config (_tmp65_);
#line 538 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp67_ = _tmp66_;
#line 538 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp68_ = boxes_vm_configurator_is_live_config (_tmp67_);
#line 538 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp60_ = _tmp68_;
#line 5618 "libvirt-machine-properties.c"
		}
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp60_) {
#line 5622 "libvirt-machine-properties.c"
			BoxesLibvirtMachine* _tmp69_ = NULL;
			BoxesAppWindow* _tmp70_ = NULL;
			BoxesAppWindow* _tmp71_ = NULL;
			BoxesUIState _tmp72_ = 0;
			BoxesUIState _tmp73_ = 0;
#line 539 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp69_ = self->priv->machine;
#line 539 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp70_ = boxes_machine_get_window ((BoxesMachine*) _tmp69_);
#line 539 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp71_ = _tmp70_;
#line 539 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp72_ = boxes_ui_get_previous_ui_state ((BoxesUI*) _tmp71_);
#line 539 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp73_ = _tmp72_;
#line 539 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp59_ = _tmp73_ != BOXES_UI_STATE_WIZARD;
#line 5640 "libvirt-machine-properties.c"
		} else {
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp59_ = FALSE;
#line 5644 "libvirt-machine-properties.c"
		}
#line 537 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp59_) {
#line 5648 "libvirt-machine-properties.c"
			BoxesSizeProperty* _tmp74_ = NULL;
#line 540 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp74_ = property;
#line 540 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_property_set_sensitive ((BoxesProperty*) _tmp74_, FALSE);
#line 5654 "libvirt-machine-properties.c"
		} else {
			BoxesSizeProperty* _tmp75_ = NULL;
#line 542 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp75_ = property;
#line 542 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_signal_connect_object (_tmp75_, "changed", (GCallback) _boxes_libvirt_machine_properties_on_storage_changed_boxes_size_property_changed, self, 0);
#line 5661 "libvirt-machine-properties.c"
		}
#line 544 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = property;
#line 544 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStoragePoolInfo_free0 (pool_info);
#line 544 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (pool);
#line 544 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStorageVolInfo_free0 (volume_info);
#line 544 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5673 "libvirt-machine-properties.c"
	}
	goto __finally44;
	__catch44_g_error:
	{
		GError* _error_ = NULL;
		BoxesLibvirtMachine* _tmp76_ = NULL;
		GVirStorageVol* _tmp77_ = NULL;
		GVirStorageVol* _tmp78_ = NULL;
		const gchar* _tmp79_ = NULL;
		GError* _tmp80_ = NULL;
		const gchar* _tmp81_ = NULL;
#line 497 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 497 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 546 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp76_ = self->priv->machine;
#line 546 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp77_ = boxes_libvirt_machine_get_storage_volume (_tmp76_);
#line 546 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp78_ = _tmp77_;
#line 546 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp79_ = gvir_storage_vol_get_name (_tmp78_);
#line 546 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp80_ = _error_;
#line 546 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp81_ = _tmp80_->message;
#line 546 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:546: Failed to get information on volu" \
"me '%s' or it's parent pool: %s", _tmp79_, _tmp81_);
#line 549 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = NULL;
#line 549 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 549 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5709 "libvirt-machine-properties.c"
	}
	__finally44:
#line 497 "/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 497 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_clear_error (&_inner_error_);
#line 497 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return NULL;
#line 5718 "libvirt-machine-properties.c"
}


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


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


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


static void block48_data_unref (void * _userdata_) {
	Block48Data* _data48_;
	_data48_ = (Block48Data*) _userdata_;
#line 562 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (g_atomic_int_dec_and_test (&_data48_->_ref_count_)) {
#line 5763 "libvirt-machine-properties.c"
		BoxesLibvirtMachineProperties* self;
#line 562 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		self = _data48_->_data47_->self;
#line 562 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data48_->pool);
#line 562 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		block47_data_unref (_data48_->_data47_);
#line 562 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_data48_->_data47_ = NULL;
#line 562 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_slice_free (Block48Data, _data48_);
#line 5775 "libvirt-machine-properties.c"
	}
}


static void _____lambda128_ (Block48Data* _data48_, GObject* obj, GAsyncResult* res) {
	Block47Data* _data47_;
	BoxesLibvirtMachineProperties* self;
	GError * _inner_error_ = NULL;
#line 567 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data47_ = _data48_->_data47_;
#line 567 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data47_->self;
#line 567 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (res != NULL);
#line 5790 "libvirt-machine-properties.c"
	{
		GVirStoragePool* _tmp0_ = NULL;
		GAsyncResult* _tmp1_ = NULL;
		BoxesLibvirtMachine* _tmp2_ = NULL;
		guint64 _tmp3_ = 0ULL;
#line 569 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp0_ = _data48_->pool;
#line 569 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp1_ = res;
#line 569 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_storage_pool_refresh_finish (_tmp0_, _tmp1_, &_inner_error_);
#line 569 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 5804 "libvirt-machine-properties.c"
			goto __catch46_g_error;
		}
#line 570 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp2_ = self->priv->machine;
#line 570 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_update_domain_config (_tmp2_);
#line 571 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = _data48_->size;
#line 571 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_debug ("libvirt-machine-properties.vala:571: Storage changed to %llu KiB", _tmp3_);
#line 5815 "libvirt-machine-properties.c"
	}
	goto __finally46;
	__catch46_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 568 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 568 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_inner_error_ = NULL;
#line 573 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = self->priv->machine;
#line 573 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp5_ = boxes_libvirt_machine_get_storage_volume (_tmp4_);
#line 573 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp6_ = _tmp5_;
#line 573 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = gvir_storage_vol_get_name (_tmp6_);
#line 573 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = _data48_->size;
#line 573 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = _error_;
#line 573 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = _tmp9_->message;
#line 573 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:573: Failed to change storage capacity" \
" of volume '%s' to %llu KiB: %s", _tmp7_, _tmp8_, _tmp10_);
#line 568 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 5850 "libvirt-machine-properties.c"
	}
	__finally46:
#line 568 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 568 "/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 568 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 568 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 5861 "libvirt-machine-properties.c"
	}
}


static void ______lambda128__gasync_ready_callback (GObject* source_object, GAsyncResult* res, gpointer self) {
#line 567 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_____lambda128_ (self, source_object, res);
#line 567 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	block48_data_unref (self);
#line 5871 "libvirt-machine-properties.c"
}


static gboolean __lambda127_ (Block47Data* _data47_) {
	BoxesLibvirtMachineProperties* self;
	gboolean result = FALSE;
	BoxesLibvirtMachine* _tmp0_ = NULL;
	GVirStorageVol* _tmp1_ = NULL;
	GVirStorageVol* _tmp2_ = NULL;
	GError * _inner_error_ = NULL;
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	self = _data47_->self;
#line 556 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 556 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_get_storage_volume (_tmp0_);
#line 556 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 556 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp2_ == NULL) {
#line 557 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = FALSE;
#line 557 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 5896 "libvirt-machine-properties.c"
	}
	{
		BoxesLibvirtMachine* _tmp3_ = NULL;
		gboolean _tmp4_ = FALSE;
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp3_ = self->priv->machine;
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = boxes_machine_is_running ((BoxesMachine*) _tmp3_);
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_tmp4_) {
#line 5907 "libvirt-machine-properties.c"
			GVirDomainDisk* disk = NULL;
			BoxesLibvirtMachine* _tmp5_ = NULL;
			GVirDomainDisk* _tmp6_ = NULL;
			GVirDomainDisk* _tmp7_ = NULL;
#line 561 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp5_ = self->priv->machine;
#line 561 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp6_ = boxes_libvirt_machine_get_domain_disk (_tmp5_, &_inner_error_);
#line 561 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			disk = _tmp6_;
#line 561 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 5920 "libvirt-machine-properties.c"
				goto __catch45_g_error;
			}
#line 562 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp7_ = disk;
#line 562 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (_tmp7_ != NULL) {
#line 5927 "libvirt-machine-properties.c"
				Block48Data* _data48_;
				guint64 _tmp8_ = 0ULL;
				GVirDomainDisk* _tmp9_ = NULL;
				guint64 _tmp10_ = 0ULL;
				BoxesLibvirtMachine* _tmp11_ = NULL;
				GVirConnection* _tmp12_ = NULL;
				GVirConnection* _tmp13_ = NULL;
				GVirStoragePool* _tmp14_ = NULL;
				GVirStoragePool* _tmp15_ = NULL;
#line 562 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data48_ = g_slice_new0 (Block48Data);
#line 562 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data48_->_ref_count_ = 1;
#line 562 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data48_->_data47_ = block47_data_ref (_data47_);
#line 563 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp8_ = _data47_->value;
#line 563 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data48_->size = ((_tmp8_ + OSINFO_KIBIBYTES) - 1) / OSINFO_KIBIBYTES;
#line 564 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp9_ = disk;
#line 564 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp10_ = _data48_->size;
#line 564 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				gvir_domain_disk_resize (_tmp9_, _tmp10_, (guint) 0, &_inner_error_);
#line 564 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 564 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					block48_data_unref (_data48_);
#line 564 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_data48_ = NULL;
#line 564 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
					_g_object_unref0 (disk);
#line 5961 "libvirt-machine-properties.c"
					goto __catch45_g_error;
				}
#line 566 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp11_ = self->priv->machine;
#line 566 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp12_ = boxes_libvirt_machine_get_connection (_tmp11_);
#line 566 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp13_ = _tmp12_;
#line 566 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp14_ = boxes_get_storage_pool (_tmp13_);
#line 566 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data48_->pool = _tmp14_;
#line 567 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_tmp15_ = _data48_->pool;
#line 567 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				gvir_storage_pool_refresh_async (_tmp15_, NULL, ______lambda128__gasync_ready_callback, block48_data_ref (_data48_));
#line 562 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				block48_data_unref (_data48_);
#line 562 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
				_data48_ = NULL;
#line 5982 "libvirt-machine-properties.c"
			}
#line 560 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (disk);
#line 5986 "libvirt-machine-properties.c"
		} else {
			guint64 _tmp16_ = 0ULL;
			guint64 _tmp17_ = 0ULL;
#line 581 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp16_ = _data47_->value;
#line 581 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			boxes_libvirt_machine_properties_resize_storage_volume (self, _tmp16_, &_inner_error_);
#line 581 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 5996 "libvirt-machine-properties.c"
				goto __catch45_g_error;
			}
#line 582 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_tmp17_ = _data47_->value;
#line 582 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_debug ("libvirt-machine-properties.vala:582: Storage changed to %llu", _tmp17_);
#line 6003 "libvirt-machine-properties.c"
		}
	}
	goto __finally45;
	__catch45_g_error:
	{
		GError* _error_ = NULL;
		BoxesLibvirtMachine* _tmp18_ = NULL;
		GVirStorageVol* _tmp19_ = NULL;
		GVirStorageVol* _tmp20_ = NULL;
		const gchar* _tmp21_ = NULL;
		guint64 _tmp22_ = 0ULL;
		GError* _tmp23_ = NULL;
		const gchar* _tmp24_ = NULL;
#line 559 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_error_ = _inner_error_;
#line 559 "/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"
		_tmp18_ = self->priv->machine;
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = boxes_libvirt_machine_get_storage_volume (_tmp18_);
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = _tmp19_;
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = gvir_storage_vol_get_name (_tmp20_);
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = _data47_->value;
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = _error_;
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = _tmp23_->message;
#line 585 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_warning ("libvirt-machine-properties.vala:585: Failed to change storage capacity" \
" of volume '%s' to %llu: %s", _tmp21_, _tmp22_, _tmp24_);
#line 559 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_error_free0 (_error_);
#line 6039 "libvirt-machine-properties.c"
	}
	__finally45:
#line 559 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 559 "/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 559 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_clear_error (&_inner_error_);
#line 559 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 6050 "libvirt-machine-properties.c"
	}
#line 591 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	result = FALSE;
#line 591 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 6056 "libvirt-machine-properties.c"
}


static gboolean ___lambda127__gsource_func (gpointer self) {
	gboolean result;
	result = __lambda127_ (self);
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 6065 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_on_storage_changed (BoxesLibvirtMachineProperties* self, BoxesProperty* property, guint64 value) {
	Block47Data* _data47_;
	guint64 _tmp0_ = 0ULL;
	BoxesProperty* _tmp1_ = NULL;
#line 553 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 553 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (property != NULL);
#line 553 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data47_ = g_slice_new0 (Block47Data);
#line 553 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data47_->_ref_count_ = 1;
#line 553 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data47_->self = g_object_ref (self);
#line 553 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = value;
#line 553 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data47_->value = _tmp0_;
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = property;
#line 555 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_property_set_deferred_change (_tmp1_, ___lambda127__gsource_func, block47_data_ref (_data47_), block47_data_unref);
#line 553 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	block47_data_unref (_data47_);
#line 553 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data47_ = NULL;
#line 6095 "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 595 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, 0ULL);
#line 596 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 596 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_get_storage_volume (_tmp0_);
#line 596 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 596 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = gvir_storage_vol_get_info (_tmp2_, &_inner_error_);
#line 596 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	volume_info = _tmp3_;
#line 596 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 596 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_propagate_error (error, _inner_error_);
#line 596 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return 0ULL;
#line 6137 "libvirt-machine-properties.c"
	}
#line 597 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp4_ = self->priv->machine;
#line 597 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = boxes_libvirt_machine_get_vm_creator (_tmp4_);
#line 597 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = _tmp5_;
#line 597 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp6_ == NULL) {
#line 6147 "libvirt-machine-properties.c"
		GVirStorageVolInfo* _tmp7_ = NULL;
		guint64 _tmp8_ = 0ULL;
#line 600 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp7_ = volume_info;
#line 600 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = _tmp7_->capacity;
#line 600 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = _tmp8_;
#line 600 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStorageVolInfo_free0 (volume_info);
#line 600 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 6160 "libvirt-machine-properties.c"
	}
#line 603 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	minimum_resources = NULL;
#line 605 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp9_ = self->priv->machine;
#line 605 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp10_ = boxes_libvirt_machine_get_vm_creator (_tmp9_);
#line 605 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp11_ = _tmp10_;
#line 605 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp12_ = boxes_vm_creator_get_install_media (_tmp11_);
#line 605 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp13_ = _tmp12_;
#line 605 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp14_ = _tmp13_->os;
#line 605 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp14_ != NULL) {
#line 6178 "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 606 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = self->priv->machine;
#line 606 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = boxes_libvirt_machine_get_vm_creator (_tmp15_);
#line 606 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = _tmp16_;
#line 606 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = boxes_vm_creator_get_install_media (_tmp17_);
#line 606 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _tmp18_;
#line 606 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = _tmp19_->os;
#line 606 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = _g_object_ref0 (_tmp20_);
#line 606 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		os = _tmp21_;
#line 607 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = self->priv->machine;
#line 607 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = boxes_libvirt_machine_get_domain_config (_tmp22_);
#line 607 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = _tmp23_;
#line 607 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = gvir_config_domain_get_os (_tmp24_);
#line 607 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = _tmp25_;
#line 607 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = gvir_config_domain_os_get_arch (_tmp26_);
#line 607 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = g_strdup (_tmp27_);
#line 607 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = _tmp28_;
#line 607 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_tmp26_);
#line 607 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		architecture = _tmp29_;
#line 608 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp30_ = os;
#line 608 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp31_ = architecture;
#line 608 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp32_ = boxes_os_database_get_minimum_resources_for_os (_tmp30_, _tmp31_);
#line 608 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (minimum_resources);
#line 608 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		minimum_resources = _tmp32_;
#line 605 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_free0 (architecture);
#line 605 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (os);
#line 6249 "libvirt-machine-properties.c"
	}
#line 611 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp34_ = minimum_resources;
#line 611 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp34_ != NULL) {
#line 6255 "libvirt-machine-properties.c"
		OsinfoResources* _tmp35_ = NULL;
		gint64 _tmp36_ = 0LL;
		gint64 _tmp37_ = 0LL;
#line 611 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp35_ = minimum_resources;
#line 611 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp36_ = osinfo_resources_get_storage (_tmp35_);
#line 611 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp37_ = _tmp36_;
#line 611 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp33_ = _tmp37_ != ((gint64) (-1));
#line 6267 "libvirt-machine-properties.c"
	} else {
#line 611 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp33_ = FALSE;
#line 6271 "libvirt-machine-properties.c"
	}
#line 611 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp33_) {
#line 6275 "libvirt-machine-properties.c"
		OsinfoResources* _tmp38_ = NULL;
		gint64 _tmp39_ = 0LL;
		gint64 _tmp40_ = 0LL;
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp38_ = minimum_resources;
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp39_ = osinfo_resources_get_storage (_tmp38_);
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp40_ = _tmp39_;
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = (guint64) _tmp40_;
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (minimum_resources);
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStorageVolInfo_free0 (volume_info);
#line 612 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 6293 "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 614 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp41_ = boxes_os_database_get_default_resources ();
#line 614 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		default_resources = _tmp41_;
#line 615 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp42_ = volume_info;
#line 615 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp43_ = _tmp42_->capacity;
#line 615 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp44_ = default_resources;
#line 615 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp45_ = osinfo_resources_get_storage (_tmp44_);
#line 615 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp46_ = _tmp45_;
#line 615 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp47_ = MIN (_tmp43_, (guint64) _tmp46_);
#line 615 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		result = _tmp47_;
#line 615 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (default_resources);
#line 615 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (minimum_resources);
#line 615 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		__vala_GVirStorageVolInfo_free0 (volume_info);
#line 615 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return result;
#line 6329 "libvirt-machine-properties.c"
	}
#line 595 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (minimum_resources);
#line 595 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	__vala_GVirStorageVolInfo_free0 (volume_info);
#line 6335 "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 619 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_if_fail (self != NULL);
#line 620 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 620 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_get_storage_volume (_tmp0_);
#line 620 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 620 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = gvir_storage_vol_get_info (_tmp2_, &_inner_error_);
#line 620 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	volume_info = _tmp3_;
#line 620 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 620 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_propagate_error (error, _inner_error_);
#line 620 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return;
#line 6368 "libvirt-machine-properties.c"
	}
#line 621 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp5_ = self->priv->machine;
#line 621 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp6_ = boxes_libvirt_machine_get_vm_creator (_tmp5_);
#line 621 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp7_ = _tmp6_;
#line 621 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp7_ != NULL) {
#line 6378 "libvirt-machine-properties.c"
		guint64 _tmp8_ = 0ULL;
		GVirStorageVolInfo* _tmp9_ = NULL;
		guint64 _tmp10_ = 0ULL;
#line 621 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp8_ = size;
#line 621 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp9_ = volume_info;
#line 621 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp10_ = _tmp9_->capacity;
#line 621 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = _tmp8_ < _tmp10_;
#line 6390 "libvirt-machine-properties.c"
	} else {
#line 621 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp4_ = FALSE;
#line 6394 "libvirt-machine-properties.c"
	}
#line 621 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_tmp4_) {
#line 6398 "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 623 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp11_ = self->priv->machine;
#line 623 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp12_ = boxes_libvirt_machine_get_storage_volume (_tmp11_);
#line 623 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp13_ = _tmp12_;
#line 623 "/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 623 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		config = _tmp14_;
#line 623 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 623 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_propagate_error (error, _inner_error_);
#line 623 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 623 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 6437 "libvirt-machine-properties.c"
		}
#line 624 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp15_ = config;
#line 624 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp16_ = size;
#line 624 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_config_storage_vol_set_capacity (_tmp15_, _tmp16_);
#line 625 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp17_ = self->priv->machine;
#line 625 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp18_ = boxes_libvirt_machine_get_storage_volume (_tmp17_);
#line 625 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp19_ = _tmp18_;
#line 625 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		gvir_storage_vol_delete (_tmp19_, (guint) 0, &_inner_error_);
#line 625 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 625 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_propagate_error (error, _inner_error_);
#line 625 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (config);
#line 625 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 625 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 6463 "libvirt-machine-properties.c"
		}
#line 627 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp20_ = self->priv->machine;
#line 627 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp21_ = boxes_libvirt_machine_get_connection (_tmp20_);
#line 627 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp22_ = _tmp21_;
#line 627 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp23_ = boxes_get_storage_pool (_tmp22_);
#line 627 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		pool = _tmp23_;
#line 628 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp25_ = pool;
#line 628 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp26_ = config;
#line 628 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp27_ = gvir_storage_pool_create_volume (_tmp25_, _tmp26_, &_inner_error_);
#line 628 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp24_ = _tmp27_;
#line 628 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 628 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_propagate_error (error, _inner_error_);
#line 628 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (pool);
#line 628 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			_g_object_unref0 (config);
#line 628 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 628 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 6495 "libvirt-machine-properties.c"
		}
#line 628 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp28_ = self->priv->machine;
#line 628 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		boxes_libvirt_machine_set_storage_volume (_tmp28_, _tmp24_);
#line 621 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_tmp24_);
#line 621 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (pool);
#line 621 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (config);
#line 6507 "libvirt-machine-properties.c"
	} else {
		BoxesLibvirtMachine* _tmp29_ = NULL;
		GVirStorageVol* _tmp30_ = NULL;
		GVirStorageVol* _tmp31_ = NULL;
		guint64 _tmp32_ = 0ULL;
#line 630 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp29_ = self->priv->machine;
#line 630 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp30_ = boxes_libvirt_machine_get_storage_volume (_tmp29_);
#line 630 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp31_ = _tmp30_;
#line 630 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_tmp32_ = size;
#line 630 "/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 630 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (G_UNLIKELY (_inner_error_ != NULL)) {
#line 630 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_propagate_error (error, _inner_error_);
#line 630 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			__vala_GVirStorageVolInfo_free0 (volume_info);
#line 630 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			return;
#line 6531 "libvirt-machine-properties.c"
		}
	}
#line 619 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	__vala_GVirStorageVolInfo_free0 (volume_info);
#line 6536 "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 6549 "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 6578 "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 6588 "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 6592 "libvirt-machine-properties.c"
}


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


static gboolean boxes_libvirt_machine_properties_fetch_snapshots_co (BoxesLibvirtMachinePropertiesFetchSnapshotsData* _data_) {
#line 634 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_data_->_state_) {
#line 634 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case 0:
#line 6615 "libvirt-machine-properties.c"
		goto _state_0;
#line 634 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case 1:
#line 6619 "libvirt-machine-properties.c"
		goto _state_1;
		default:
#line 634 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_assert_not_reached ();
#line 6624 "libvirt-machine-properties.c"
	}
	_state_0:
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp0_ = NULL;
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp0_ = _data_->self->priv->machine;
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = NULL;
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = boxes_libvirt_machine_get_domain (_data_->_tmp0_);
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp2_ = NULL;
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp2_ = _data_->_tmp1_;
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = NULL;
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = _data_->cancellable;
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_state_ = 1;
#line 635 "/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 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 6649 "libvirt-machine-properties.c"
	_state_1:
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gvir_domain_fetch_snapshots_finish (_data_->_tmp2_, _data_->_res_, &_data_->_inner_error_);
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 635 "/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 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_error_free (_data_->_inner_error_);
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ == 0) {
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6663 "libvirt-machine-properties.c"
		} else {
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 6667 "libvirt-machine-properties.c"
		}
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 635 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 6673 "libvirt-machine-properties.c"
	}
#line 634 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_state_ == 0) {
#line 634 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6679 "libvirt-machine-properties.c"
	} else {
#line 634 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 6683 "libvirt-machine-properties.c"
	}
#line 634 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_unref (_data_->_async_result);
#line 634 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 6689 "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 638 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 639 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = self->priv->machine;
#line 639 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_libvirt_machine_get_domain (_tmp0_);
#line 639 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _tmp1_;
#line 639 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp3_ = gvir_domain_get_snapshots (_tmp2_);
#line 639 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	result = _tmp3_;
#line 639 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 6713 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_create_snapshot_data_free (gpointer _data) {
	BoxesLibvirtMachinePropertiesCreateSnapshotData* _data_;
	_data_ = _data;
#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 (BoxesLibvirtMachinePropertiesCreateSnapshotData, _data_);
#line 6726 "libvirt-machine-properties.c"
}


void boxes_libvirt_machine_properties_create_snapshot (BoxesLibvirtMachineProperties* self, GAsyncReadyCallback _callback_, gpointer _user_data_) {
	BoxesLibvirtMachinePropertiesCreateSnapshotData* _data_;
	BoxesLibvirtMachineProperties* _tmp0_ = NULL;
#line 5 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = g_slice_new0 (BoxesLibvirtMachinePropertiesCreateSnapshotData);
#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_create_snapshot);
#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_create_snapshot_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"
	boxes_libvirt_machine_properties_create_snapshot_co (_data_);
#line 6745 "libvirt-machine-properties.c"
}


GVirDomainSnapshot* boxes_libvirt_machine_properties_create_snapshot_finish (BoxesLibvirtMachineProperties* self, GAsyncResult* _res_, GError** error) {
	GVirDomainSnapshot* result;
	BoxesLibvirtMachinePropertiesCreateSnapshotData* _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 NULL;
#line 6756 "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 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 6766 "libvirt-machine-properties.c"
}


static void boxes_libvirt_machine_properties_create_snapshot_ready (GObject* source_object, GAsyncResult* _res_, gpointer _user_data_) {
	BoxesLibvirtMachinePropertiesCreateSnapshotData* _data_;
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_ = _user_data_;
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_source_object_ = source_object;
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_res_ = _res_;
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	boxes_libvirt_machine_properties_create_snapshot_co (_data_);
#line 6780 "libvirt-machine-properties.c"
}


static gboolean boxes_libvirt_machine_properties_create_snapshot_co (BoxesLibvirtMachinePropertiesCreateSnapshotData* _data_) {
#line 642 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	switch (_data_->_state_) {
#line 642 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case 0:
#line 6789 "libvirt-machine-properties.c"
		goto _state_0;
#line 642 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		case 1:
#line 6793 "libvirt-machine-properties.c"
		goto _state_1;
		default:
#line 642 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_assert_not_reached ();
#line 6798 "libvirt-machine-properties.c"
	}
	_state_0:
#line 643 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp0_ = NULL;
#line 643 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp0_ = gvir_config_domain_snapshot_new ();
#line 643 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->config = _data_->_tmp0_;
#line 644 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = NULL;
#line 644 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp1_ = g_date_time_new_now_local ();
#line 644 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->now = _data_->_tmp1_;
#line 645 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp2_ = NULL;
#line 645 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp2_ = g_date_time_format (_data_->now, "%y-%m-%e-%H-%M-%S");
#line 645 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = NULL;
#line 645 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp3_ = _data_->_tmp2_;
#line 645 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gvir_config_domain_snapshot_set_name (_data_->config, _data_->_tmp3_);
#line 645 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_data_->_tmp3_);
#line 646 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp4_ = NULL;
#line 646 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp4_ = g_date_time_format (_data_->now, "%x, %X");
#line 646 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp5_ = NULL;
#line 646 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp5_ = _data_->_tmp4_;
#line 646 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gvir_config_domain_snapshot_set_description (_data_->config, _data_->_tmp5_);
#line 646 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_free0 (_data_->_tmp5_);
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp7_ = NULL;
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp7_ = _data_->self->priv->machine;
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp8_ = NULL;
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp8_ = boxes_libvirt_machine_get_domain (_data_->_tmp7_);
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp9_ = NULL;
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp9_ = _data_->_tmp8_;
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_state_ = 1;
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	gvir_domain_create_snapshot_async (_data_->_tmp9_, _data_->config, (guint) 0, NULL, boxes_libvirt_machine_properties_create_snapshot_ready, _data_);
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 6855 "libvirt-machine-properties.c"
	_state_1:
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp10_ = NULL;
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp10_ = gvir_domain_create_snapshot_finish (_data_->_tmp9_, _data_->_res_, &_data_->_inner_error_);
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp6_ = _data_->_tmp10_;
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (G_UNLIKELY (_data_->_inner_error_ != NULL)) {
#line 648 "/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 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_error_free (_data_->_inner_error_);
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_date_time_unref0 (_data_->now);
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		_g_object_unref0 (_data_->config);
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		if (_data_->_state_ == 0) {
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6877 "libvirt-machine-properties.c"
		} else {
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
			g_simple_async_result_complete (_data_->_async_result);
#line 6881 "libvirt-machine-properties.c"
		}
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_object_unref (_data_->_async_result);
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		return FALSE;
#line 6887 "libvirt-machine-properties.c"
	}
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp11_ = NULL;
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp11_ = _data_->_tmp6_;
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->_tmp6_ = NULL;
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_data_->result = _data_->_tmp11_;
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->_tmp6_);
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_date_time_unref0 (_data_->now);
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->config);
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_state_ == 0) {
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6907 "libvirt-machine-properties.c"
	} else {
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 6911 "libvirt-machine-properties.c"
	}
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_unref (_data_->_async_result);
#line 648 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 642 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->_tmp6_);
#line 642 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_date_time_unref0 (_data_->now);
#line 642 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_g_object_unref0 (_data_->config);
#line 642 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	if (_data_->_state_ == 0) {
#line 642 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_simple_async_result_complete_in_idle (_data_->_async_result);
#line 6927 "libvirt-machine-properties.c"
	} else {
#line 642 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
		g_simple_async_result_complete (_data_->_async_result);
#line 6931 "libvirt-machine-properties.c"
	}
#line 642 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_object_unref (_data_->_async_result);
#line 642 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return FALSE;
#line 6937 "libvirt-machine-properties.c"
}


static BoxesSnapshotsProperty* boxes_libvirt_machine_properties_add_snapshots_property (BoxesLibvirtMachineProperties* self, GList** list, BoxesLibvirtMachine* machine) {
	BoxesSnapshotsProperty* result = NULL;
	BoxesSnapshotsProperty* property = NULL;
	BoxesLibvirtMachine* _tmp0_ = NULL;
	BoxesSnapshotsProperty* _tmp1_ = NULL;
	BoxesProperty* _tmp2_ = NULL;
#line 651 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (self != NULL, NULL);
#line 651 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	g_return_val_if_fail (machine != NULL, NULL);
#line 653 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp0_ = machine;
#line 653 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp1_ = boxes_snapshots_property_new (_tmp0_);
#line 653 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	property = _tmp1_;
#line 654 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	_tmp2_ = _g_object_ref0 ((BoxesProperty*) property);
#line 654 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	*list = g_list_append (*list, _tmp2_);
#line 656 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	result = property;
#line 656 "/home/zeenix/checkout/gnome/gnome-boxes/src/libvirt-machine-properties.vala"
	return result;
#line 6965 "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 6976 "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 6985 "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 6992 "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 7002 "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;
}



