qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>,
	"Gabriel L . Somlo" <somlo@cmu.edu>,
	Laszlo Ersek <lersek@redhat.com>,
	qemu-devel@nongnu.org, Gerd Hoffmann <kraxel@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v3] fw_cfg: RFQDN rules, documentation
Date: Thu, 14 Apr 2016 11:11:37 +0300	[thread overview]
Message-ID: <20160414111049-mutt-send-email-mst@redhat.com> (raw)
In-Reply-To: <87r3e8bpwk.fsf@dusky.pond.sub.org>

On Thu, Apr 14, 2016 at 09:39:07AM +0200, Markus Armbruster wrote:
> "Michael S. Tsirkin" <mst@redhat.com> writes:
> 
> > On Wed, Apr 13, 2016 at 06:19:55PM +0200, Markus Armbruster wrote:
> >> "Michael S. Tsirkin" <mst@redhat.com> writes:
> >> 
> >> > On Wed, Apr 13, 2016 at 10:59:35AM +0200, Markus Armbruster wrote:
> >> >> If we can protect them without
> >> >> complicating or breaking stuff, sure, why not.  But not at all costs.
> >> >
> >> > The stuff we break is precisely the stuff our warnings
> >> > say might break at any time. So since you believe users
> >> > might be relied on not to ignore warnings, it should be ok ...
> >> >
> >> > As for complicating things - about 5 lines of code are spent
> >> > on the unsupported/root/ hack. It *is* a hack but
> >> > contained enough not to worry me too much ...
> >> 
> >> I'm not worried about the implementation complexity at all.  It's the
> >> user interface complexity.  After this patch, we have a non-trivial
> >> mapping from -fw_cfg name to FW_CFG filename to explain.  Whereas now,
> >> -fw_cfg name *is* the FW_CFG path.
> >
> > Only for people who ignore the rules. Most people have a trivial
> > mapping.
> 
> Even when most usage falls into the simple cases, you still have to
> explain all cases.
> 
> An interface's complexity is a property of the interface, not of its
> usage.

I think I disagree. Make simple things simple and complex things
possible is the rule for a good interface.

-- 
MST

  reply	other threads:[~2016-04-14  8:11 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-08  7:54 [Qemu-devel] [PATCH v3] fw_cfg: RFQDN rules, documentation Michael S. Tsirkin
2016-04-08 16:31 ` Markus Armbruster
2016-04-09 17:05   ` Michael S. Tsirkin
2016-04-11 11:04     ` Markus Armbruster
2016-04-11 11:31       ` Michael S. Tsirkin
2016-04-13  8:59         ` Markus Armbruster
2016-04-13 11:00           ` Michael S. Tsirkin
2016-04-13 16:17             ` Markus Armbruster
2016-04-13 17:53               ` Michael S. Tsirkin
2016-04-14  7:36                 ` Markus Armbruster
2016-04-14  8:10                   ` Michael S. Tsirkin
2016-04-14 11:28                     ` Markus Armbruster
2016-04-13 14:44           ` Michael S. Tsirkin
2016-04-13 16:19             ` Markus Armbruster
2016-04-13 17:53               ` Michael S. Tsirkin
2016-04-14  7:39                 ` Markus Armbruster
2016-04-14  8:11                   ` Michael S. Tsirkin [this message]
2016-04-14 11:29                     ` Markus Armbruster
2016-04-14 12:13                       ` Michael S. Tsirkin
2016-04-15 15:39                         ` Markus Armbruster
2016-04-17  6:55                           ` Michael S. Tsirkin
2016-04-18 16:42           ` Markus Armbruster

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=20160414111049-mutt-send-email-mst@redhat.com \
    --to=mst@redhat.com \
    --cc=armbru@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=lersek@redhat.com \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=somlo@cmu.edu \
    /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).