[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] question about hvm vhpet


  • To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
  • Date: Fri, 21 Nov 2008 14:59:26 +0800
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Delivery-date: Thu, 20 Nov 2008 22:59:59 -0800
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AclLprFoBYXkghTmT2C2Snc6ot98bg==
  • Thread-topic: question about hvm vhpet

I'm a bit confused whether vhpet is enabled by default or not.

Per 17017, changelog says vhpet disabled by default, but the code
conflicts as below:
@@ -231,6 +231,8 @@ int hvm_domain_initialise(struct domain
     spin_lock_init(&d->arch.hvm_domain.pbuf_lock);
     spin_lock_init(&d->arch.hvm_domain.irq_lock);
     spin_lock_init(&d->arch.hvm_domain.uc_lock);
+
+    d->arch.hvm_domain.params[HVM_PARAM_HPET_ENABLED] = 1;

Then if config file for hvm domain has no explicit 'hpet=0/1' option,
will xend issue a hypercall to set vhpet to '0' or the latter will be
left as '1'?

Thanks,
Kevin
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.