From: Jes Sorensen jes.soren...@redhat.com
This avoids breaking the build for non KVM targets where
kvm_set_irqfd() is not defined.
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/hw/virtio-pci.c b/hw/virtio-pci.c
index d497eae..938937e
From: Jes Sorensen jes.soren...@redhat.com
Avoid build conflicts and move prototype out of CONFIG_KVM to make the
stub in kvm-stub.c visible.
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/qemu-kvm.h b/qemu-kvm.h
index 3ace503..c9b93dc
From: Jes Sorensen jes.soren...@redhat.com
time_drift_fix is only present on x86, not just on !ia64. This allows
the code to build for other archs, like MIPS.
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/hw/i8259.c b/hw/i8259.c
index
From: Jes Sorensen jes.soren...@redhat.com
pcspk.o i8254.o acpi.o acpi_piix4.o are all required for MIPS as well,
add them to Makefile.target accordingly.
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/Makefile.target b/Makefile.target
From: Jes Sorensen jes.soren...@redhat.com
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/qemu-kvm.h b/qemu-kvm.h
index c9b93dc..6dd3a01 100644
--- a/qemu-kvm.h
+++ b/qemu-kvm.h
@@ -835,6 +835,7 @@ void qemu_kvm_cpuid_on_env(CPUState
From: Jes Sorensen jes.soren...@redhat.com
This fixes build breakage for target MIPS etc.
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/vl.c b/vl.c
index 0ee963c..79f91d5 100644
--- a/vl.c
+++ b/vl.c
@@ -2459,6 +2459,7 @@ int main(int
From: Jes Sorensen jes.soren...@redhat.com
We need to declare 'int no_hpet' for all targets to avoid build
failure on no x86 builds.
Signed-off-by: Jes Sorensen jes.soren...@redhat.com
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/vl.c b/vl.c
index 79f91d5..c2e99fc 100644
--- a/vl.c
From: Alex Williamson alex.william...@redhat.com
An 82576 physical function assigned to a Windows 7 guest currently
doesn't work because the driver seems to gratuitiously disable
MSI and MSIX interrupts. When it does this, we blindly deassign
the current interrupt setup, leaving the device with
From: Gleb Natapov g...@redhat.com
To prevent reentering vcpu after IO completion it is not enough
to set env-stopped since it is checked only in main loop but control
will not get there until next non-IO exit since kvm_run() will reenter
vcpu to complete IO instruction. Solve this by sending
From: Huang Ying ying.hu...@intel.com
is_hwpoison_address accesses the page table, so the caller must hold
current-mm-mmap_sem in read mode. So fix its usage in hva_to_pfn of
kvm accordingly.
Comment is_hwpoison_address to remind other users.
Reported-by: Avi Kivity a...@redhat.com
From: Alexander Graf ag...@suse.de
Initially we had to search for pte entries to invalidate them. Since
the logic has improved since then, we can just get rid of the search
function.
Signed-off-by: Alexander Graf ag...@suse.de
Signed-off-by: Avi Kivity a...@redhat.com
diff --git
From: Alexander Graf ag...@suse.de
The linux kernel already provides a hash function. Let's reuse that
instead of reinventing the wheel!
Signed-off-by: Alexander Graf ag...@suse.de
Signed-off-by: Avi Kivity a...@redhat.com
diff --git a/arch/powerpc/kvm/book3s_32_mmu_host.c
From: Takuya Yoshikawa yoshikawa.tak...@oss.ntt.co.jp
kvm_vm_ioctl_get_dirty_log() is now implemented as arch dependent function.
But now that we know what is actually arch dependent, we can split this into
arch dependent part and arch independent part easily.
Signed-off-by: Takuya Yoshikawa
From: Christian Borntraeger borntrae...@de.ibm.com
This patch fixes
ERROR: __kvm_s390_vcpu_store_status [arch/s390/kvm/kvm.ko] undefined!
triggered by
commit 3268c56840dcee78c3e928336550f4e1861504c4 (kvm.git)
Author: Avi Kivity a...@redhat.com
Date: Thu May 13 12:21:46 2010 +0300
KVM:
From: Alexander Graf ag...@suse.de
When a guest sets its SR entry to invalid, we may still find a
corresponding entry in a BAT. So we need to make sure we're not
faulting on invalid SR entries, but instead just claim them to be
BAT resolved.
This resolves breakage experienced when using libogc
Note to qemu-devel: this issue is qemu-kvm only.
Hao, Xudong xudong@intel.com writes:
When assign one PCI device, qemu fail to parse the command line:
qemu-system_x86 -smp 2 -m 1024 -hda /path/to/img -pcidevice host=00:19.0
Error:
qemu-system-x86_64: Parameter 'id' expects an identifier
Bugs item #2014059, was opened at 2008-07-09 10:30
Message generated for change (Comment added) made by jessorensen
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=893831aid=2014059group_id=180599
Please note that this message will contain a full copy of the comment
Anthony Liguori wrote:
On 06/23/2010 04:09 PM, Andre Przywara wrote:
Hi,
these three patches add basic NUMA pinning to KVM. According to a user
provided assignment parts of the guest's memory will be bound to different
host nodes. This should increase performance in large virtual machines
and
On 06/24/2010 06:36 AM, Zhang, Yanmin wrote:
If the perf event is bound to the vm, not a vcpu, then on guest process
migration you will have to disable it on one vcpu and enable it on the
other, no?
I found we start from different points. This patch is to implement a para virt
interface
On 06/24/2010 03:58 AM, Marcelo Tosatti wrote:
Well yes, I expect that not using rcu_dereference() (and
srcu_read_lock()) is a bug here.
Marcelo?
No because slots_lock is held which serializes with memslot updates.
Right, I need to reread Documentation/kvm/locking.txt.
--
error
On Sun, May 30, 2010 at 10:25:01PM +0200, Tejun Heo wrote:
Apply the cpumask and cgroup of the initializing task to the created
vhost poller.
Based on Sridhar Samudrala's patch.
Cc: Michael S. Tsirkin m...@redhat.com
Cc: Sridhar Samudrala samudrala.srid...@gmail.com
I wanted to apply
I see really slow vmalloc performance on 2.6.35-rc3:
# tracer: function_graph
#
# CPU DURATION FUNCTION CALLS
# | | | | | | |
3) 3.581 us| vfree();
3) | msr_io() {
3) ! 523.880 us |vmalloc();
3) 1.702 us|
On Wed, Jun 23, 2010 at 06:05:41PM +0800, Dong, Eddie wrote:
I mean once the frontend side driver post the buffers to the backend driver,
the backend driver will immediately use that buffers to compose skb or
gro_frags and post them to the assigned host NIC driver as receive buffers.
In
Alexander Graf wrote:
On 24.06.2010, at 00:21, Anthony Liguori wrote:
On 06/23/2010 04:09 PM, Andre Przywara wrote:
Hi,
these three patches add basic NUMA pinning to KVM. According to a user
provided assignment parts of the guest's memory will be bound to different
host nodes. This should
Enable RSS to send/receive files and directory trees (recursively).
See protocol details in rss.cpp.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/deps/rss.cpp | 1429 -
1 files changed, 970 insertions(+), 459 deletions(-)
diff
For usage details see docstrings in rss_file_transfer.py.
For protocol details see deps/rss.cpp.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/rss_file_transfer.py | 412 +
1 files changed, 412 insertions(+), 0 deletions(-)
create mode
Signed-off-by: Avi Kivity a...@redhat.com
---
Documentation/kvm/review-checklist.txt | 38
1 files changed, 38 insertions(+), 0 deletions(-)
create mode 100644 Documentation/kvm/review-checklist.txt
diff --git a/Documentation/kvm/review-checklist.txt
On 06/24/2010 01:58 PM, Andre Przywara wrote:
So who would create the /dev/shm/nodeXX files?
Currently it is QEMU. It creates a somewhat unique filename, opens and
unlinks it. The difference would be to name the file after the option
and to not unlink it.
I can imagine starting numactl
This set of patches enables trace visualization control
via the QEMU monitor. It is based on trace infrastructure posted
upstream :
( http://lists.gnu.org/archive/html/qemu-devel/2010-05/msg02407.html )
This patchset adds monitor commands :
- info trace : to view current contents of the trace
On 6/24/2010 2:03 PM, Michael Goldish wrote:
Enable RSS to send/receive files and directory trees (recursively).
Are you slowly developing a competitor to STAF
(http://staf.sourceforge.net/) ?
And re. the file transfer protocol, why not use TFTP, instead of
creating your own protocol?
Y.
Change type 'TraceEvent' to 'TraceEventID'
Signed-off-by: Prerna Saxena pre...@linux.vnet.ibm.com
---
simpletrace.c | 12 ++--
tracetool | 12 ++--
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/simpletrace.c b/simpletrace.c
index 2fec4d3..b488380 100644
Monitor command 'info trace' to display contents of trace buffer
Signed-off-by: Prerna Saxena pre...@linux.vnet.ibm.com
---
configure |3 +++
monitor.c | 12
qemu-monitor.hx |4
simpletrace.c | 12
tracetool |1 +
5 files
This patch adds support for dynamically enabling/disabling of trace events.
This is done by internally maintaining each trace event's state, and
permitting logging of data from a trace event only if it is in an
'active' state.
Monitor commands added :
1) info trace-events: to view
On Thu, 2010-06-24 at 14:25 +0300, Yaniv Kaul wrote:
On 6/24/2010 2:03 PM, Michael Goldish wrote:
Enable RSS to send/receive files and directory trees (recursively).
Are you slowly developing a competitor to STAF
(http://staf.sourceforge.net/) ?
And re. the file transfer protocol, why not
Avi Kivity wrote:
On 06/24/2010 01:58 PM, Andre Przywara wrote:
So who would create the /dev/shm/nodeXX files?
Currently it is QEMU. It creates a somewhat unique filename, opens and
unlinks it. The difference would be to name the file after the option
and to not unlink it.
I can imagine
On 06/24/2010 02:34 PM, Andre Przywara wrote:
Non-anonymous memory doesn't work well with ksm and transparent
hugepages. Is it possible to use anonymous memory rather than file
backed?
I'd prefer non-file backed, too. But that is how the current huge
pages implementation is done. We could
This became a separate package long ago.
Signed-off-by: Jan Kiszka jan.kis...@siemens.com
---
Makefile | 15 ---
configure | 22 --
2 files changed, 0 insertions(+), 37 deletions(-)
diff --git a/Makefile b/Makefile
index 2cd87be..49e2a3f 100644
---
On 06/24/2010 02:45 PM, Jan Kiszka wrote:
This became a separate package long ago.
Applied, thanks.
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More
Avi Kivity wrote:
On 06/24/2010 02:45 PM, Jan Kiszka wrote:
This became a separate package long ago.
Applied, thanks.
Wow. Are you idling over the commit button?
Jan
--
Siemens AG, Corporate Technology, CT T DE IT 1
Corporate Competence Center Embedded Linux
--
To unsubscribe from
On 06/24/2010 02:48 PM, Jan Kiszka wrote:
Wow. Are you idling over the commit button?
Send me moar patches!
--
error compiling committee.c: too many arguments to function
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to
On Wed, Jun 23, 2010 at 7:33 AM, Avi Kivity a...@redhat.com wrote:
Thanks for your response Avi.
The userspace part - qemu-kvm - is released independently (and has its own
stable branch).
Does a certain version of qemu-kvm go hand in hand with a certain
version of KVM
code in the Linux kernel
On Thu, Jun 17, 2010 at 02:14:00PM -0700, Tom Lyon wrote:
On Sunday 13 June 2010 03:23:39 am Michael S. Tsirkin wrote:
OK, after more investigation, I realize you are right.
We definitely need the IOMMU protection for interrupts, and
if we have it, a lot of the code for config space
On 06/24/2010 02:25 PM, Yaniv Kaul wrote:
On 6/24/2010 2:03 PM, Michael Goldish wrote:
Enable RSS to send/receive files and directory trees (recursively).
Are you slowly developing a competitor to STAF
(http://staf.sourceforge.net/) ?
I think STAF offers much more stuff. However, rss is
Thanks you for the suggestions and the link (a neat one).
Cheers
../Tom
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On 06/24/2010 03:21 PM, Tom Shoes wrote:
The userspace part - qemu-kvm - is released independently (and has its own
stable branch).
Does a certain version of qemu-kvm go hand in hand with a certain
version of KVM
code in the Linux kernel release?
No.
Does the KVM community
Anthony Liguori anth...@codemonkey.ws writes:
If we extended integrated -mem-path with -numa such that a different
path could be used with each numa node (and we let an explicit file be
specified instead of just a directory), then if I understand
correctly, we could use numactl without any
Hi folks,
KVM - 1:0.12.4+dfsg-1~bpo50+1 0
host - Debian 5.0
I have been suffering sound problem on guests for sometimes. Please
advise whether the same has been solved. If YES please advice how to
solve it. TIA
B.R.
Stephen L
--
To unsubscribe from this list: send the line
On Thu, Jun 24, 2010 at 02:22:19PM +0200, Joerg Roedel wrote:
On Thu, Jun 17, 2010 at 02:14:00PM -0700, Tom Lyon wrote:
On Sunday 13 June 2010 03:23:39 am Michael S. Tsirkin wrote:
OK, after more investigation, I realize you are right.
We definitely need the IOMMU protection for
On Thu, Jun 24, 2010 at 04:49:30PM +0530, Prerna Saxena wrote:
This set of patches enables trace visualization control
via the QEMU monitor. It is based on trace infrastructure posted
upstream :
( http://lists.gnu.org/archive/html/qemu-devel/2010-05/msg02407.html )
This patchset adds
On Thu, Jun 24, 2010 at 12:19:32PM +0300, Avi Kivity wrote:
I see really slow vmalloc performance on 2.6.35-rc3:
Can you try this patch?
http://userweb.kernel.org/~akpm/mmotm/broken-out/mm-vmap-area-cache.patch
# tracer: function_graph
#
# CPU DURATION FUNCTION CALLS
# |
With recent git versions (like one in rhel6 beta),
git prints out tag info in addition to
requested format, if passed a tag name.
This breaks make-release.
To get just the time as we want, we need to
pass something that is not a tag name but matches
same commit. $commit~0 does this.
On Thu, Jun 24, 2010 at 06:48:52PM +0300, Michael S. Tsirkin wrote:
With recent git versions (like one in rhel6 beta),
git prints out tag info in addition to
requested format, if passed a tag name.
This breaks make-release.
To get just the time as we want, we need to
pass something that is
On Thu, Jun 24, 2010 at 01:12:04PM -0300, Eduardo Habkost wrote:
On Thu, Jun 24, 2010 at 06:48:52PM +0300, Michael S. Tsirkin wrote:
With recent git versions (like one in rhel6 beta),
git prints out tag info in addition to
requested format, if passed a tag name.
This breaks make-release.
On Thu, Jun 24, 2010 at 07:09:15PM +0300, Michael S. Tsirkin wrote:
On Thu, Jun 24, 2010 at 01:12:04PM -0300, Eduardo Habkost wrote:
On Thu, Jun 24, 2010 at 06:48:52PM +0300, Michael S. Tsirkin wrote:
With recent git versions (like one in rhel6 beta),
git prints out tag info in addition
With recent git versions (like one in rhel6 beta),
git prints out tag info in addition to
requested format, if passed a tag name.
This breaks make-release.
To get just the time as we want, we need to
pass something that is not a tag name but matches
same commit. $commit^{commit} does this.
What is everyone using to manage their virtualisation setup? Anyone
using a pre-packaged management system like ConVirt, oVirt,
Virt-Manager, etc? Everyone rolling their own management scripts?
Something else?
Right now, we're using our home-grown kvmctl script (as seen in the
KVM wiki) to
On Thu, Jun 24, 2010 at 1:32 PM, Freddie Cash fjwc...@gmail.com wrote:
* virt-manager which requires X and seems to be more desktop-oriented;
don't know about the others, but virt-manager runs only on the admin
station. on the VM hosts you run only libvirtd, which doesn't need X
in fact,
On Thu, 2010-06-24 at 11:11 +0300, Michael S. Tsirkin wrote:
On Sun, May 30, 2010 at 10:25:01PM +0200, Tejun Heo wrote:
Apply the cpumask and cgroup of the initializing task to the created
vhost poller.
Based on Sridhar Samudrala's patch.
Cc: Michael S. Tsirkin m...@redhat.com
Cc:
In order to make it convenient to run unit tests on
KVM autotest, add rules to install the flat files to
$(PREFIX)/share/qemu/tests.
Also, add a unittests.cfg file, a simple .ini file
that contains unittest definitions. The unittest
definitions work like this:
[unittest_name]
file = foo.flat #
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_vm.py |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index 966fb3c..87b037f 100755
--- a/client/tests/kvm/kvm_vm.py
+++
Should be set to yes to enable testdev.
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/kvm_vm.py |7 +++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index 87b037f..7b1fc05 100755
---
From: Michael Goldish mgold...@redhat.com
Based on Naphtali Sprei's patches.
Changes from v2:
- Determine dynamically what tests are available and
what are the options for them, based on the unittest
directory (that is supposed to be linked during the
build test)
Changes from v1:
- Determine
From: Michael Goldish mgold...@redhat.com
Based on Naphtali Sprei's patches.
Changes from v1:
- Remove reference_output parameter
Signed-off-by: Michael Goldish mgold...@redhat.com
---
client/tests/kvm/unittests.cfg.sample | 56 +
1 files changed, 56
For unittesting, for example, is interesting that we
run the VM with the bare mininum number of parameters.
This fix allows that.
Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com
---
client/tests/kvm/kvm_vm.py |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git
If we have a certain file that has information about
running unit tests, let's build the unittests on the
build.git mode. This feature depends on a qemu-kvm patch
that is still not upstream, but I am sending anyways so
people can comment.
Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com
Herbert Xu wrote:
On Wed, Jun 23, 2010 at 06:05:41PM +0800, Dong, Eddie wrote:
I mean once the frontend side driver post the buffers to the backend
driver, the backend driver will immediately use that buffers to
compose skb or gro_frags and post them to the assigned host NIC
driver as
Apparently, not all page faults on the guest result in a page fault in the
host. I would like to intercept page faults on the guest that are not handled
by the host.
I am not quite sure where (in the source code) can I monitor that?
Can any one give me code pointers to look at?
Work-around: -device pci-assign,host=00:19.1
OK, this new way can work when create guest with static assignment.
But how to hot add a pci device to guest? the old hot add command pci_add
pci_addr=auto host host=00:19.0 has the same parse error.
BTW: if we use add -net none in qemu command, guest
Herbert,
That's why I have sent you the patch for guest virtio-net driver. I reserved
512 bytes in each page, then I can always have the space to copy and avoid the
backend memory used up issue.
Thanks
Xiaohui
-Original Message-
From: Herbert Xu [mailto:herb...@gondor.apana.org.au]
On Thu, 24 Jun 2010 12:49:56 pm Ryan Harper wrote:
Using Rusty's suggestion I've respun the patch removing the special copy
function. I've tested this patch in a guest kernel with and without qemu
supplying serial numbers for the block devices and it's working as expected.
When qemu supplies
On Thu, 24 Jun 2010 03:00:30 pm Stefan Hajnoczi wrote:
On Wed, Jun 23, 2010 at 11:12 PM, Anthony Liguori anth...@codemonkey.ws
wrote:
Shouldn't it be possible to just drop the lock before invoking
virtqueue_kick() and reacquire it afterwards? There's nothing in that
virtqueue_kick() path
Hao, Xudong xudong@intel.com writes:
Work-around: -device pci-assign,host=00:19.1
OK, this new way can work when create guest with static assignment.
But how to hot add a pci device to guest? the old hot add command pci_add
pci_addr=auto host host=00:19.0 has the same parse error.
On 06/24/2010 03:58 AM, Marcelo Tosatti wrote:
Well yes, I expect that not using rcu_dereference() (and
srcu_read_lock()) is a bug here.
Marcelo?
No because slots_lock is held which serializes with memslot updates.
Right, I need to reread Documentation/kvm/locking.txt.
--
error
Fix build warning:
arch/powerpc/kvm/book3s_64_mmu.c: In function
'kvmppc_mmu_book3s_64_esid_to_vsid':
arch/powerpc/kvm/book3s_64_mmu.c:446: warning: 'slb' may be used uninitialized
in this function
Signed-off-by: Denis Kirjanov dkirja...@kernel.org
---
arch/powerpc/kvm/book3s_64_mmu.c |2 +-
On 24.06.2010, at 21:44, Denis Kirjanov wrote:
Fix build warning:
arch/powerpc/kvm/book3s_64_mmu.c: In function
'kvmppc_mmu_book3s_64_esid_to_vsid':
arch/powerpc/kvm/book3s_64_mmu.c:446: warning: 'slb' may be used
uninitialized in this function
Signed-off-by: Denis Kirjanov
75 matches
Mail list logo