All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Programmingkid <programmingkidx@gmail.com>
Cc: Stefan Hajnoczi <stefanha@gmail.com>,
	qemu-devel qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH v4] block/raw-posix.c: Fixes raw_getlength() on Mac OS X so that it reports the correct length of a real CD
Date: Tue, 13 Jan 2015 18:05:50 +0000	[thread overview]
Message-ID: <CAFEAcA8k72jw1YeFWqdVey18Hu1GUr1UC2xOtXRLUhRZJA=6bA@mail.gmail.com> (raw)
In-Reply-To: <E1AB99D7-D5D9-4951-A20A-5D6F0B1288F1@gmail.com>

On 13 January 2015 at 17:52, Programmingkid <programmingkidx@gmail.com> wrote:
> What is the exact command you use with QEMU involving the /dev/null device?

"make check" includes some tests which do this...

> What value is suppose to be returned when using a device like /dev/null?

I think we should fall back to the "try lseek" code path, as we do on
Linux. (That will return zero, as it happens.)

-- PMM

      reply	other threads:[~2015-01-13 18:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-02 21:44 [Qemu-devel] [PATCH v4] block/raw-posix.c: Fixes raw_getlength() on Mac OS X so that it reports the correct length of a real CD Programmingkid
2015-01-06 14:02 ` Stefan Hajnoczi
2015-01-06 15:04   ` Programmingkid
2015-01-13 14:05     ` Stefan Hajnoczi
2015-01-13 17:52       ` Programmingkid
2015-01-13 18:05         ` Peter Maydell [this message]

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='CAFEAcA8k72jw1YeFWqdVey18Hu1GUr1UC2xOtXRLUhRZJA=6bA@mail.gmail.com' \
    --to=peter.maydell@linaro.org \
    --cc=programmingkidx@gmail.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stefanha@gmail.com \
    /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 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.