From: Zhang Xiantao [EMAIL PROTECTED]
To aovid using uncorrect kernel header files for module compile.
Signed-off-by: Zhang Xiantao [EMAIL PROTECTED]
Signed-off-by: Avi Kivity [EMAIL PROTECTED]
diff --git a/kernel/ia64/Makefile.pre b/kernel/ia64/Makefile.pre
index c55ea0f..fa8cefd 100644
---
Held Bernhard wrote:
Does the attached work for you?
Avi, do you have thoughts on how to proceed with pvmmu? Using hypercalls
instead of faults can still be beneficial (for the first write before
page goes out of sync, or for non-leaf tables which currently don't go
oos). But at the current
Using this patch on a vanilla 2.6.27 kernel, I get this when I try to
compile it:
arch/x86/kvm/mmu.c: In function ‘kvm_pv_mmu_flush_tlb’:
arch/x86/kvm/mmu.c:2241: error: ‘KVM_REQ_MMU_SYNC’ undeclared (first use
in this function)
arch/x86/kvm/mmu.c:2241: error: (Each undeclared identifier is
Notice that the patch exclude kernel directory in cscope.files of userspace.
Signed-off-by: Sheng Yang [EMAIL PROTECTED]
---
Makefile |8 +++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 402c3e9..6581679 100644
--- a/Makefile
+++ b/Makefile
@@
Zwane Mwaikambo wrote:
Hi,
I've been trying to get a Linux guest working with PCI
passthrough
of an ethernet card using the vtd branches. The device detection
works and the guest reports a link, however as soon as i try and ping
the guest it receives an NMI (i'm guessing this is PCI DMA
Hi jd,
On 14.10.2008, at 01:34, jd wrote:
Hi
Is it possible to install and use KVM in a guest VM ? I need this
for testing so, a reasonable performance is fine.
Yes, with AMD CPUs and my nested KVM patchset. I am planning to
improve it this week (if my tooth operation goes well :-(), so
Remove one left improper comment of removed CR2.
Signed-off-by: Sheng Yang [EMAIL PROTECTED]
---
include/asm-x86/kvm_x86_emulate.h | 10 +++---
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/include/asm-x86/kvm_x86_emulate.h
b/include/asm-x86/kvm_x86_emulate.h
index
Greetings,
Following patches are intended to support SR-IOV capability in the
Linux kernel. With these patches, people can turn a PCI device with
the capability into multiple ones from software perspective, which
will benefit KVM and achieve other purposes such as QoS, security,
and etc.
[PATCH
Hi, Amit/Sheng
See the comments below.
Xiantao
Amit Shah wrote:
Sheng, can you check if this is fine? I'll need some time to test
this.
Amit
index 71e37a5..6f0af16 100644
--- a/arch/x86/kvm/irq.h
+++ b/arch/x86/kvm/irq.h
@@ -32,6 +32,8 @@
#define PIC_NUM_PINS 16
On Sun, 2008-10-12 at 12:00 +0200, Avi Kivity wrote:
Mark McLoughlin wrote:
diff --git a/qemu/hw/virtio-net.c b/qemu/hw/virtio-net.c
index 403247b..afa5fe5 100644
--- a/qemu/hw/virtio-net.c
+++ b/qemu/hw/virtio-net.c
@@ -34,9 +34,13 @@
#define VIRTIO_NET_F_HOST_TSO6 12 /*
Gleb Natapov wrote:
On Mon, Oct 13, 2008 at 01:32:35PM -0500, Anthony Liguori wrote:
netlink was designed to be interface to userspace and is used like this
by different subsystems (not just network). What full blown socket (and
by that I presume you mean new address family) will give you
Reserve bus range for SR-IOV at device scanning stage.
Signed-off-by: Yu Zhao [EMAIL PROTECTED]
---
drivers/pci/iov.c | 24
drivers/pci/pci.h |5 +
drivers/pci/probe.c |3 +++
3 files changed, 32 insertions(+), 0 deletions(-)
diff --git
Avi Kivity wrote:
Anthony Liguori wrote:
For merging virtio, I thought I'd try a different approach from the
fix out of tree and merge all at once approach I took with live migration.
What I would like to do is make some minimal changes to virtio in kvm-userspace
so that some form of virtio
On Tue, Oct 14, 2008 at 2:17 PM, Avi Kivity [EMAIL PROTECTED] wrote:
Anthony Liguori wrote:
I'd like the seabios repository to be a git submodule, so we don't have
to rewrite stuff. So I'll experiment a bit with git submodules and pull
it in soon.
Are you willing to do a flag day and
On Tue, Oct 14, 2008 at 06:59:28PM +0800, Yu Zhao wrote:
+struct pci_iov {
+ int cap;/* capability position */
+ int align; /* page size used to map memory space */
+ int is_enabled; /* status of SR-IOV */
+ int nentries; /*
Izik Eidus wrote:
But when using O_DIRECT you actuality make the pages not swappable at
all...
or am i wrong?
Only for the duration of the I/O operation, which is typically very short.
--
Do not meddle in the internals of kernels, for they are subtle and quick to
panic.
--
To unsubscribe
Avi Kivity wrote:
As an aside, is there any interest in using SeaBIOS with kvm?
There is a great interest. I just don't know time frame for this. Avi?
I'd like the seabios repository to be a git submodule, so we don't have
to rewrite stuff. So I'll experiment a bit with
On Tue, Oct 14, 2008 at 08:50:48AM -0500, Anthony Liguori wrote:
Gleb Natapov wrote:
On Mon, Oct 13, 2008 at 01:32:35PM -0500, Anthony Liguori wrote:
netlink was designed to be interface to userspace and is used like this
by different subsystems (not just network). What full blown socket
Avi Kivity wrote:
Anthony Liguori wrote:
Why not merge these bits prior to merging virtio? They aren't kvm
specific and would be good in mainline qemu.
I'd rather have a consumer of an interface before merging the actual
infrastructure.
So merge them all into qemu at the
Gleb Natapov wrote:
On Tue, Oct 14, 2008 at 08:50:48AM -0500, Anthony Liguori wrote:
Gleb Natapov wrote:
On Mon, Oct 13, 2008 at 01:32:35PM -0500, Anthony Liguori wrote:
netlink was designed to be interface to userspace and is used like this
by different subsystems (not just
On Mon, 2008-09-22 at 16:16 -0300, Marcelo Tosatti wrote:
Adressing v2 comments, and with an option to disable oos.
Windows 2003 DDK build (4-way guest) results:
mainline oos
04:37 03:42( ~= -20% )
kernel builds on 4-way guest improve by 10%.
I'm seeing problems with this using
Hi Alex,
Wish u good luck for your operation.
Good to hear that this is possible and on AMD, as I have one AMD machine that
I can play around with. I will try it out when I get a chance.
Thanks
/Jd
--- On Tue, 10/14/08, Alexander Graf [EMAIL PROTECTED] wrote:
From: Alexander Graf
On Tue, Oct 14, 2008 at 06:59:28PM +0800, Yu Zhao wrote:
+++ b/drivers/pci/pci.h
@@ -176,4 +176,59 @@ static inline int pci_ari_enabled(struct pci_dev *dev)
+struct pci_iov {
+ int cap;/* capability position */
+ int align; /* page size used to map memory
Anthony Liguori wrote:
For merging virtio, I thought I'd try a different approach from the
fix out of tree and merge all at once approach I took with live migration.
What I would like to do is make some minimal changes to virtio in
kvm-userspace
so that some form of virtio could be merged
Add a new function to map resource number to base register (offset and type).
Signed-off-by: Yu Zhao [EMAIL PROTECTED]
---
drivers/pci/pci.c | 22 ++
drivers/pci/pci.h |2 ++
drivers/pci/setup-res.c | 13 +
3 files changed, 29 insertions(+), 8
Anthony Liguori wrote:
I'd like the seabios repository to be a git submodule, so we don't have
to rewrite stuff. So I'll experiment a bit with git submodules and pull
it in soon.
Are you willing to do a flag day and switch from the Bochs BIOS to
seabios and deal with the regressions? If
This patch moves all definitions of PCI resource names to an 'enum',
and also replaces some hard-coded resource variables with symbol
names. This change eases the introduction of device specific resources.
Signed-off-by: Yu Zhao [EMAIL PROTECTED]
---
drivers/pci/pci-sysfs.c |4 +++-
Export pci_alloc_child_bus(), and make it be able to handle buses without
bridge devices. Some devices such as SR-IOV devices use more than one bus
number while there is no explicit bridge devices since they have internal
routing mechanism.
Signed-off-by: Yu Zhao [EMAIL PROTECTED]
---
Support Single Root I/O Virtualization (SR-IOV) capability.
Signed-off-by: Yu Zhao [EMAIL PROTECTED]
---
drivers/pci/Kconfig | 12 +
drivers/pci/Makefile |2 +
drivers/pci/iov.c| 853 ++
drivers/pci/pci-sysfs.c |4 +
Export __pci_read_base() so it can be used by whole PCI subsystem.
Signed-off-by: Yu Zhao [EMAIL PROTECTED]
---
drivers/pci/pci.h |9 +
drivers/pci/probe.c | 20 +---
2 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/drivers/pci/pci.h
On Tue, 2008-10-14 at 12:37 -0600, Alex Williamson wrote:
I'm seeing problems with this using a Debian Lenny guest, it gets glibc
realloc errors in the init scripts/initramfs. Using -no-kvm or setting
oos_shadow=0 works around the problem. I also confirmed it was
introduced in commit
Add a wrap of resource_alignment so it can handle device specific resource
alignment.
Signed-off-by: Yu Zhao [EMAIL PROTECTED]
---
drivers/pci/pci.c | 25 +
drivers/pci/pci.h |1 +
drivers/pci/setup-bus.c |4 ++--
drivers/pci/setup-res.c |7
On Mon, Oct 13, 2008 at 01:32:35PM -0500, Anthony Liguori wrote:
Gleb Natapov wrote:
Hello,
Sometimes there is a need to pass various bits of information between host
and guest (mostly for management purposes such as host screen resolution
changes or runtime statistics of a guest). To do
As an aside, is there any interest in using SeaBIOS with kvm?
There is a great interest. I just don't know time frame for this. Avi?
I'd like the seabios repository to be a git submodule, so we don't have
to rewrite stuff. So I'll experiment a bit with git submodules and pull
it in
Create how-to for SR-IOV user and device driver developer.
Signed-off-by: Yu Zhao [EMAIL PROTECTED]
---
Documentation/DocBook/kernel-api.tmpl |1 +
Documentation/PCI/pci-iov-howto.txt | 222 +
2 files changed, 223 insertions(+), 0 deletions(-)
create mode
On Tue, Oct 14, 2008 at 05:29:12PM +0200, Avi Kivity wrote:
As an aside, is there any interest in using SeaBIOS with kvm?
There is a great interest. I just don't know time frame for this. Avi?
I'd like the seabios repository to be a git submodule, so we don't have
to
Matthew Wilcox wrote:
On Tue, Oct 14, 2008 at 06:59:28PM +0800, Yu Zhao wrote:
+++ b/include/linux/pci.h
@@ -87,6 +87,12 @@ enum {
/* #6: expansion ROM */
PCI_ROM_RESOURCE,
+ /* device specific resources */
+#ifdef CONFIG_PCI_IOV
+ PCI_IOV_RESOURCES,
+
On Tue, Oct 14, 2008 at 04:08:10PM -0600, Alex Williamson wrote:
On Tue, 2008-10-14 at 12:37 -0600, Alex Williamson wrote:
I'm seeing problems with this using a Debian Lenny guest, it gets glibc
realloc errors in the init scripts/initramfs. Using -no-kvm or setting
oos_shadow=0 works
On Tuesday 14 October 2008 16:45:19 Zhang, Xiantao wrote:
Hi, Amit/Sheng
See the comments below.
Hi Amit
Can you help to update the patch? Thanks!
And minor comments below.
Xiantao
Amit Shah wrote:
Sheng, can you check if this is fine? I'll need some time to test
this.
On Wed, 2008-10-15 at 00:37 -0200, Marcelo Tosatti wrote:
I forgot to mention that this only happens with the Debian 2.6.26
kernel, if you end up with the 2.6.24 kernel after install, try an
'apt-get update apt-get dist-upgrade' and reboot to get the newer
kernel.
Hi Alex,
Can you
40 matches
Mail list logo