search for: set_architecture

Displaying 14 results from an estimated 14 matches for "set_architecture".

2010 May 13
0
[PATCH matahari] Moving QMF functionality into a transport layer.
...pervisor) +{ + _hypervisor = hypervisor; +} - virConnectPtr lvconn = virConnectOpenReadOnly(NULL); +string +Host::get_hypervisor() const +{ + return _hypervisor; +} - if(lvconn) - { - hypervisor = string(virConnectGetType(lvconn)); - virConnectClose(lvconn); - } +void +Host::set_architecture(const string architecture) +{ + _architecture = architecture; +} - struct sysinfo sysinf; - if(!sysinfo(&sysinf)) - { - memory = sysinf.totalram / 1024L; - } - else - { - throw runtime_error("Unable to retrieve system memory details."); - } +string +Host::g...
2009 Oct 21
1
[PATCH node] Renamed files and menu items for node administration:
...mount_read, now = None): + logging.info("Update: read=%d" % amount_read) + +class DomainConfigScreen(ConfigScreen): + def __init__(self): + ConfigScreen.__init__(self, "Create A New Virtual Machine") + self.__config = DomainConfig() + self.__config.set_architecture(self.get_libvirt().get_default_architecture()) + self.__config.set_virt_type(self.get_libvirt().get_default_virt_type()) + + def get_elements_for_page(self, screen, page): + if page == VM_DETAILS_PAGE: return self.get_vm_details_page(screen) + elif page == LOCAL_INSTA...
2009 Oct 15
1
Patch depends on the previous storage patch...
This patch is dependant on the previously submitted storage admin patch.
2009 Aug 31
1
Fixed patch...
This version of the patch includes feedback from jboggs at redhat.com, including fixes to the BuildRequires and Requires in the spec file.
2009 Sep 11
1
Text-based node administration tool
This patch obsoletes any previous ones. This is an upstream candidate, so I'm looking for feedback so we can push this and start using it.
2009 Sep 14
1
Bugfixes...
This version fixes a few bugs found by jboggs. It also includes some logging facilities that need to be fleshed out more.
2009 Sep 16
1
Final push candidate for nodeadmin tool...
This patch is ready for pushing upstream.
2009 Sep 16
1
Replacement that includes utils.py
The previous patch was missing this file. Resending.
2009 Jul 31
2
RFC: This patch is not being submitted for ACK...
...just looking for some feedback on the direction I'm going. The code won't get all the way to the define stage since I'm in the middle of retrofitting it to use virtinst instead of a home spun node definition.
2009 Oct 12
1
First draft: node storage admin
This patch provides the ability to create a "dir" type storage pool, and to add and remove volumes for existing pools.
2009 Oct 27
1
Storage admin patches
This set of patches supercedes the previous set, and has been rebased with changes from upstream.
2009 Nov 09
1
Rebased again...
This patch again rebases on upstream and should apply on next as of right now.
2009 Oct 14
0
[PATCH node] Provides a new storage administration system to the managed node.
...DomainConfigScreen(ConfigScreen): def __init__(self): ConfigScreen.__init__(self, "Create A New Virtual Machine") @@ -212,7 +201,7 @@ class DomainConfigScreen(ConfigScreen): self.__config.set_virt_type(self.__virt_types.getSelection()) self.__config.set_architecture(self.__architectures.getSelection()) elif page == CONFIRM_PAGE: - self.get_libvirt().define_domain(self.__config, DummyMeter()) + self.get_libvirt().define_domain(self.__config, CreateMeter()) self.set_finished() def get_back_page(self, page): diff...
2009 Oct 21
1
Storage administration and refactoring of domain admin
This pair of patches provide a new storage admin interface. Then, on top of that, it refactors the domain administration pieces to now properly use storage pools and volumes when defining a new VM.