Skip to contentSkip to conversation

x86/HVM: drop now wrong ASSERT() from hvm_broadcast_ioreq()

PATCH In review Jan Beulich 3 participants 3 messages Jul 14, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/HVM: drop now wrong ASSERT() from hvm_broadcast_ioreq()

The function is now also being used for IOREQ_TYPE_TIMEOFFSET.

xen/arch/x86/hvm/hvm.c +0 -2
@@ -2717,8 +2717,6 @@ unsigned int hvm_broadcast_ioreq(ioreq
     struct hvm_ioreq_server *s;
     unsigned int failed = 0;
 
-    ASSERT(p->type == IOREQ_TYPE_INVALIDATE);
-
     list_for_each_entry ( s,
                           &d->arch.hvm_domain.ioreq_server.list,
                           list_entry )
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Jan Beulich

The function is now also being used for IOREQ_TYPE_TIMEOFFSET.

Quoted 15 lines
xen/arch/x86/hvm/hvm.c +0 -2
@@ -2717,8 +2717,6 @@ unsigned int hvm_broadcast_ioreq(ioreq
     struct hvm_ioreq_server *s;
     unsigned int failed = 0;
 
-    ASSERT(p->type == IOREQ_TYPE_INVALIDATE);
-
     list_for_each_entry ( s,
                           &d->arch.hvm_domain.ioreq_server.list,
                           list_entry )
Reviewed-by on v1 1/1
#2 lore raw
In reply to Jan Beulich
Quoted 11 lines

-----Original Message-----
From: Jan Beulich [mailto:[email protected]]
Sent: 14 July 2015 12:34
To: xen-devel
Cc: Andrew Cooper; Paul Durrant; Keir (Xen.org)
Subject: [PATCH] x86/HVM: drop now wrong ASSERT() from hvm_broadcast_ioreq()

The function is now also being used for IOREQ_TYPE_TIMEOFFSET.

Ouch. Yes.

Quoted 14 lines
xen/arch/x86/hvm/hvm.c +0 -2
@@ -2717,8 +2717,6 @@ unsigned int hvm_broadcast_ioreq(ioreq
     struct hvm_ioreq_server *s;
     unsigned int failed = 0;
 
-    ASSERT(p->type == IOREQ_TYPE_INVALIDATE);
-
     list_for_each_entry ( s,
                           &d->arch.hvm_domain.ioreq_server.list,
                           list_entry )