Displaying 20 results from an estimated 38 matches for "lguest_bus".
2007 May 10
4
[PATCH 0/5] lguest feedback tidyups
...vice from Matt Mackall about my personal appearance is
best unrequited).
The patch is split in 5 parts to correspond with the 9 parts Andrew
sent out before, but here's the summary:
1) Sparse (thanks Christoph Hellwig):
- lguest_const can be static now
- lguest.c should include "lguest_bus.h" for lguest_devices declaration.
- page_tables.c unnecessary initialization
- But the cost was high: lots of __force casts 8(
2) Jeff Garzik
- Use netdev_priv instead of dev->priv.
- Check for ioremap failure
- iounmap on failure.
- Wrap SEND_DMA and BIND_DMA calls...
2007 May 10
4
[PATCH 0/5] lguest feedback tidyups
...vice from Matt Mackall about my personal appearance is
best unrequited).
The patch is split in 5 parts to correspond with the 9 parts Andrew
sent out before, but here's the summary:
1) Sparse (thanks Christoph Hellwig):
- lguest_const can be static now
- lguest.c should include "lguest_bus.h" for lguest_devices declaration.
- page_tables.c unnecessary initialization
- But the cost was high: lots of __force casts 8(
2) Jeff Garzik
- Use netdev_priv instead of dev->priv.
- Check for ioremap failure
- iounmap on failure.
- Wrap SEND_DMA and BIND_DMA calls...
2007 May 09
1
[patch 2/9] lguest: the guest code
...ty@rustcorp.com.au>
Cc: Andi Kleen <ak@suse.de>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/lguest/lguest.c | 497 ++++++++++++++++++++++++++++++++++
drivers/lguest/lguest_asm.S | 53 +++
drivers/lguest/lguest_bus.c | 148 ++++++++++
include/linux/lguest.h | 85 +++++
include/linux/lguest_bus.h | 33 ++
5 files changed, 816 insertions(+)
diff -puN /dev/null drivers/lguest/lguest.c
--- /dev/null
+++ a/drivers/lguest/lguest.c
@@ -0,0 +1,497 @@
+/*
+ * Lguest specific paravirt-ops implementation
+ *...
2007 May 09
1
[patch 2/9] lguest: the guest code
...ty@rustcorp.com.au>
Cc: Andi Kleen <ak@suse.de>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/lguest/lguest.c | 497 ++++++++++++++++++++++++++++++++++
drivers/lguest/lguest_asm.S | 53 +++
drivers/lguest/lguest_bus.c | 148 ++++++++++
include/linux/lguest.h | 85 +++++
include/linux/lguest_bus.h | 33 ++
5 files changed, 816 insertions(+)
diff -puN /dev/null drivers/lguest/lguest.c
--- /dev/null
+++ a/drivers/lguest/lguest.c
@@ -0,0 +1,497 @@
+/*
+ * Lguest specific paravirt-ops implementation
+ *...
2007 Apr 18
1
[PATCH 0/8] lguest
...(Discovered while playing with CPUID).
- Rename many internal shadow pagetable functions & vars for clarity.
- Remove cr3 member from "struct lguest": easy to calculate when needed.
- Add comment on lack of interface stability.
- Move lguest_devices array declaration from lguest.h to lguest_bus.h
(it's only useful for devices).
- Use read_cr0() and write_cr0() rather than open-coding them.
- Use KERN_INFO on printk() for lguest initialization
- Remove unneeded __attribute_used__ in core.c
- Print out message when failing to run lguest under lguest/Xen etc.
- Use a wmb() for dma tran...
2007 Apr 18
1
[PATCH 0/8] lguest
...(Discovered while playing with CPUID).
- Rename many internal shadow pagetable functions & vars for clarity.
- Remove cr3 member from "struct lguest": easy to calculate when needed.
- Add comment on lack of interface stability.
- Move lguest_devices array declaration from lguest.h to lguest_bus.h
(it's only useful for devices).
- Use read_cr0() and write_cr0() rather than open-coding them.
- Use KERN_INFO on printk() for lguest initialization
- Remove unneeded __attribute_used__ in core.c
- Print out message when failing to run lguest under lguest/Xen etc.
- Use a wmb() for dma tran...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 09/13] lguest64 devices
...lguest_device *dev);
+ void (*remove)(struct lguest_device *dev);
+
+ struct device_driver drv;
+};
+
+extern int register_lguest_driver(struct lguest_driver *drv);
+extern void unregister_lguest_driver(struct lguest_driver *drv);
+#endif /* _ASM_LGUEST_DEVICE_H */
Index: work-pv/arch/x86_64/lguest/lguest_bus.c
===================================================================
--- /dev/null
+++ work-pv/arch/x86_64/lguest/lguest_bus.c
@@ -0,0 +1,180 @@
+#include <linux/init.h>
+#include <linux/bootmem.h>
+#include <asm/lguest_device.h>
+#include <asm/lguest.h>
+#include <asm/i...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 09/13] lguest64 devices
...lguest_device *dev);
+ void (*remove)(struct lguest_device *dev);
+
+ struct device_driver drv;
+};
+
+extern int register_lguest_driver(struct lguest_driver *drv);
+extern void unregister_lguest_driver(struct lguest_driver *drv);
+#endif /* _ASM_LGUEST_DEVICE_H */
Index: work-pv/arch/x86_64/lguest/lguest_bus.c
===================================================================
--- /dev/null
+++ work-pv/arch/x86_64/lguest/lguest_bus.c
@@ -0,0 +1,180 @@
+#include <linux/init.h>
+#include <linux/bootmem.h>
+#include <asm/lguest_device.h>
+#include <asm/lguest.h>
+#include <asm/i...
2007 May 09
2
[patch 5/9] lguest: the Makefile and Kconfig
...support as a module. The drivers are tiny, so we build them
+ in too.
diff -puN /dev/null drivers/lguest/Makefile
--- /dev/null
+++ a/drivers/lguest/Makefile
@@ -0,0 +1,7 @@
+# Guest requires the paravirt_ops replacement and the bus driver.
+obj-$(CONFIG_LGUEST_GUEST) += lguest.o lguest_asm.o lguest_bus.o
+
+# Host requires the other files, which can be a module.
+obj-$(CONFIG_LGUEST) += lg.o
+lg-objs := core.o hypercalls.o page_tables.o interrupts_and_traps.o \
+ segments.o io.o lguest_user.o switcher.o
_
2007 Apr 18
1
Slackware-11.0, Kernel-2.6.20, lguest-137.patch : compiling problem
Please, explain me, what is the problem in compiling kernel-2.6.20
patched with lguest-137.patch in Slackware-11.0:
LD [M] drivers/kvm/kvm-intel.o
LD [M] drivers/kvm/kvm-amd.o
CC drivers/lguest/lguest_bus.o
LD drivers/lguest/built-in.o
AS [M] drivers/lguest/hypervisor.o
drivers/lguest/hypervisor.S: Assembler messages:
drivers/lguest/hypervisor.S:162: Error: bad expression
drivers/lguest/hypervisor.S:162: Error: missing ')'
drivers/lguest/hypervisor.S:162: Error: junk at end of line...
2007 Apr 18
1
Slackware-11.0, Kernel-2.6.20, lguest-137.patch : compiling problem
Please, explain me, what is the problem in compiling kernel-2.6.20
patched with lguest-137.patch in Slackware-11.0:
LD [M] drivers/kvm/kvm-intel.o
LD [M] drivers/kvm/kvm-amd.o
CC drivers/lguest/lguest_bus.o
LD drivers/lguest/built-in.o
AS [M] drivers/lguest/hypervisor.o
drivers/lguest/hypervisor.S: Assembler messages:
drivers/lguest/hypervisor.S:162: Error: bad expression
drivers/lguest/hypervisor.S:162: Error: missing ')'
drivers/lguest/hypervisor.S:162: Error: junk at end of line...
2007 May 09
0
[patch 6/9] lguest: the console driver
...*
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+#include <linux/err.h>
+#include <linux/init.h>
+#include <linux/lguest_bus.h>
+#include "hvc_console.h"
+
+static char inbuf[256];
+static struct lguest_dma cons_input = { .used_len = 0,
+ .addr[0] = __pa(inbuf),
+ .len[0] = sizeof(inbuf),
+ .len[1] = 0 };
+
+static int put_chars(u32 vtermno, const char *buf, int count)
+{
+ struct lguest_dma dma;...
2007 May 09
0
[patch 6/9] lguest: the console driver
...*
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+#include <linux/err.h>
+#include <linux/init.h>
+#include <linux/lguest_bus.h>
+#include "hvc_console.h"
+
+static char inbuf[256];
+static struct lguest_dma cons_input = { .used_len = 0,
+ .addr[0] = __pa(inbuf),
+ .len[0] = sizeof(inbuf),
+ .len[1] = 0 };
+
+static int put_chars(u32 vtermno, const char *buf, int count)
+{
+ struct lguest_dma dma;...
2007 Jun 07
2
[PATCH 1/7] lguest documentation: infrastructure and Chapter I
...++++++++++++
drivers/lguest/core.c | 7 ++-
drivers/lguest/hypercalls.c | 9 +++--
drivers/lguest/interrupts_and_traps.c | 13 +++++++
drivers/lguest/io.c | 8 +++-
drivers/lguest/lguest.c | 31 ++++++++++++++++-
drivers/lguest/lguest_bus.c | 3 +
drivers/lguest/lguest_user.c | 7 +++
drivers/lguest/page_tables.c | 10 ++++-
drivers/lguest/segments.c | 11 ++++++
drivers/lguest/switcher.S | 13 +++----
14 files changed, 219 insertions(+), 19 deletions(-)
==============...
2007 Jun 07
2
[PATCH 1/7] lguest documentation: infrastructure and Chapter I
...++++++++++++
drivers/lguest/core.c | 7 ++-
drivers/lguest/hypercalls.c | 9 +++--
drivers/lguest/interrupts_and_traps.c | 13 +++++++
drivers/lguest/io.c | 8 +++-
drivers/lguest/lguest.c | 31 ++++++++++++++++-
drivers/lguest/lguest_bus.c | 3 +
drivers/lguest/lguest_user.c | 7 +++
drivers/lguest/page_tables.c | 10 ++++-
drivers/lguest/segments.c | 11 ++++++
drivers/lguest/switcher.S | 13 +++----
14 files changed, 219 insertions(+), 19 deletions(-)
==============...
2007 Oct 21
2
[git pull] lguest: paravirt boot code
Hi Linus,
First attempt at git, so please pull carefully. I've just put the
three i386 boot changes in the repo for the moment. If this works I'll pile
on the 44 lguest patches.
git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-lguest.git
Documentation/i386/boot.txt | 34 +++++++++++++++++++++++++++-
arch/x86/boot/compressed/head_32.S | 15 ++++++++++-
2007 Oct 21
2
[git pull] lguest: paravirt boot code
Hi Linus,
First attempt at git, so please pull carefully. I've just put the
three i386 boot changes in the repo for the moment. If this works I'll pile
on the 44 lguest patches.
git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-lguest.git
Documentation/i386/boot.txt | 34 +++++++++++++++++++++++++++-
arch/x86/boot/compressed/head_32.S | 15 ++++++++++-
2012 Apr 18
3
[RFC PATCH] virtio_console: link vq to port with a private pointer in struct virtqueue
For virtio-scsi multiqueue support I would like to have an easy and
fast way to go from a virtqueue to the internal struct for that
queue.
It turns out that virtio-serial has the same need, but it gets
by with a simple list walk.
This patch adds a pointer to struct virtqueue that is reserved for
the virtio device, and uses it in virtio-serial.
Cc: Amit Shah <amit.shah at redhat.com>
Cc:
2012 Apr 18
3
[RFC PATCH] virtio_console: link vq to port with a private pointer in struct virtqueue
For virtio-scsi multiqueue support I would like to have an easy and
fast way to go from a virtqueue to the internal struct for that
queue.
It turns out that virtio-serial has the same need, but it gets
by with a simple list walk.
This patch adds a pointer to struct virtqueue that is reserved for
the virtio device, and uses it in virtio-serial.
Cc: Amit Shah <amit.shah at redhat.com>
Cc:
2007 Jul 20
2
[PATCH 1/7] lguest: documentation pt I: Preparation
...++++++++++++
drivers/lguest/core.c | 7 ++-
drivers/lguest/hypercalls.c | 9 +++--
drivers/lguest/interrupts_and_traps.c | 13 +++++++
drivers/lguest/io.c | 8 +++-
drivers/lguest/lguest.c | 30 +++++++++++++++--
drivers/lguest/lguest_bus.c | 3 +
drivers/lguest/lguest_user.c | 7 +++
drivers/lguest/page_tables.c | 10 ++++-
drivers/lguest/segments.c | 11 ++++++
drivers/lguest/switcher.S | 13 +++----
14 files changed, 218 insertions(+), 19 deletions(-)
==============...