qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Paolo Bonzini <pbonzini@redhat.com>
To: Mathias Krause <mathias.krause@secunet.com>
Cc: qemu-devel@nongnu.org, Markus Armbruster <armbru@redhat.com>
Subject: [Qemu-devel] Re: [PATCH] CMOS file support
Date: Thu, 23 Sep 2010 14:12:47 +0200	[thread overview]
Message-ID: <4C9B443F.90209@redhat.com> (raw)
In-Reply-To: <4C9A5C61.7030508@secunet.com>

On 09/22/2010 09:43 PM, Mathias Krause wrote:
> I managed to add the nvram option but how do I get a reference to the
> drive back in the RTC code? Would I just loop with drive_get(IF_NONE, 0,
> i) until the id of the returned drive is "nvram"? Doesn't sound right
> but I've found no better solution due to the lack of an
> drive_get_by_id() function.

You can write one. :)  It's going to be very similar to 
drive_get_by_blockdev.

Paolo

  reply	other threads:[~2010-09-23 12:12 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-16 13:58 [Qemu-devel] [PATCH] CMOS file support Mathias Krause
2010-09-16 16:49 ` Stefan Weil
2010-09-17  6:42   ` Mathias Krause
2010-09-17 10:44     ` Kevin Wolf
2010-09-17 11:28       ` Mathias Krause
2010-09-24 12:40         ` Markus Armbruster
2010-09-17 10:58     ` Stefan Weil
2010-09-17 11:16       ` Mathias Krause
2010-09-16 17:20 ` Anthony Liguori
2010-09-17  6:50   ` Mathias Krause
2010-09-17 13:27     ` Anthony Liguori
2010-09-22 19:43       ` Mathias Krause
2010-09-23 12:12         ` Paolo Bonzini [this message]
2010-09-24 12:47         ` Markus Armbruster
2010-09-26 20:44           ` Mathias Krause
2010-10-11 13:25             ` Markus Armbruster
2010-09-24 12: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=4C9B443F.90209@redhat.com \
    --to=pbonzini@redhat.com \
    --cc=armbru@redhat.com \
    --cc=mathias.krause@secunet.com \
    --cc=qemu-devel@nongnu.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).