Displaying 3 results from an estimated 3 matches for "hvm_set_param".
2008 May 14
3
Bug#481200: xend: Handle unspecified timer_mode domain platform parameter.
...nfo.py 2008-05-14 10:22:15.000000000 -0300
@@ -1650,9 +1650,10 @@
self._recreateDom()
# Set timer configration of domain
- if hvm:
+ timer_mode = self.info["platform"].get("timer_mode")
+ if hvm and timer_mode is not None:
xc.hvm_set_param(self.domid, HVM_PARAM_TIMER_MODE,
- long(self.info["platform"].get("timer_mode")))
+ long(timer_mode))
# Set maximum number of vcpus in domain
xc.domain_max_vcpus(self.domid, int(self.info['VCPUs_max']))
2007 Nov 28
0
[Xen-ia64-devel] [PATCH] Add guest_os_type domain config option
...505,11 @@ class HVMImageHandler(ImageHandler):
return args
def buildDomain(self):
+ # Encode OS type string into an integer w/ null padding
+ val = struct.unpack("Q",
+ self.guest_os_type[:8].lower().ljust(8, chr(0)))[0]
+ xc.hvm_set_param(self.vm.getDomid(), HVM_PARAM_GOS_TYPE, val)
+
store_evtchn = self.vm.getStorePort()
mem_mb = self.getRequiredInitialReservation() / 1024
diff -r c555a5f97982 tools/python/xen/xm/create.py
--- a/tools/python/xen/xm/create.py Wed Nov 28 13:36:56 2007 +0000
+++ b/tools/python/xen/...
2007 Oct 24
16
PATCH 0/10: Merge PV framebuffer & console into QEMU
The following series of 10 patches is a merge of the xenfb and xenconsoled
functionality into the qemu-dm code. The general approach taken is to have
qemu-dm provide two machine types - one for xen paravirt, the other for
fullyvirt. For compatability the later is the default. The goals overall
are to kill LibVNCServer, remove alot of code duplication and/or parallel
impls of the same concepts, and