Displaying 2 results from an estimated 2 matches for "memcpy_field".
2008 Nov 25
7
when timer go back in dom0 save and restore or migrate, PV domain hung
...&domctl);
+ if ( frc != 0 )
+ {
+ ERROR("Unable to set flag of restore.");
+ goto out;
+ }
if ( read_exact(io_fd, &p2m_size, sizeof(unsigned long)) )
{
@@ -1120,6 +1130,8 @@
/* restore saved vcpu_info and arch specific info */
MEMCPY_FIELD(new_shared_info, old_shared_info, vcpu_info);
+ MEMCPY_FIELD(new_shared_info, old_shared_info, wc_nsec);
+ MEMCPY_FIELD(new_shared_info, old_shared_info, wc_sec);
MEMCPY_FIELD(new_shared_info, old_shared_info, arch);
/* clear any pending events and the selector */
diff -r a5ed0dbc...
2008 Nov 27
1
Re: RE: Re: Re: when timer go back in dom0 save and restore ormigrate, PV domain hung
...+ }
if ( read_exact(io_fd, &p2m_size,
sizeof(unsigned long)) )
{
@@ -1120,6 +1130,8 @@
/* restore saved vcpu_info and arch specific info
*/
MEMCPY_FIELD(new_shared_info, old_shared_info,
vcpu_info);
+ MEMCPY_FIELD(new_shared_info,
old_shared_info, wc_nsec);
+ MEMCPY_FIELD(new_shared_info,
old_shared_info, wc_sec);
MEMCPY_FIELD(new_shared_i...