Message ID | 1467312377-3142-1-git-send-email-czuzu@bitdefender.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 06/30/16 21:46, Corneliu ZUZU wrote: > VM_EVENT_REASON_MOV_TO_MSR is X86-specific, surround w/ #ifdef accordingly. > > Signed-off-by: Corneliu ZUZU <czuzu@bitdefender.com> > --- > xen/common/vm_event.c | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Razvan Cojocaru <rcojocaru@bitdefender.com> Thanks, Razvan
diff --git a/xen/common/vm_event.c b/xen/common/vm_event.c index 17d2716..89a25d1 100644 --- a/xen/common/vm_event.c +++ b/xen/common/vm_event.c @@ -394,7 +394,9 @@ void vm_event_resume(struct domain *d, struct vm_event_domain *ved) */ switch ( rsp.reason ) { +#ifdef CONFIG_X86 case VM_EVENT_REASON_MOV_TO_MSR: +#endif case VM_EVENT_REASON_WRITE_CTRLREG: vm_event_register_write_resume(v, &rsp); break;
VM_EVENT_REASON_MOV_TO_MSR is X86-specific, surround w/ #ifdef accordingly. Signed-off-by: Corneliu ZUZU <czuzu@bitdefender.com> --- xen/common/vm_event.c | 2 ++ 1 file changed, 2 insertions(+)