[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] x86/HVM: IOREQ_TYPE_PCI_CONFIG shouldn't reach hvm_complete_assist_req()



commit e57ce42b225e0f9b8794ce2ee8ade15baf5992c2
Author:     Don Slutz <dslutz@xxxxxxxxxxx>
AuthorDate: Wed Feb 11 17:20:30 2015 +0100
Commit:     Jan Beulich <jbeulich@xxxxxxxx>
CommitDate: Wed Feb 11 17:20:30 2015 +0100

    x86/HVM: IOREQ_TYPE_PCI_CONFIG shouldn't reach hvm_complete_assist_req()
    
    Suggested-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
    Signed-off-by: Don Slutz <dslutz@xxxxxxxxxxx>
    Reviewed-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
---
 xen/arch/x86/hvm/hvm.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/xen/arch/x86/hvm/hvm.c b/xen/arch/x86/hvm/hvm.c
index 3051e2a..a917fe8 100644
--- a/xen/arch/x86/hvm/hvm.c
+++ b/xen/arch/x86/hvm/hvm.c
@@ -2659,6 +2659,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 )
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.