Suggested-by: Paul Durrant <paul.durr...@citrix.com>
Signed-off-by: Don Slutz <dsl...@verizon.com>
---
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@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to