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

[Xen-changelog] [qemu-xen-4.0-testing] Revert "Wait for frontend state Connected before connecting the backend"



commit 0a940d892e90c820567cd7a2da7b1e990a3b40ca
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date:   Fri Jul 2 17:36:01 2010 +0100

    Revert "Wait for frontend state Connected before connecting the backend"
    
    As discussed on xen-devel.
    
    This reverts commit 805ed3b20492d2f4bb465bfda65cedd286e23209.
    (cherry picked from commit add968aaf68cb57257428f8cfadb209f2614a6d8)
---
 hw/xen_backend.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/hw/xen_backend.c b/hw/xen_backend.c
index 31ed7b0..76d07ec 100644
--- a/hw/xen_backend.c
+++ b/hw/xen_backend.c
@@ -411,7 +411,8 @@ static int xen_be_try_connect(struct XenDevice *xendev)
 {
     int rc = 0;
 
-    if (xendev->fe_state != XenbusStateConnected) {
+    if (xendev->fe_state != XenbusStateInitialised  &&
+       xendev->fe_state != XenbusStateConnected) {
        if (xendev->ops->flags & DEVOPS_FLAG_IGNORE_STATE) {
            xen_be_printf(xendev, 2, "frontend not ready, ignoring\n");
        } else {
--
generated by git-patchbot for /home/xen/git/qemu-xen-4.0-testing.git

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
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®.