All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: Hollis Blanchard <hollisb-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: KVM list <kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	kvm-ppc <kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: qemu-kvm.git now live
Date: Wed, 29 Apr 2009 08:29:22 +0000	[thread overview]
Message-ID: <49F80FE2.5030600@redhat.com> (raw)
In-Reply-To: <1240955602.24625.57.camel-EGjIuKC2qUdB0N6nvOmcJFaTQe2KTcn/@public.gmane.org>

Hollis Blanchard wrote:
> On Thu, 2009-04-23 at 18:40 +0300, Avi Kivity wrote:
>   
>> Still missing:
>> - I have not tested powerpc or ia64.  Patches welcome!
>>     
>
> This repository seems pretty messed up; I'm not even sure what you want
> from me. Some of the bigger problems:
>
>       * configure completely ignores --kerneldir and only uses
>         kvm/kernel headers instead.
>   

That's intentional.

>       * The headers in kvm/kernel/arch/foo seem to be the important
>         ones, but they have odd ifdefs at the top and I'm not sure how
>         they should be generated.
>   

They were generated by the old 'make sync' to remove CONFIG_ 
dependencies.  I guess a better way to generate them is a 'make 
headers-install' from the kernel tree and grab the results.


>       * "make -C kvm/kernel sync" doesn't even come close to working.
>   

One of the goals of qemu-kvm.git was to have a standalone repository so 
I could release kvm-kmod and qemu-kvm independently.

> There are a host of other issues and confusing issues, even with a fresh
> checkout. In general it seems like the mess that was kvm-userspace has
> been rearranged, and as a consequence is even worse than before.
>   

Can you detail specific grievances?  Please exclude temporary brokenness 
that was the result of the change.

