Ciao Charles,
sorry for this silly question, but I can't compile kvm-79 for AMD 64bit
Please pardon me for following up on one silly question with another --
but is your host running a 64-bit userland? (What is the output of
uname -m?)
[EMAIL PROTECTED]:/usr/src/kvm-79# uname -a
Linux kvm1
On Thursday 04 December 2008 23:14:31 Mark McLoughlin wrote:
Nothing takes a ref on virtio_pci, so even if you have
devices in use, rmmod will attempt to unload the module.
Fix by simply making each device take a ref on the module.
Hi Mark,
Taking a reference to oneself is almost always
Ciao Malinka,
your -mcpu=i686 specifically tells gcc to compile for 32-bit cpu you
need to use something like
-march=k8 or -mtune=k8 usually
ok, I can understand it, but I thought that it was enough to run
./compile
to obtain the correct Makefile with the right cpu-option
[EMAIL
Hi,
I want to divide host CPU performance between 2 VM in specified ratio. I use
Cgroups system and cpu.shares files, but I'm not much successful in doing that.
My scenario:
- 2 VM - Ubuntu server 8.10 with 4 VCPU, QCOW2 disk and about 300MB memory
running on host CPU with 4 cores
- in Cgroups:
Jiri Slaby wrote:
On 12/04/2008 01:44 PM, Mark McLoughlin wrote:
Nothing takes a ref on virtio_pci, so even if you have
devices in use, rmmod will attempt to unload the module.
It unbinds the device properly as any other driver. So what's the problem
here?
Here's what we get when
Hi Joerg,
On Fri, 2008-12-05 at 00:17 +0100, Joerg Roedel wrote:
Again, these new functions are copies of existing code with minor
modifications. I'd much rather see the existing code refactored and then
modified to handle the DOMAIN_FLAG_VIRTUAL_MACHINE case.
Hey Mark,
can your
Mark McLoughlin wrote:
Hi Joerg,
On Fri, 2008-12-05 at 00:17 +0100, Joerg Roedel wrote:
Again, these new functions are copies of existing code with minor
modifications. I'd much rather see the existing code refactored and
then modified to handle the DOMAIN_FLAG_VIRTUAL_MACHINE case.
Hello, all.
I want to use the patches [1]
written by Alexander Graf,
that, AFAIU, add to KVM possibility to create
nested KVM-machines
(in case it is running on AMD CPU with SVM-support).
I have several stupid questions about this.
My questions:
1. What is the best way to download these
Hi,
latest kvm-userspace git 6892f63c18a526c7b54bbde2f59287787eabe1f8
appears to have a bug /wrt VGA/VESA modes. I just fired up one of my
Linux test kernels which runs a framebuffer console in mode 0x317, but
the display just contains garbage. Reverting to
If your hardware supports it you could look into:
http://www.linuxmanpages.com/man8/numactl.8.php
Yes, my HW support it (I have already used it for keeping a VM on specified CPU
core), but it doesn't solve the generic ratio problem. For this case it can
be usable - ratio 3:1 on 4-core CPU is
On Fri, Dec 5, 2008 at 8:04 AM, Jan Kiszka [EMAIL PROTECTED] wrote:
Hi,
latest kvm-userspace git 6892f63c18a526c7b54bbde2f59287787eabe1f8
appears to have a bug /wrt VGA/VESA modes. I just fired up one of my
Linux test kernels which runs a framebuffer console in mode 0x317, but
the display
Jan Kiszka wrote:
Hi,
latest kvm-userspace git 6892f63c18a526c7b54bbde2f59287787eabe1f8
appears to have a bug /wrt VGA/VESA modes. I just fired up one of my
Linux test kernels which runs a framebuffer console in mode 0x317, but
the display just contains garbage. Reverting to
Hi Igor,
On 05.12.2008, at 10:47, Igor Chubin wrote:
Hello, all.
I want to use the patches [1]
written by Alexander Graf,
that, AFAIU, add to KVM possibility to create
nested KVM-machines
(in case it is running on AMD CPU with SVM-support).
I have several stupid questions about this.
My
Avi Kivity wrote:
Jan Kiszka wrote:
Hi,
latest kvm-userspace git 6892f63c18a526c7b54bbde2f59287787eabe1f8
appears to have a bug /wrt VGA/VESA modes. I just fired up one of my
Linux test kernels which runs a framebuffer console in mode 0x317, but
the display just contains garbage. Reverting
Hi,
Glauber Costa wrote:
For backward operations, dstpitch and srcpitch can
be negative. This leads BLTUNSAFE macro into an
overflow, and as a result, it avoids performing
operations that are perfectly valid.
The visible effect that led to that patch was the gnome-panel
bar in Fedora10. Before
Michael Tokarev napsal(a):
Jiri Slaby wrote:
On 12/04/2008 01:44 PM, Mark McLoughlin wrote:
Nothing takes a ref on virtio_pci, so even if you have
devices in use, rmmod will attempt to unload the module.
It unbinds the device properly as any other driver. So what's the problem
here?
Hi,
this patch series introduces multiple NUMA nodes support within KVM guests.
This is the second try incorporating several requests from the list:
- use the QEMU firmware configuration interface instead of CMOS-RAM
- detect presence of libnuma automatically, can be disabled with
./configure
The attached patch parses the command line options given at -numa and
passes it on to lower levels (namely qemu-kvm.c)
Signed-off-by: Andre Przywara [EMAIL PROTECTED]
--
Andre Przywara
AMD-Operating System Research Center (OSRC), Dresden, Germany
Tel: +49 351 277-84917
to satisfy European
According to the host node map given on the command line the VCPUs are
pinned to the respective node (allowing at least scheduling between the
cores belonging to this node). The mmap'ed guest memory will be bound to
the correct host nodes (this will of course not take effect until the
memory
According to the NUMA topology passed via the QEMU firmware
configuration interface the BIOS code generates a SRAT (System Resources
Affinity Table) to describe which (V)CPU and which part of memory is
assigned to a certain node. This will then be read and hopefully honored
by the guest OS.
Bugs item #2353811, was opened at 2008-11-27 16:44
Message generated for change (Comment added) made by krwi
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=893831aid=2353811group_id=180599
Please note that this message will contain a full copy of the comment
On Thursday 04 December 2008, Anthony Liguori wrote:
Hollis Blanchard wrote:
On Thu, 2008-12-04 at 20:33 +, Anthony Liguori wrote:
+static void balloon_page(void *addr, int deflate)
+{
+#if defined(__linux__)
+if (!kvm_enabled() || kvm_has_sync_mmu())
+madvise(addr,
Paul Brook wrote:
On Thursday 04 December 2008, Anthony Liguori wrote:
Hollis Blanchard wrote:
On Thu, 2008-12-04 at 20:33 +, Anthony Liguori wrote:
+static void balloon_page(void *addr, int deflate)
+{
+#if defined(__linux__)
+if (!kvm_enabled() || kvm_has_sync_mmu())
Hi Andre,
This patch series needs to be posted to qemu-devel. I know qemu doesn't
do true SMP yet, but it will in the relatively near future. Either way,
some of the design points needs review from a larger audience than
present on kvm-devel.
I'm not a big fan of the libnuma dependency.
On Fri, 2008-12-05 at 14:17 +0100, Jiri Slaby wrote:
Michael Tokarev napsal(a):
Jiri Slaby wrote:
On 12/04/2008 01:44 PM, Mark McLoughlin wrote:
Nothing takes a ref on virtio_pci, so even if you have
devices in use, rmmod will attempt to unload the module.
It unbinds the device properly
Hi Rusty,
On Fri, 2008-12-05 at 10:43 +1030, Rusty Russell wrote:
On Thursday 04 December 2008 23:14:31 Mark McLoughlin wrote:
Nothing takes a ref on virtio_pci, so even if you have
devices in use, rmmod will attempt to unload the module.
Fix by simply making each device take a ref on
Anthony,
This patch series needs to be posted to qemu-devel. I know qemu doesn't
do true SMP yet, but it will in the relatively near future. Either way,
some of the design points needs review from a larger audience than
present on kvm-devel.
OK, I already started looking at that. The first
Mark McLoughlin wrote:
Fix the virtio bus instead.
Yeah, the patch I posted wasn't meant as a fix for this traceback.
So what's the module_get patch needed for?
Here's one that does fix it.
...
From: Mark McLoughlin [EMAIL PROTECTED]
Subject: [PATCH] virtio: add device release() function
Anthony Liguori wrote:
In the event that the VM is larger than a single node, if a user is
creating it via qemu-system-x86_64, they're going to either not care
at all about NUMA, or be familiar enough with the numactl tools that
they'll probably just want to use that. Once you've got your
On Fri, Dec 05, 2008 at 04:25:31PM +0100, Jiri Slaby wrote:
Mark McLoughlin wrote:
Fix the virtio bus instead.
Yeah, the patch I posted wasn't meant as a fix for this traceback.
So what's the module_get patch needed for?
Here's one that does fix it.
...
From: Mark McLoughlin
Avi Kivity wrote:
Anthony Liguori wrote:
In the event that the VM is larger than a single node, if a user is
creating it via qemu-system-x86_64, they're going to either not care
at all about NUMA, or be familiar enough with the numactl tools that
they'll probably just want to use that.
Andre Przywara wrote:
Anthony,
This patch series needs to be posted to qemu-devel. I know qemu
doesn't do true SMP yet, but it will in the relatively near future.
Either way, some of the design points needs review from a larger
audience than present on kvm-devel.
OK, I already started
Jan Kiszka wrote:
That's good. If you want me to test as well, just throw something over.
It's pushed as tag kvm-80rc3 on kernel.org (will push as master once it
passes the regression tests). Thanks.
--
I have a truly marvellous patch that fixes the bug which this
signature is too
Mark McLoughlin wrote:
On Fri, 2008-12-05 at 14:17 +0100, Jiri Slaby wrote:
+static void virtio_pci_release_dev(struct device *dev)
+{
+}
+
/* A PCI device has it's own struct device and so does a virtio device so
* we create a place for the virtio devices to show up in sysfs. I think it
On Fri, 2008-12-05 at 09:27 +0100, paolo pedaletti wrote:
Ciao Malinka,
your -mcpu=i686 specifically tells gcc to compile for 32-bit cpu you
need to use something like
-march=k8 or -mtune=k8 usually
ok, I can understand it, but I thought that it was enough to run
./compile
to obtain
I pulled the latest:
kvm (commit 3c260758b41000986c3c064b17a9771286e98d1e)
kvm-userspace (commit 6892f63c18a526c7b54bbde2f59287787eabe1f8)
and built and installed the 2.6.28-rc7 x86_64 kernel from kvm pull, then
tried to build kvm-userspace and the build failed:
make -C
This patch shows in boot menu only available devices.
This patch has been tested with Bochs BIOS version from the KVM source tree.
Signed-off-by: Laurent Vivier [EMAIL PROTECTED]
---
bios/rombios.c | 54 +-
1 files changed, 37 insertions(+),
Mark McLoughlin wrote:
Also, I wasn't sure at first what you meant by native VT-d ... you
mean DMA-API VT-d usage as opposed to KVM device assignment usage,
right? Perhaps we need a better term for that distinction.
dma-api is request-oriented (the API is called to set up and tear down a
Han, Weidong wrote:
Will Avi merge intel-iommu changes into his master tree? If yes, we can push my
patches and Joerg's patches together. Otherwise, I need rebase my patches to
dwmw2's tree and push it into there first.
I think the iommu patches should be merged into Dave's tree first;
Hello kvm-devs,
I've tried to get an external usb SmartLink modem running in a guest. The
passthrough of the usb-device went fine. But on driver load the guest
crashes with the following trace.
Is there any chance to get this fixed?
Thanks
NicoP.
Dec 5 17:38:40 szpn0006 kernel: [ 28.220275]
Guillaume Thouvenin wrote:
This series of patches emulate instructions shld and shrd. As those
instructions have three operands we introduce a decode set for the Src2
operand. By doing this, the opcode descriptor needs to be extend to 32
bit.
So this series of patches:
[1/5] extend the opcode
Guillaume Thouvenin wrote:
Add 'shld' instruction test in real mode test harness.
Applied, thanks.
Avi, on my computer this test is broken but the problem seems to be
elsewhere because test_shld() works fine alone. I'm inspecting other
test. Used alone shld gives the right values (shift
Anthony Liguori napsal(a):
Actually, we should be able to delete this virtio_pci_root entirely.
The device is a dummy one anyway.
But the bus is still to be fixed...
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to [EMAIL PROTECTED]
More majordomo
Anthony Liguori wrote:
Whoever originally wrote the virtio code quite rudely didn't configure their
editor to use spaces instead of tabs. This patch corrects this for all virtio
related files.
Applied all seven. Note the last patch added trailing whitespace, which
I removed, so this can
Anthony Liguori wrote:
If vnet support is not available on the tap device, offset is uninitialized and
badness ensues.
Applied, thanks.
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
--
To unsubscribe from this list: send the line
Anthony Liguori wrote:
This gets virtio-net into an upstream acceptable state. This includes
introducing USE_KVM guards for IO thread notification (where did
qemu_service_io() go?). It also includes introducing TAP_VNET_HDR which is for
code that relies on the tap vnet support that is not
Glauber Costa wrote:
kvm header has to be always included.
Applied, thanks.
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to [EMAIL PROTECTED]
Amit Shah wrote:
The VMMCALL instruction doesn't get recognised and isn't processed
by the emulator.
This is seen on an Intel host that tries to execute the VMMCALL
instruction after a guest live migrates from an AMD host.
Applied, thanks.
--
I have a truly marvellous patch that fixes
Marcelo Tosatti wrote:
Addressing comments from previous version.
All applied, thanks.
--
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to [EMAIL
Avi Kivity wrote:
Jan Kiszka wrote:
That's good. If you want me to test as well, just throw something over.
It's pushed as tag kvm-80rc3 on kernel.org (will push as master once it
passes the regression tests). Thanks.
Garbage is gone, but update does not happen automatically. I have
Jan Kiszka wrote:
Garbage is gone, but update does not happen automatically. I have to
switch to the monitor or some other SDL console in back in order to see
the latest framebuffer updates.
That was indeed a symptom during the brokenness. Which guest are you
running? also, please supply
Avi Kivity wrote:
Jan Kiszka wrote:
Garbage is gone, but update does not happen automatically. I have to
switch to the monitor or some other SDL console in back in order to see
the latest framebuffer updates.
That was indeed a symptom during the brokenness. Which guest are you
On Fri, 2008-12-05 at 07:26 -0800, Greg KH wrote:
On Fri, Dec 05, 2008 at 04:25:31PM +0100, Jiri Slaby wrote:
Mark McLoughlin wrote:
Fix the virtio bus instead.
Yeah, the patch I posted wasn't meant as a fix for this traceback.
So what's the module_get patch needed for?
On Fri, 2008-12-05 at 16:25 +0100, Jiri Slaby wrote:
Mark McLoughlin wrote:
Fix the virtio bus instead.
Yeah, the patch I posted wasn't meant as a fix for this traceback.
So what's the module_get patch needed for?
A misguided attempt to create an artificial dependency between virtio
On Fri, 2008-12-05 at 09:43 -0600, Anthony Liguori wrote:
Mark McLoughlin wrote:
On Fri, 2008-12-05 at 14:17 +0100, Jiri Slaby wrote:
+static void virtio_pci_release_dev(struct device *dev)
+{
+}
+
/* A PCI device has it's own struct device and so does a virtio device so
*
On Fri, Dec 05, 2008 at 06:30:17PM +, Mark McLoughlin wrote:
On Fri, 2008-12-05 at 07:26 -0800, Greg KH wrote:
On Fri, Dec 05, 2008 at 04:25:31PM +0100, Jiri Slaby wrote:
Mark McLoughlin wrote:
Fix the virtio bus instead.
Yeah, the patch I posted wasn't meant as a fix for
Mark McLoughlin wrote:
On Fri, 2008-12-05 at 09:43 -0600, Anthony Liguori wrote:
Mark McLoughlin wrote:
On Fri, 2008-12-05 at 14:17 +0100, Jiri Slaby wrote:
+static void virtio_pci_release_dev(struct device *dev)
+{
+}
+
/* A PCI device has it's own struct device and so does a
Břeťa Vomočil wrote:
I want to divide host CPU performance between 2 VM in specified ratio.
Perhaps 'cpulimit' (http://sourceforge.net/projects/cpulimit/) can do this!?
HTH
Thomas
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to [EMAIL PROTECTED]
Commit fc94d163d1e3424199166cf50449e03447400579 broke -no-kvm-irqchip.
This fixes the issue by restoring the logic of
kvm_update_interrupt_request /wrt IRQ injection from the IO thread.
[However, I did not yet get the need for all the additional tests in
that function.]
Signed-off-by: Jan Kiszka
On Fri, Dec 05, 2008 at 06:48:09PM +0200, Avi Kivity wrote:
Han, Weidong wrote:
Will Avi merge intel-iommu changes into his master tree? If yes, we can
push my patches and Joerg's patches together. Otherwise, I need rebase my
patches to dwmw2's tree and push it into there first.
I
kvm_get_tsc_khz() currently returns the previously-calculated preset_lpj
value, but it is in loops-per-jiffy, not kHz. The current code works
correctly only when HZ=1000.
Signed-off-by: Eduardo Habkost [EMAIL PROTECTED]
---
arch/x86/kernel/kvmclock.c |8
1 files changed, 4
glibc implements posix-aio as a thread pool and imposes a number of limitations.
1) it limits one request per-file descriptor. we hack around this by dup()'ing
file descriptors which is hideously ugly
2) it's impossible to add new interfaces and we need a vectored read/write
operation to
Bugs item #2287677, was opened at 2008-11-15 01:39
Message generated for change (Comment added) made by darkman82
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=893831aid=2287677group_id=180599
Please note that this message will contain a full copy of the comment
Avi Kivity wrote:
Han, Weidong wrote:
Will Avi merge intel-iommu changes into his master tree? If yes, we
can push my patches and Joerg's patches together. Otherwise, I need
rebase my patches to dwmw2's tree and push it into there first.
I think the iommu patches should be merged into
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Hollis Blanchard
Sent: Thursday, December 04, 2008 7:50 AM
To: Liu Yu-B13201
Cc: kvm-ppc@vger.kernel.org
Subject: Re: [PATCH 1/3] kvmppc: Some refactor for merging e500
On Wed, 2008-12-03 at
65 matches
Mail list logo