All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hollis Blanchard <hollisb@us.ibm.com>
To: qemu-devel@nongnu.org
Cc: kvm-ppc@vger.kernel.org
Subject: Re: [Qemu-devel] [PATCH 6/6] IBM PowerPC 440EP Bamboo reference
Date: Thu, 11 Dec 2008 23:08:44 +0000	[thread overview]
Message-ID: <1229036924.26586.48.camel@localhost.localdomain> (raw)
In-Reply-To: <494188A2.10009@codemonkey.ws>

On Thu, 2008-12-11 at 15:39 -0600, Anthony Liguori wrote:
> Hollis Blanchard wrote:
> > +
> > +#define BINARY_DEVICE_TREE_FILE "bamboo.dtb"
> > +
> > +static void *bamboo_load_device_tree(void *addr,
> > +                                     uint32_t ramsize,
> > +                                     target_phys_addr_t initrd_base,
> > +                                     target_phys_addr_t initrd_size,
> > +                                     const char *kernel_cmdline)
> > +{
> > +    void *fdt = NULL;
> > +#ifdef HAVE_FDT
> >   
> 
> Is this at all usable without libfdt?  If not, just don't compile this 
> board in unless libfdt is present.

In practice, we've only tested with the -kernel option, which does
require libfdt.

However, in theory there is nothing that precludes running a firmware
(such as u-boot) inside the KVM guest. Jean-Christophe is working on
improving the ppc4xx device emulation so that becomes possible in the
future.

-- 
Hollis Blanchard
IBM Linux Technology Center


WARNING: multiple messages have this Message-ID (diff)
From: Hollis Blanchard <hollisb@us.ibm.com>
To: qemu-devel@nongnu.org
Cc: kvm-ppc@vger.kernel.org
Subject: Re: [Qemu-devel] [PATCH 6/6] IBM PowerPC 440EP Bamboo reference board emulation
Date: Thu, 11 Dec 2008 17:08:44 -0600	[thread overview]
Message-ID: <1229036924.26586.48.camel@localhost.localdomain> (raw)
In-Reply-To: <494188A2.10009@codemonkey.ws>

On Thu, 2008-12-11 at 15:39 -0600, Anthony Liguori wrote:
> Hollis Blanchard wrote:
> > +
> > +#define BINARY_DEVICE_TREE_FILE "bamboo.dtb"
> > +
> > +static void *bamboo_load_device_tree(void *addr,
> > +                                     uint32_t ramsize,
> > +                                     target_phys_addr_t initrd_base,
> > +                                     target_phys_addr_t initrd_size,
> > +                                     const char *kernel_cmdline)
> > +{
> > +    void *fdt = NULL;
> > +#ifdef HAVE_FDT
> >   
> 
> Is this at all usable without libfdt?  If not, just don't compile this 
> board in unless libfdt is present.

In practice, we've only tested with the -kernel option, which does
require libfdt.

However, in theory there is nothing that precludes running a firmware
(such as u-boot) inside the KVM guest. Jean-Christophe is working on
improving the ppc4xx device emulation so that becomes possible in the
future.

-- 
Hollis Blanchard
IBM Linux Technology Center

  reply	other threads:[~2008-12-11 23:08 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-11 20:52 PowerPC KVM support Hollis Blanchard
2008-12-11 20:52 ` [Qemu-devel] " Hollis Blanchard
2008-12-11 20:52 ` [PATCH 1/6] Include headers for types used in helper_regs.h Hollis Blanchard
2008-12-11 20:52   ` [Qemu-devel] " Hollis Blanchard
2008-12-11 20:52 ` [PATCH 2/6] kvm: sync vcpu state during initialization Hollis Blanchard
2008-12-11 20:52   ` [Qemu-devel] " Hollis Blanchard
2008-12-11 20:57   ` Hollis Blanchard
2008-12-11 20:57     ` [Qemu-devel] " Hollis Blanchard
2008-12-11 21:24   ` [Qemu-devel] " Anthony Liguori
2008-12-11 21:24     ` Anthony Liguori
2008-12-13  0:23     ` [Qemu-devel] [PATCH 2/6] kvm: sync vcpu state during Hollis Blanchard
2008-12-13  0:23       ` [Qemu-devel] [PATCH 2/6] kvm: sync vcpu state during initialization Hollis Blanchard
2008-12-13  0:24       ` [Qemu-devel] [PATCH 2/6] kvm: sync vcpu state during Hollis Blanchard
2008-12-13  0:24         ` [Qemu-devel] [PATCH 2/6] kvm: sync vcpu state during initialization Hollis Blanchard
2008-12-13 16:37         ` Anthony Liguori
2008-12-13 16:37           ` Anthony Liguori
2008-12-11 20:52 ` [PATCH 3/6] Enable KVM for ppcemb Hollis Blanchard
2008-12-11 20:52   ` [Qemu-devel] " Hollis Blanchard
2008-12-11 21:19   ` Blue Swirl
2008-12-12  0:04     ` Hollis Blanchard
2008-12-11 21:30   ` Anthony Liguori
2008-12-11 21:30     ` Anthony Liguori
2008-12-11 22:54     ` Hollis Blanchard
2008-12-11 22:54       ` Hollis Blanchard
2008-12-14  1:37       ` Hollis Blanchard
2008-12-14  1:37         ` Hollis Blanchard
2008-12-14  3:29         ` Anthony Liguori
2008-12-14  3:29           ` Anthony Liguori
2008-12-11 20:52 ` [PATCH 4/6] Implement device tree support needed for Bamboo emulation Hollis Blanchard
2008-12-11 20:52   ` [Qemu-devel] " Hollis Blanchard
2008-12-11 21:33   ` [Qemu-devel] [PATCH 4/6] Implement device tree support needed Anthony Liguori
2008-12-11 21:33     ` [Qemu-devel] [PATCH 4/6] Implement device tree support needed for Bamboo emulation Anthony Liguori
2008-12-11 20:52 ` [PATCH 5/6] PowerPC 440EP SoC emulation Hollis Blanchard
2008-12-11 20:52   ` [Qemu-devel] " Hollis Blanchard
2008-12-11 20:52 ` [PATCH 6/6] IBM PowerPC 440EP Bamboo reference board emulation Hollis Blanchard
2008-12-11 20:52   ` [Qemu-devel] " Hollis Blanchard
2008-12-11 21:25   ` Blue Swirl
2008-12-11 21:25     ` Blue Swirl
2008-12-11 21:39   ` [Qemu-devel] [PATCH 6/6] IBM PowerPC 440EP Bamboo reference board Anthony Liguori
2008-12-11 21:39     ` [Qemu-devel] [PATCH 6/6] IBM PowerPC 440EP Bamboo reference board emulation Anthony Liguori
2008-12-11 23:08     ` Hollis Blanchard [this message]
2008-12-11 23:08       ` Hollis Blanchard

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=1229036924.26586.48.camel@localhost.localdomain \
    --to=hollisb@us.ibm.com \
    --cc=kvm-ppc@vger.kernel.org \
    --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 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.