[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v3 2/3] hvm_complete_assist_req: We should not be able to get here on IOREQ_TYPE_PCI_CONFIG
Suggested-by: Paul Durrant <paul.durrant@xxxxxxxxxx> Signed-off-by: Don Slutz <dslutz@xxxxxxxxxxx> --- v3: Move ASSERT() into switch and use ASSERT_UNREACHABLE(). xen/arch/x86/hvm/hvm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c index b03ee4e..1e722fc 100644 --- a/xen/arch/x86/hvm/hvm.c +++ b/xen/arch/x86/hvm/hvm.c @@ -2632,6 +2632,9 @@ static bool_t hvm_complete_assist_req(ioreq_t *p) { switch ( p->type ) { + case IOREQ_TYPE_PCI_CONFIG: + ASSERT_UNREACHABLE(); + break; case IOREQ_TYPE_COPY: case IOREQ_TYPE_PIO: if ( p->dir == IOREQ_READ ) -- 1.8.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |