All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] xen_hvc: no reason to write the type key on xenstore
@ 2014-08-11 11:54 ` Stefano Stabellini
  0 siblings, 0 replies; 9+ messages in thread
From: Stefano Stabellini @ 2014-08-11 11:54 UTC (permalink / raw)
  To: xen-devel
  Cc: David Vrabel, Konrad Rzeszutek Wilk, Stefano Stabellini,
	Dave Scott, linux-kernel

The backend type is chosen by the toolstack. Regardless, the frontend
should not care, especially given that it cannot have an effect as the
backend is started before this code is run.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>

diff --git a/drivers/tty/hvc/hvc_xen.c b/drivers/tty/hvc/hvc_xen.c
index 636c9ba..b8491f5 100644
--- a/drivers/tty/hvc/hvc_xen.c
+++ b/drivers/tty/hvc/hvc_xen.c
@@ -402,9 +402,6 @@ static int xencons_connect_backend(struct xenbus_device *dev,
			    evtchn);
	if (ret)
		goto error_xenbus;
-	ret = xenbus_printf(xbt, dev->nodename, "type", "ioemu");
-	if (ret)
-		goto error_xenbus;
	ret = xenbus_transaction_end(xbt, 0);
	if (ret) {
		if (ret == -EAGAIN)

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-08-12  9:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-11 11:54 [PATCH] xen_hvc: no reason to write the type key on xenstore Stefano Stabellini
2014-08-11 11:54 ` Stefano Stabellini
2014-08-11 11:58 ` David Vrabel
2014-08-11 11:58   ` David Vrabel
2014-08-11 14:32 ` Stefano Stabellini
2014-08-11 14:32   ` Stefano Stabellini
2014-08-12  2:51   ` Greg KH
2014-08-12  9:06     ` Stefano Stabellini
2014-08-12  9:06       ` Stefano Stabellini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.