> How am I supposed to create kvm/kernel/arch/powerpc/include/asm/*? Just
> cp from a Linux tree, or must I add funny ifdefs somehow?
>   

cp from a Linux tree won't compile.  The results of the old 'make sync' 
would do, but a 'make headers-install' is probably better.

> Here's one patch that I think will be needed:
>
>
> Set kvm_arch=powerpc for PPC builds.
>
> The name of the Linux arch directory is "powerpc", not "ppc".
>
> Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
>
> diff --git a/configure b/configure
> index fc0fb9b..257cf02 100755
> --- a/configure
> +++ b/configure
> @@ -816,6 +816,9 @@ case "$cpu" in
>      i386 | x86_64)
>         kvm_arch="x86"
>         ;;
> +    ppc)
> +       kvm_arch="powerpc"
> +       ;;
>      *)
>         kvm_arch="$cpu"
>         ;;
>
>
>   

Applied, thanks.

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.


WARNING: multiple messages have this Message-ID (diff)
From: Avi Kivity <avi-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: Hollis Blanchard <hollisb-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: KVM list <kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	kvm-ppc <kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: qemu-kvm.git now live
Date: Wed, 29 Apr 2009 11:29:22 +0300	[thread overview]
Message-ID: <49F80FE2.5030600@redhat.com> (raw)
In-Reply-To: <1240955602.24625.57.camel-EGjIuKC2qUdB0N6nvOmcJFaTQe2KTcn/@public.gmane.org>

Hollis Blanchard wrote:
> On Thu, 2009-04-23 at 18:40 +0300, Avi Kivity wrote:
>   
>> Still missing:
>> - I have not tested powerpc or ia64.  Patches welcome!
>>     
>
> This repository seems pretty messed up; I'm not even sure what you want
> from me. Some of the bigger problems:
>
>       * configure completely ignores --kerneldir and only uses
>         kvm/kernel headers instead.
>   

That's intentional.

>       * The headers in kvm/kernel/arch/foo seem to be the important
>         ones, but they have odd ifdefs at the top and I'm not sure how
>         they should be generated.
>   

They were generated by the old 'make sync' to remove CONFIG_ 
dependencies.  I guess a better way to generate them is a 'make 
headers-install' from the kernel tree and grab the results.


>       * "make -C kvm/kernel sync" doesn't even come close to working.
>   

One of the goals of qemu-kvm.git was to have a standalone repository so 
I could release kvm-kmod and qemu-kvm independently.

> There are a host of other issues and confusing issues, even with a fresh
> checkout. In general it seems like the mess that was kvm-userspace has
> been rearranged, and as a consequence is even worse than before.
>   

Can you detail specific grievances?  Please exclude temporary brokenness 
that was the result of the change.

> How am I supposed to create kvm/kernel/arch/powerpc/include/asm/*? Just
> cp from a Linux tree, or must I add funny ifdefs somehow?
>   

cp from a Linux tree won't compile.  The results of the old 'make sync' 
would do, but a 'make headers-install' is probably better.

> Here's one patch that I think will be needed:
>
>
> Set kvm_arch=powerpc for PPC builds.
>
> The name of the Linux arch directory is "powerpc", not "ppc".
>
> Signed-off-by: Hollis Blanchard <hollisb-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
>
> diff --git a/configure b/configure
> index fc0fb9b..257cf02 100755
> --- a/configure
> +++ b/configure
> @@ -816,6 +816,9 @@ case "$cpu" in
>      i386 | x86_64)
>         kvm_arch="x86"
>         ;;
> +    ppc)
> +       kvm_arch="powerpc"
> +       ;;
>      *)
>         kvm_arch="$cpu"
>         ;;
>
>
>   

Applied, thanks.

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.

--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2009-04-29  8:29 UTC|newest]

Thread overview: 108+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-23 15:40 qemu-kvm.git now live Avi Kivity
2009-04-23 15:40 ` Avi Kivity
2009-04-23 15:40 ` Avi Kivity
2009-04-23 17:33 ` walt
2009-04-23 17:33   ` walt
2009-04-23 17:42 ` Cam Macdonell
2009-04-24 18:14   ` walt
2009-04-25  9:25     ` [PATCH] qemu-kvm: build system Add link to qemu Jan Kiszka
2009-04-26 10:33       ` Avi Kivity
2009-04-26 11:20         ` Jan Kiszka
2009-04-26 11:39           ` Avi Kivity
2009-04-26 12:24             ` Jan Kiszka
2009-04-26 12:33               ` Avi Kivity
2009-04-26 12:37                 ` Jan Kiszka
2009-04-26 12:46                   ` Avi Kivity
2009-04-26 11:34         ` Christoph Hellwig
2009-05-03  9:16       ` Avi Kivity
2009-05-04 21:01         ` Jan Kiszka
2009-04-26  9:20   ` qemu-kvm.git now live Avi Kivity
2009-04-27  1:00     ` Cameron Macdonell
2009-04-27  6:28       ` Avi Kivity
2009-04-24  2:49 ` Liu Yu-B13201
2009-04-24  2:49   ` Liu Yu-B13201
2009-04-24 10:16   ` Andreas Winkelbauer
     [not found]   ` <0A1FE637C2C7E148B9573BB60CC630E5210156-bKEhWGtIRUJ4Lp7cDGe+DVjVikpgYyvb5NbjCUgZEJk@public.gmane.org>
2009-04-26  9:22     ` Avi Kivity
2009-04-26  9:22       ` Avi Kivity
     [not found] ` <49F08BD0.6000706-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-04-28 21:53   ` Hollis Blanchard
2009-04-28 21:53     ` Hollis Blanchard
     [not found]     ` <1240955602.24625.57.camel-EGjIuKC2qUdB0N6nvOmcJFaTQe2KTcn/@public.gmane.org>
2009-04-28 22:20       ` Anthony Liguori
2009-04-28 22:20         ` Anthony Liguori
2009-04-28 22:24         ` Glauber Costa
2009-04-28 22:24           ` Glauber Costa
     [not found]           ` <5d6222a80904281524v5eb5b163pd21e7d6643cbdbc6-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-04-28 22:28             ` Anthony Liguori
2009-04-28 22:28               ` Anthony Liguori
2009-04-28 22:34               ` Hollis Blanchard
2009-04-28 22:34                 ` Hollis Blanchard
     [not found]         ` <49F78134.30904-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2009-04-28 22:33           ` Hollis Blanchard
2009-04-28 22:33             ` Hollis Blanchard
     [not found]             ` <1240957999.24625.60.camel-EGjIuKC2qUdB0N6nvOmcJFaTQe2KTcn/@public.gmane.org>
2009-04-29  8:31               ` Avi Kivity
2009-04-29  8:31                 ` Avi Kivity
     [not found]                 ` <49F81054.4010102-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-05-01 21:51                   ` Hollis Blanchard
2009-05-01 21:51                     ` Hollis Blanchard
     [not found]                     ` <1241214678.32624.176.camel-EGjIuKC2qUdB0N6nvOmcJFaTQe2KTcn/@public.gmane.org>
2009-05-02  7:52                       ` Avi Kivity
2009-05-02  7:52                         ` Avi Kivity
     [not found]                         ` <49FBFBC4.10905-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-05-04 21:35                           ` Hollis Blanchard
2009-05-04 21:35                             ` Hollis Blanchard
2009-04-29  8:29       ` Avi Kivity [this message]
2009-04-29  8:29         ` Avi Kivity
     [not found]         ` <49F80FE2.5030600-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-05-01 21:23           ` Hollis Blanchard
2009-05-01 21:23             ` Hollis Blanchard
     [not found]             ` <1241213025.32624.167.camel-EGjIuKC2qUdB0N6nvOmcJFaTQe2KTcn/@public.gmane.org>
2009-05-01 22:55               ` Anthony Liguori
2009-05-01 22:55                 ` Anthony Liguori
     [not found]                 ` <49FB7DF4.60201-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2009-05-02  7:42                   ` Avi Kivity
2009-05-02  7:42                     ` Avi Kivity
2009-05-02  7:54               ` Avi Kivity
2009-05-02  7:54                 ` Avi Kivity
2009-05-02  7:58               ` Avi Kivity
2009-05-02  7:58                 ` Avi Kivity
2009-05-02 14:50               ` Muli Ben-Yehuda
2009-05-02 14:50                 ` Muli Ben-Yehuda
2009-04-29  8:49 ` Jan Kiszka
2009-04-29  8:49   ` Jan Kiszka
2009-04-29  8:49   ` Jan Kiszka
2009-04-29 10:42 ` Avi Kivity
2009-04-29 10:42   ` Avi Kivity
2009-04-29 10:42   ` Avi Kivity
2009-04-29 10:55 ` Jan Kiszka
2009-04-29 10:55   ` Jan Kiszka
2009-04-29 10:55   ` Jan Kiszka
2009-04-29 11:12 ` Avi Kivity
2009-04-29 11:12   ` Avi Kivity
2009-04-29 11:12   ` Avi Kivity
2009-04-29 11:31 ` Jan Kiszka
2009-04-29 11:31   ` Jan Kiszka
2009-04-29 11:31   ` Jan Kiszka
2009-04-29 14:40 ` Avi Kivity
2009-04-29 14:40   ` Avi Kivity
2009-04-29 14:40   ` Avi Kivity
2009-04-29 15:42 ` Jan Kiszka
2009-04-29 15:42   ` Jan Kiszka
2009-04-29 15:42   ` Jan Kiszka
2009-04-30  9:12 ` Avi Kivity
2009-04-30  9:12   ` Avi Kivity
2009-04-30  9:12   ` Avi Kivity
2009-04-30  9:29 ` Jan Kiszka
2009-04-30  9:29   ` Jan Kiszka
2009-04-30  9:29   ` Jan Kiszka
2009-04-30 10:54 ` Avi Kivity
2009-04-30 10:54   ` Avi Kivity
2009-04-30 10:54   ` Avi Kivity
2009-04-30 15:32 ` Jan Kiszka
2009-04-30 15:32   ` Jan Kiszka
2009-04-30 15:32   ` Jan Kiszka
2009-04-30 15:43 ` Avi Kivity
2009-04-30 15:43   ` Avi Kivity
2009-04-30 15:43   ` Avi Kivity
  -- strict thread matches above, loose matches on Subject: below --
2009-04-26  7:38 [PATCH] qemu-kvm: configure script fixups after qemu-kvm reorg Michael S. Tsirkin
2009-04-26  7:38 ` Michael S. Tsirkin
2009-04-26  7:38 ` Michael S. Tsirkin
2009-04-26  7:48 ` Gleb Natapov
2009-04-26  7:48   ` Gleb Natapov
2009-04-26  7:48   ` Gleb Natapov
2009-04-26  8:15 ` Michael S. Tsirkin
2009-04-26  8:15   ` Michael S. Tsirkin
2009-04-26  8:15   ` Michael S. Tsirkin
2009-04-26  8:51 ` Michael S. Tsirkin
2009-04-26  8:51   ` Michael S. Tsirkin
2009-04-26  8:51   ` Michael S. Tsirkin

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=49F80FE2.5030600@redhat.com \
    --to=avi@redhat.com \
    --cc=hollisb-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
    --cc=kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.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.