qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Anthony PERARD <anthony.perard@citrix.com>
To: "Marc-André Lureau" <marcandre.lureau@redhat.com>
Cc: qemu-devel@nongnu.org, pbonzini@redhat.com, f4bug@amsat.org,
	xen-devel@lists.xen.org
Subject: Re: [Qemu-devel] [PATCH v2 11/14] char: move CharBackend handling in char-fe unit
Date: Wed, 7 Jun 2017 17:41:16 +0100	[thread overview]
Message-ID: <20170607164115.GE1919@perard.uk.xensource.com> (raw)
In-Reply-To: <20170529084546.26500-12-marcandre.lureau@redhat.com>

On Mon, May 29, 2017 at 12:45:43PM +0400, Marc-André Lureau wrote:
> Move all the fronted struct and methods to a seperate unit. This avoids
> accidentally mixing backend and frontend calls, and helps with readibilty.
> 
> Make qemu_chr_replay() a macro shared by both char and char-fe.
> 
> Export qemu_chr_write(), and use a macro for qemu_chr_write_all()
> 
> (nb: yes, CharBackend is for char frontend :)

Hi Marc-André,

Following this patch, we are not able anymore to launch QEMU with
-monitor /dev/null.
> qemu-system-i386: -monitor /dev/null: 'tty' is not a valid char driver name

FYI, the full command line used:
/usr/lib/xen/bin/qemu-system-i386 -xen-domid 0 \
    -xen-attach -name dom0 -nographic -M xenpv -daemonize \
    -monitor /dev/null -serial /dev/null -parallel /dev/null \
    -nodefaults -no-user-config \
    -pidfile /var/run/xen/qemu-dom0.pid

Regards,

-- 
Anthony PERARD

  parent reply	other threads:[~2017-06-07 16:41 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-29  8:45 [Qemu-devel] [PATCH v2 00/14] chardev: misc clean-ups Marc-André Lureau
2017-05-29  8:45 ` [Qemu-devel] [PATCH v2 01/14] char-win: simplify win_chr_read() Marc-André Lureau
2017-05-29  8:45 ` [Qemu-devel] [PATCH v2 02/14] char-win: remove WinChardev.len Marc-André Lureau
2017-05-29  8:45 ` [Qemu-devel] [PATCH v2 03/14] char-win: rename win_chr_init/poll win_chr_serial_init/poll Marc-André Lureau
2017-05-29  8:45 ` [Qemu-devel] [PATCH v2 04/14] char-win: rename hcom->file Marc-André Lureau
2017-05-29  8:45 ` [Qemu-devel] [PATCH v2 05/14] char-win: close file handle except with console Marc-André Lureau
2017-05-29  8:45 ` [Qemu-devel] [PATCH v2 06/14] Remove/replace sysemu/char.h inclusion Marc-André Lureau
2017-05-29 20:57   ` Philippe Mathieu-Daudé
2017-05-29  8:45 ` [Qemu-devel] [PATCH v2 07/14] chardev: move headers to include/chardev Marc-André Lureau
2017-05-29 21:02   ` Philippe Mathieu-Daudé
2017-05-29  8:45 ` [Qemu-devel] [PATCH v2 08/14] chardev: serial & parallel declaration to own headers Marc-André Lureau
2017-05-29 21:03   ` Philippe Mathieu-Daudé
2017-05-29  8:45 ` [Qemu-devel] [PATCH v2 09/14] be-hci: use backend functions Marc-André Lureau
2017-05-29  8:45 ` [Qemu-devel] [PATCH v2 10/14] char: generalize qemu_chr_write_all() Marc-André Lureau
2017-05-29 21:09   ` Philippe Mathieu-Daudé
2017-05-30  5:59     ` Marc-André Lureau
2017-05-29  8:45 ` [Qemu-devel] [PATCH v2 11/14] char: move CharBackend handling in char-fe unit Marc-André Lureau
2017-05-29 21:25   ` Philippe Mathieu-Daudé
2017-06-07 16:41   ` Anthony PERARD [this message]
2017-06-07 17:20     ` Marc-André Lureau
2017-05-29  8:45 ` [Qemu-devel] [PATCH v2 12/14] char: rename functions that are not part of fe Marc-André Lureau
2017-05-29  8:45 ` [Qemu-devel] [PATCH v2 13/14] char: make chr_fe_deinit() optionaly delete backend Marc-André Lureau
2017-05-31 13:09   ` Marc-André Lureau
2017-06-02  4:52   ` Philippe Mathieu-Daudé
2017-05-29  8:45 ` [Qemu-devel] [PATCH v2 14/14] char: move char devices to chardev/ Marc-André Lureau
2017-05-29 21:31   ` Philippe Mathieu-Daudé
2017-05-30 15:18     ` Eric Blake
2017-05-31 14:01       ` Philippe Mathieu-Daudé
2017-05-29  9:23 ` [Qemu-devel] [PATCH v2 00/14] chardev: misc clean-ups no-reply
2017-05-30 12:09   ` [Qemu-devel] [PATCH] char: cast ARRAY_SIZE() as signed to silent warning on empty array Philippe Mathieu-Daudé
2017-05-30 12:38     ` Marc-André Lureau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170607164115.GE1919@perard.uk.xensource.com \
    --to=anthony.perard@citrix.com \
    --cc=f4bug@amsat.org \
    --cc=marcandre.lureau@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).