ia64/xen-unstable

changeset 7159:9d047fb99e38

Also send xenbus notifications using evtchn as handle. It's
always up-to-date as it's reinitialised for us by external
tools during save/restore and migration.
author kaf24@firebug.cl.cam.ac.uk
date Fri Sep 30 17:37:52 2005 +0100 (2005-09-30)
parents 78e1e94e4088
children d443f03f8be0
files linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_comms.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_comms.c	Fri Sep 30 17:34:01 2005 +0100
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_comms.c	Fri Sep 30 17:37:52 2005 +0100
     1.3 @@ -147,7 +147,7 @@ int xb_write(const void *data, unsigned 
     1.4  		data += avail;
     1.5  		len -= avail;
     1.6  		update_output_chunk(out, avail);
     1.7 -		notify_remote_via_irq(xenbus_irq);
     1.8 +		notify_remote_via_evtchn(xen_start_info->store_evtchn);
     1.9  	} while (len != 0);
    1.10  
    1.11  	return 0;
    1.12 @@ -192,7 +192,7 @@ int xb_read(void *data, unsigned len)
    1.13  		pr_debug("Finished read of %i bytes (%i to go)\n", avail, len);
    1.14  		/* If it was full, tell them we've taken some. */
    1.15  		if (was_full)
    1.16 -			notify_remote_via_irq(xenbus_irq);
    1.17 +			notify_remote_via_evtchn(xen_start_info->store_evtchn);
    1.18  	}
    1.19  
    1.20  	/* If we left something, wake watch thread to deal with it. */