From: Blue Swirl Subject: Re: [PATCH 02/10] xen: backend driver core Date: Thu, 2 Apr 2009 19:49:27 +0300 Message-ID: References: <1238621982-18333-1-git-send-email-kraxel@redhat.com> <1238621982-18333-3-git-send-email-kraxel@redhat.com> Reply-To: qemu-devel@nongnu.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1238621982-18333-3-git-send-email-kraxel@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org To: qemu-devel@nongnu.org Cc: xen-devel@lists.xensource.com, Gerd Hoffmann List-Id: xen-devel@lists.xenproject.org On 4/2/09, Gerd Hoffmann wrote: > This patch adds infrastructure for xen backend drivers living in qemu, > so drivers don't need to implement common stuff on their own. It's > mostly xenbus management stuff: some functions to access xentore, > setting up xenstore watches, callbacks on device discovery and state > changes, handle event channel, ... > > Signed-off-by: Gerd Hoffmann > + * You should have received a copy of the GNU General Public License > + * along with this program; if not, write to the Free Software > + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA The address is now 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. > + if (NULL == node || 0 == strcmp(node, "online")) { > + if (-1 == xenstore_read_be_int(xendev, "online", &xendev->online)) This style is alien.