All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH/RFC] virtio: export more headers to userspace
@ 2008-04-23 10:57 Christian Borntraeger
  2008-04-24  4:02 ` Rusty Russell
  2008-04-24  4:02 ` Rusty Russell
  0 siblings, 2 replies; 4+ messages in thread
From: Christian Borntraeger @ 2008-04-23 10:57 UTC (permalink / raw)
  To: Rusty Russell; +Cc: kvm-devel, virtualization

Rusty,

is there a reason why we dont export the virtio headers for
9p, balloon, console, pci, and virtio_ring? kvm uses make sync,
but I think it is still useful to heave these headers exported 
as they might be useful for other userspace tools.

I dont export virtio.h, because it does not seem to have useful 
information for userspace and it requires scatterlist.h which is 
also not exported. See also my other mail about your "virtio:
change config to guest endian." patch.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
---
 include/linux/Kbuild |    5 +++++
 1 file changed, 5 insertions(+)

Index: kvm/include/linux/Kbuild
===================================================================
--- kvm.orig/include/linux/Kbuild
+++ kvm/include/linux/Kbuild
@@ -346,6 +346,11 @@ unifdef-y += videodev.h
 unifdef-y += virtio_config.h
 unifdef-y += virtio_blk.h
 unifdef-y += virtio_net.h
+unifdef-y += virtio_9p.h
+unifdef-y += virtio_balloon.h
+unifdef-y += virtio_console.h
+unifdef-y += virtio_pci.h
+unifdef-y += virtio_ring.h
 unifdef-y += vt.h
 unifdef-y += wait.h
 unifdef-y += wanrouter.h

-------------------------------------------------------------------------
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] 4+ messages in thread

* [PATCH/RFC] virtio: export more headers to userspace
@ 2008-04-23 10:57 Christian Borntraeger
  0 siblings, 0 replies; 4+ messages in thread
From: Christian Borntraeger @ 2008-04-23 10:57 UTC (permalink / raw)
  To: Rusty Russell; +Cc: kvm-devel, Anthony Liguori, virtualization

Rusty,

is there a reason why we dont export the virtio headers for
9p, balloon, console, pci, and virtio_ring? kvm uses make sync,
but I think it is still useful to heave these headers exported 
as they might be useful for other userspace tools.

I dont export virtio.h, because it does not seem to have useful 
information for userspace and it requires scatterlist.h which is 
also not exported. See also my other mail about your "virtio:
change config to guest endian." patch.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
---
 include/linux/Kbuild |    5 +++++
 1 file changed, 5 insertions(+)

Index: kvm/include/linux/Kbuild
===================================================================
--- kvm.orig/include/linux/Kbuild
+++ kvm/include/linux/Kbuild
@@ -346,6 +346,11 @@ unifdef-y += videodev.h
 unifdef-y += virtio_config.h
 unifdef-y += virtio_blk.h
 unifdef-y += virtio_net.h
+unifdef-y += virtio_9p.h
+unifdef-y += virtio_balloon.h
+unifdef-y += virtio_console.h
+unifdef-y += virtio_pci.h
+unifdef-y += virtio_ring.h
 unifdef-y += vt.h
 unifdef-y += wait.h
 unifdef-y += wanrouter.h

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

* Re: [PATCH/RFC] virtio: export more headers to userspace
  2008-04-23 10:57 [PATCH/RFC] virtio: export more headers to userspace Christian Borntraeger
@ 2008-04-24  4:02 ` Rusty Russell
  2008-04-24  4:02 ` Rusty Russell
  1 sibling, 0 replies; 4+ messages in thread
From: Rusty Russell @ 2008-04-24  4:02 UTC (permalink / raw)
  To: Christian Borntraeger; +Cc: kvm-devel, Anthony Liguori, virtualization

On Wednesday 23 April 2008 20:57:00 Christian Borntraeger wrote:
> Rusty,
>
> is there a reason why we dont export the virtio headers for
> 9p, balloon, console, pci, and virtio_ring? kvm uses make sync,
> but I think it is still useful to heave these headers exported
> as they might be useful for other userspace tools.

Applied, thanks.

Cheers,
Rusty.

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

* Re: [PATCH/RFC] virtio: export more headers to userspace
  2008-04-23 10:57 [PATCH/RFC] virtio: export more headers to userspace Christian Borntraeger
  2008-04-24  4:02 ` Rusty Russell
@ 2008-04-24  4:02 ` Rusty Russell
  1 sibling, 0 replies; 4+ messages in thread
From: Rusty Russell @ 2008-04-24  4:02 UTC (permalink / raw)
  To: Christian Borntraeger; +Cc: kvm-devel, virtualization

On Wednesday 23 April 2008 20:57:00 Christian Borntraeger wrote:
> Rusty,
>
> is there a reason why we dont export the virtio headers for
> 9p, balloon, console, pci, and virtio_ring? kvm uses make sync,
> but I think it is still useful to heave these headers exported
> as they might be useful for other userspace tools.

Applied, thanks.

Cheers,
Rusty.

-------------------------------------------------------------------------
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] 4+ messages in thread

end of thread, other threads:[~2008-04-24  4:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-23 10:57 [PATCH/RFC] virtio: export more headers to userspace Christian Borntraeger
2008-04-24  4:02 ` Rusty Russell
2008-04-24  4:02 ` Rusty Russell
  -- strict thread matches above, loose matches on Subject: below --
2008-04-23 10:57 Christian Borntraeger

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.