aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/hvm/hpet.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-05-20 14:17:15 +0100
committerKeir Fraser <keir.fraser@citrix.com>2008-05-20 14:17:15 +0100
commit509529e99148111a429d9ec39d524e462b80332a (patch)
tree3296cf1ed09add9ff8031cd7a4c52b5a855936ff /xen/arch/x86/hvm/hpet.c
parentcc62c82dd2086625d42e0cacd2901ab686b23922 (diff)
downloadxen-509529e99148111a429d9ec39d524e462b80332a.tar.gz
xen-509529e99148111a429d9ec39d524e462b80332a.tar.bz2
xen-509529e99148111a429d9ec39d524e462b80332a.zip
x86 hvm: Xen interface and implementation for virtual S3
Signed-off-by: Tian Kevin <kevin.tian@intel.com> Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Ke Liping <liping.ke@intel.com> Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/hvm/hpet.c')
-rw-r--r--xen/arch/x86/hvm/hpet.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xen/arch/x86/hvm/hpet.c b/xen/arch/x86/hvm/hpet.c
index 03dfbf3bd8..3b9f84250a 100644
--- a/xen/arch/x86/hvm/hpet.c
+++ b/xen/arch/x86/hvm/hpet.c
@@ -591,3 +591,8 @@ void hpet_deinit(struct domain *d)
kill_timer(&h->timers[i]);
}
+void hpet_reset(struct domain *d)
+{
+ hpet_deinit(d);
+ hpet_init(d->vcpu[0]);
+}