All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] [v2] Move kvm_get_pit to libkvm.c common code
@ 2008-04-08 22:15 ` Jerone Young
  0 siblings, 0 replies; 8+ messages in thread
From: Jerone Young @ 2008-04-08 22:15 UTC (permalink / raw
  To: kvm-devel; +Cc: kvm-ppc-devel

# HG changeset patch
# User Jerone Young <jyoung5@us.ibm.com>
# Date 1207692873 18000
# Branch merge
# Node ID 8ddf560729aac228cd84068e1227e601e68a6840
# Parent  94cbc19df0f0fcab150599b10d859f1a3bc1b7cb
[v2] Move kvm_get_pit to libkvm.c common code

	- I am resending this patch removing ia64. It apprently fell through the cracks.

Don't compile kvm_*_pit() on architectures whose currently supported platforms do not contain a PIT.

        Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
	Signed-off-by: Jerone Young <jyoung5@us.ibm.com>

diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h
--- a/libkvm/libkvm.h
+++ b/libkvm/libkvm.h
@@ -549,6 +549,7 @@ int kvm_pit_in_kernel(kvm_context_t kvm)
 
 #ifdef KVM_CAP_PIT
 
+#if defined(__i386__) || defined(__x86_64__)
 /*!
  * \brief Get in kernel PIT of the virtual domain
  *
@@ -569,6 +570,7 @@ int kvm_get_pit(kvm_context_t kvm, struc
  * \param s PIT state of the virtual domain
  */
 int kvm_set_pit(kvm_context_t kvm, struct kvm_pit_state *s);
+#endif
 
 #endif
 

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [kvm-ppc-devel] [PATCH] [v2] Move kvm_get_pit to libkvm.c common
@ 2008-04-08 22:15 ` Jerone Young
  0 siblings, 0 replies; 8+ messages in thread
From: Jerone Young @ 2008-04-08 22:15 UTC (permalink / raw
  To: kvm-devel; +Cc: kvm-ppc-devel

# HG changeset patch
# User Jerone Young <jyoung5@us.ibm.com>
# Date 1207692873 18000
# Branch merge
# Node ID 8ddf560729aac228cd84068e1227e601e68a6840
# Parent  94cbc19df0f0fcab150599b10d859f1a3bc1b7cb
[v2] Move kvm_get_pit to libkvm.c common code

	- I am resending this patch removing ia64. It apprently fell through the cracks.

Don't compile kvm_*_pit() on architectures whose currently supported platforms do not contain a PIT.

        Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
	Signed-off-by: Jerone Young <jyoung5@us.ibm.com>

diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h
--- a/libkvm/libkvm.h
+++ b/libkvm/libkvm.h
@@ -549,6 +549,7 @@ int kvm_pit_in_kernel(kvm_context_t kvm)
 
 #ifdef KVM_CAP_PIT
 
+#if defined(__i386__) || defined(__x86_64__)
 /*!
  * \brief Get in kernel PIT of the virtual domain
  *
@@ -569,6 +570,7 @@ int kvm_get_pit(kvm_context_t kvm, struc
  * \param s PIT state of the virtual domain
  */
 int kvm_set_pit(kvm_context_t kvm, struct kvm_pit_state *s);
+#endif
 
 #endif
 

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-ppc-devel mailing list
kvm-ppc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] [v2] Move kvm_get_pit to libkvm.c common code
  2008-04-08 22:15 ` [kvm-ppc-devel] [PATCH] [v2] Move kvm_get_pit to libkvm.c common Jerone Young
@ 2008-04-13 14:24   ` Avi Kivity
  -1 siblings, 0 replies; 8+ messages in thread
From: Avi Kivity @ 2008-04-13 14:24 UTC (permalink / raw
  To: Jerone Young; +Cc: kvm-devel, kvm-ppc-devel

Jerone Young wrote:
> 	- I am resending this patch removing ia64. It apprently fell through the cracks.
>
> Don't compile kvm_*_pit() on architectures whose currently supported platforms do not contain a PIT.
>
>         Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
> 	Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
>
> diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h
> --- a/libkvm/libkvm.h
> +++ b/libkvm/libkvm.h
> @@ -549,6 +549,7 @@ int kvm_pit_in_kernel(kvm_context_t kvm)
>  
>  #ifdef KVM_CAP_PIT
>  
> +#if defined(__i386__) || defined(__x86_64__)
>  /*!
>   * \brief Get in kernel PIT of the virtual domain
>   *
> @@ -569,6 +570,7 @@ int kvm_get_pit(kvm_context_t kvm, struc
>   * \param s PIT state of the virtual domain
>   */
>  int kvm_set_pit(kvm_context_t kvm, struct kvm_pit_state *s);
> +#endif
>  
>  #endif

Patch is okay, but doesn't match the description at all.  Is this what 
you intended to send?

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [kvm-ppc-devel] [kvm-devel] [PATCH] [v2] Move kvm_get_pit to
@ 2008-04-13 14:24   ` Avi Kivity
  0 siblings, 0 replies; 8+ messages in thread
From: Avi Kivity @ 2008-04-13 14:24 UTC (permalink / raw
  To: Jerone Young; +Cc: kvm-devel, kvm-ppc-devel

Jerone Young wrote:
> 	- I am resending this patch removing ia64. It apprently fell through the cracks.
>
> Don't compile kvm_*_pit() on architectures whose currently supported platforms do not contain a PIT.
>
>         Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
> 	Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
>
> diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h
> --- a/libkvm/libkvm.h
> +++ b/libkvm/libkvm.h
> @@ -549,6 +549,7 @@ int kvm_pit_in_kernel(kvm_context_t kvm)
>  
>  #ifdef KVM_CAP_PIT
>  
> +#if defined(__i386__) || defined(__x86_64__)
>  /*!
>   * \brief Get in kernel PIT of the virtual domain
>   *
> @@ -569,6 +570,7 @@ int kvm_get_pit(kvm_context_t kvm, struc
>   * \param s PIT state of the virtual domain
>   */
>  int kvm_set_pit(kvm_context_t kvm, struct kvm_pit_state *s);
> +#endif
>  
>  #endif

Patch is okay, but doesn't match the description at all.  Is this what 
you intended to send?

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-ppc-devel mailing list
kvm-ppc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] [v2] Move kvm_get_pit to libkvm.c common code
  2008-04-13 14:24   ` [kvm-ppc-devel] [kvm-devel] [PATCH] [v2] Move kvm_get_pit to Avi Kivity
@ 2008-04-14  1:08     ` Jerone Young
  -1 siblings, 0 replies; 8+ messages in thread
From: Jerone Young @ 2008-04-14  1:08 UTC (permalink / raw
  To: Avi Kivity; +Cc: kvm-devel, kvm-ppc-devel

I just took the old description that was there before. A much better one
would be:

Remove declarations of kvm_*_pit() on architectures who do not support
not have a PIT.

That is what I was really intending. It removes a lot of compile
warnings, when compiling anything with libkvm.h on platforms that do not
have a pit. It's mainly because of the structures that are used as
arguments to these function declrations.


On Sun, 2008-04-13 at 17:24 +0300, Avi Kivity wrote:
> Jerone Young wrote:
> > 	- I am resending this patch removing ia64. It apprently fell through the cracks.
> >
> > Don't compile kvm_*_pit() on architectures whose currently supported platforms do not contain a PIT.
> >
> >         Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
> > 	Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
> >
> > diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h
> > --- a/libkvm/libkvm.h
> > +++ b/libkvm/libkvm.h
> > @@ -549,6 +549,7 @@ int kvm_pit_in_kernel(kvm_context_t kvm)
> >  
> >  #ifdef KVM_CAP_PIT
> >  
> > +#if defined(__i386__) || defined(__x86_64__)
> >  /*!
> >   * \brief Get in kernel PIT of the virtual domain
> >   *
> > @@ -569,6 +570,7 @@ int kvm_get_pit(kvm_context_t kvm, struc
> >   * \param s PIT state of the virtual domain
> >   */
> >  int kvm_set_pit(kvm_context_t kvm, struct kvm_pit_state *s);
> > +#endif
> >  
> >  #endif
> 
> Patch is okay, but doesn't match the description at all.  Is this what 
> you intended to send?
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [kvm-ppc-devel] [kvm-devel] [PATCH] [v2] Move kvm_get_pit to
@ 2008-04-14  1:08     ` Jerone Young
  0 siblings, 0 replies; 8+ messages in thread
From: Jerone Young @ 2008-04-14  1:08 UTC (permalink / raw
  To: Avi Kivity; +Cc: kvm-devel, kvm-ppc-devel

I just took the old description that was there before. A much better one
would be:

Remove declarations of kvm_*_pit() on architectures who do not support
not have a PIT.

That is what I was really intending. It removes a lot of compile
warnings, when compiling anything with libkvm.h on platforms that do not
have a pit. It's mainly because of the structures that are used as
arguments to these function declrations.


On Sun, 2008-04-13 at 17:24 +0300, Avi Kivity wrote:
> Jerone Young wrote:
> > 	- I am resending this patch removing ia64. It apprently fell through the cracks.
> >
> > Don't compile kvm_*_pit() on architectures whose currently supported platforms do not contain a PIT.
> >
> >         Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
> > 	Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
> >
> > diff --git a/libkvm/libkvm.h b/libkvm/libkvm.h
> > --- a/libkvm/libkvm.h
> > +++ b/libkvm/libkvm.h
> > @@ -549,6 +549,7 @@ int kvm_pit_in_kernel(kvm_context_t kvm)
> >  
> >  #ifdef KVM_CAP_PIT
> >  
> > +#if defined(__i386__) || defined(__x86_64__)
> >  /*!
> >   * \brief Get in kernel PIT of the virtual domain
> >   *
> > @@ -569,6 +570,7 @@ int kvm_get_pit(kvm_context_t kvm, struc
> >   * \param s PIT state of the virtual domain
> >   */
> >  int kvm_set_pit(kvm_context_t kvm, struct kvm_pit_state *s);
> > +#endif
> >  
> >  #endif
> 
> Patch is okay, but doesn't match the description at all.  Is this what 
> you intended to send?
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-ppc-devel mailing list
kvm-ppc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH] [v2] Move kvm_get_pit to libkvm.c common code
  2008-04-14  1:08     ` [kvm-ppc-devel] [kvm-devel] [PATCH] [v2] Move kvm_get_pit to Jerone Young
@ 2008-04-15  7:25       ` Avi Kivity
  -1 siblings, 0 replies; 8+ messages in thread
From: Avi Kivity @ 2008-04-15  7:25 UTC (permalink / raw
  To: jyoung5; +Cc: kvm-devel, kvm-ppc-devel

Jerone Young wrote:
> I just took the old description that was there before. A much better one
> would be:
>
> Remove declarations of kvm_*_pit() on architectures who do not support
> not have a PIT.
>
> That is what I was really intending. It removes a lot of compile
> warnings, when compiling anything with libkvm.h on platforms that do not
> have a pit. It's mainly because of the structures that are used as
> arguments to these function declrations.
>   

Thanks, applied.

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [kvm-ppc-devel] [kvm-devel] [PATCH] [v2] Move kvm_get_pit to
@ 2008-04-15  7:25       ` Avi Kivity
  0 siblings, 0 replies; 8+ messages in thread
From: Avi Kivity @ 2008-04-15  7:25 UTC (permalink / raw
  To: jyoung5; +Cc: kvm-devel, kvm-ppc-devel

Jerone Young wrote:
> I just took the old description that was there before. A much better one
> would be:
>
> Remove declarations of kvm_*_pit() on architectures who do not support
> not have a PIT.
>
> That is what I was really intending. It removes a lot of compile
> warnings, when compiling anything with libkvm.h on platforms that do not
> have a pit. It's mainly because of the structures that are used as
> arguments to these function declrations.
>   

Thanks, applied.

-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-ppc-devel mailing list
kvm-ppc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-ppc-devel

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2008-04-15  7:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-08 22:15 [PATCH] [v2] Move kvm_get_pit to libkvm.c common code Jerone Young
2008-04-08 22:15 ` [kvm-ppc-devel] [PATCH] [v2] Move kvm_get_pit to libkvm.c common Jerone Young
2008-04-13 14:24 ` [PATCH] [v2] Move kvm_get_pit to libkvm.c common code Avi Kivity
2008-04-13 14:24   ` [kvm-ppc-devel] [kvm-devel] [PATCH] [v2] Move kvm_get_pit to Avi Kivity
2008-04-14  1:08   ` [PATCH] [v2] Move kvm_get_pit to libkvm.c common code Jerone Young
2008-04-14  1:08     ` [kvm-ppc-devel] [kvm-devel] [PATCH] [v2] Move kvm_get_pit to Jerone Young
2008-04-15  7:25     ` [PATCH] [v2] Move kvm_get_pit to libkvm.c common code Avi Kivity
2008-04-15  7:25       ` [kvm-ppc-devel] [kvm-devel] [PATCH] [v2] Move kvm_get_pit to Avi Kivity

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.