[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] [HVM] Save/restore: Reset PIT period correctly
# HG changeset patch # User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx> # Date 1170181827 0 # Node ID abd140fe5f6c16b3617e600bcf5952f1ef102a82 # Parent fa8843d22450f354e691118100b38aa8770613c3 [HVM] Save/restore: Reset PIT period correctly This fixes some time-speedup after restore in guests that use the PIT. Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx> --- xen/arch/x86/hvm/i8254.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -r fa8843d22450 -r abd140fe5f6c xen/arch/x86/hvm/i8254.c --- a/xen/arch/x86/hvm/i8254.c Tue Jan 30 17:50:39 2007 +0000 +++ b/xen/arch/x86/hvm/i8254.c Tue Jan 30 18:30:27 2007 +0000 @@ -439,7 +439,7 @@ static int pit_load(hvm_domain_context_t * we hope the guest can handle it. */ for(i = 0; i < 3; i++) { - pit_load_count(pit, i, pit_get_count(pit, i)); + pit_load_count(pit, i, pit->hw.channels[i].count); pit->pt[i].last_plt_gtime = hvm_get_guest_time(d->vcpu[0]); } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |