Hi ,
How do I test if vhost-net is actually enabled and working ?
Regards,
Onkar
--
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 2011-04-06 21:34, Anthony Liguori wrote:
On 04/06/2011 02:27 PM, Peter Maydell wrote:
Right, but honestly speaking, I don't know how this works for other arches.
So, the best thing to do is to have a general design that can be used
by any architecture. Of course that we can also add a new
Le 07/04/2011 09:18, Onkar Mahajan a écrit :
Hi ,
How do I test if vhost-net is actually enabled and working ?
Regards,
Onkar
--
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
On 04/07/2011 07:40 AM, Pekka Enberg wrote:
On Thu, Apr 7, 2011 at 6:56 AM, David Aherndsah...@gmail.com wrote:
Interesting overload of the kvm mailing list. Intended for changes to
the 'native kvm' (ie., tools/kvm)?
Yup, we're starting to use kvm@ for our patches and discussion as
On Thu, Apr 07, 2011 at 10:14:03AM +0900, Yoshiaki Tamura wrote:
2011/3/29 Josh Durgin josh.dur...@dreamhost.com:
The new format is
rbd:pool/image[@snapshot][:option1=value1[:option2=value2...]]
Each option is used to configure rados, and may be any Ceph option, or
conf.
The conf
2011/4/7 Stefan Hajnoczi stefa...@gmail.com:
On Thu, Apr 07, 2011 at 10:14:03AM +0900, Yoshiaki Tamura wrote:
2011/3/29 Josh Durgin josh.dur...@dreamhost.com:
The new format is
rbd:pool/image[@snapshot][:option1=value1[:option2=value2...]]
Each option is used to configure rados, and may
On Tue, Apr 5, 2011 at 6:37 PM, Lucas Meneghel Rodrigues l...@redhat.com
wrote:
Thanks for your detailed response!
On Tue, 2011-04-05 at 16:29 +0100, Stefan Hajnoczi wrote:
* Public notifications of breakage, qemu.git/master failures to
qemu-devel mailing list.
^ The challenge is to get
Linus, please pull from the repo/branch at:
git://git.kernel.org/pub/scm/virt/kvm/kvm.git kvm-updates/2.6.39
to receive a fix for virtualized cpuid and a host irqfd oops, as well as
a patch that enables asynchronous page faults, which was merged in
2.6.38 but not enabled.
Andre Przywara
Signed-off-by: Asias He asias.he...@gmail.com
---
tools/kvm/blk-virtio.c |6 --
tools/kvm/include/kvm/ioport.h |7 +--
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/tools/kvm/blk-virtio.c b/tools/kvm/blk-virtio.c
index 48211b5..9a723cc 100644
---
Signed-off-by: Asias He asias.he...@gmail.com
---
tools/kvm/include/kvm/virtqueue.h | 42 +
1 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/tools/kvm/include/kvm/virtqueue.h
b/tools/kvm/include/kvm/virtqueue.h
index 83f5293..de360ae 100644
preparing the virtio console and 8250 serial console consolidation
Signed-off-by: Asias He asias.he...@gmail.com
---
tools/kvm/Makefile |1 +
tools/kvm/include/kvm/term.h | 17
tools/kvm/main.c | 35 +---
tools/kvm/term.c | 89
Signed-off-by: Asias He asias.he...@gmail.com
---
tools/kvm/8250-serial.c | 40 ++
tools/kvm/include/kvm/8250-serial.h |2 +-
tools/kvm/main.c|2 +-
3 files changed, 9 insertions(+), 35 deletions(-)
diff --git
- consolidate all console related code to term.c
- use timer based approach instead of thread to deal with user input
NOTE:
Please add something like this:
T2:23:respawn:/sbin/getty -L hvc0 9600 vt100
to your /etc/inittab file to get a virtio console login.
Signed-off-by: Asias He
This option enables virtio console and disables serial console.
At this time, the virtio and serial console can not work simultaneously.
Becasue we can not put both console's output to user at the same time.
However, once we redirect the virtio console to a pipe or socket. We can
use both console
On 04/07/2011 01:50 PM, Pekka Enberg wrote:
Hi Asias,
On 4/8/11 5:05 AM, Asias He wrote:
- Consolidate all console related code to term.c
- Use timer based approach instead of thread to deal with user input
- Introduce --enable-virtio-console option, this option disables
serial console
On Thu, Apr 7, 2011 at 2:54 AM, Yoshiaki Tamura
tamura.yoshi...@gmail.com wrote:
2011/4/7 Stefan Hajnoczi stefa...@gmail.com:
On Thu, Apr 07, 2011 at 10:14:03AM +0900, Yoshiaki Tamura wrote:
2011/3/29 Josh Durgin josh.dur...@dreamhost.com:
The new format is
On 6 April 2011 20:34, Anthony Liguori anth...@codemonkey.ws wrote:
http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=/liaai/crashdump/liaaicrashdumpnmiipmi.htm
If an OS is totally hosed (spinning with interrupts disabled), and NMI can
be used to generate a crash dump.
On 04/07/2011 01:18 PM, Jordan Justen wrote:
On Thu, Apr 7, 2011 at 09:08, Anthony Liguorianth...@codemonkey.ws wrote:
On 04/07/2011 10:51 AM, Gleb Natapov wrote:
That may seams to be impossible but it is how HW works. And this is how
QEMU emulates it. Look at target-i386/helper.c:cpu_reset()
On Thu, Apr 07, 2011 at 01:37:14PM -0500, Anthony Liguori wrote:
The CS base starts out at 0xf and IP is 0xfff0. That gives a
real address of 0x0. This is usually a trampoline to somewhere
else in the space.
CS descriptor and CS selector don't have to be in sync (big real mode).
On Thu, Apr 07, 2011 at 01:32:50PM -0500, Anthony Liguori wrote:
On 04/07/2011 01:10 PM, Peter Maydell wrote:
On 6 April 2011 20:34, Anthony Liguorianth...@codemonkey.ws wrote:
http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/index.jsp?topic=/liaai/crashdump/liaaicrashdumpnmiipmi.htm
On Thu, Apr 7, 2011 at 11:44, Gleb Natapov g...@redhat.com wrote:
On Thu, Apr 07, 2011 at 01:37:14PM -0500, Anthony Liguori wrote:
The CS base starts out at 0xf and IP is 0xfff0. That gives a
real address of 0x0. This is usually a trampoline to somewhere
else in the space.
CS
On Thu, Apr 7, 2011 at 9:51 PM, Gleb Natapov g...@redhat.com wrote:
On Thu, Apr 07, 2011 at 01:32:50PM -0500, Anthony Liguori wrote:
On 04/07/2011 01:10 PM, Peter Maydell wrote:
On 6 April 2011 20:34, Anthony Liguorianth...@codemonkey.ws wrote:
On Thu, Apr 07, 2011 at 12:03:41PM -0700, Jordan Justen wrote:
On Thu, Apr 7, 2011 at 11:44, Gleb Natapov g...@redhat.com wrote:
On Thu, Apr 07, 2011 at 01:37:14PM -0500, Anthony Liguori wrote:
The CS base starts out at 0xf and IP is 0xfff0. That gives a
real address of 0x0. This
On Thu, Apr 07, 2011 at 10:04:00PM +0300, Blue Swirl wrote:
On Thu, Apr 7, 2011 at 9:51 PM, Gleb Natapov g...@redhat.com wrote:
On Thu, Apr 07, 2011 at 01:32:50PM -0500, Anthony Liguori wrote:
On 04/07/2011 01:10 PM, Peter Maydell wrote:
On 6 April 2011 20:34, Anthony
On 04/07/2011 01:44 PM, Gleb Natapov wrote:
KVM doesn't support SMM although that's not because of this. KVM
doesn't allow execution of ROM memory which makes it difficult to
implement PAM in the way it's intended to be implemented. This
makes SMM a bit tricky to make work. Since there's
On Thu, Apr 07, 2011 at 12:03:41PM -0700, Jordan Justen wrote:
But, Anthony's point ('there's never really been a pressing need to
support SMM') is probably the most important here, as I can't see a
compelling use for SMM in QEMU.
Running real biosen instead of seabios? Of course that's
On Thu, Apr 07, 2011 at 02:21:16PM -0500, Anthony Liguori wrote:
On 04/07/2011 01:44 PM, Gleb Natapov wrote:
KVM doesn't support SMM although that's not because of this. KVM
doesn't allow execution of ROM memory which makes it difficult to
implement PAM in the way it's intended to be
On Thu, Apr 7, 2011 at 12:21, Anthony Liguori anth...@codemonkey.ws wrote:
QEMU does the leg work already to support SMM. It doesn't work with KVM
because we treat SMM as ROM memory and trap read/write access.
To make it work with KVM, you'd have to hack things around to switch the VGA
space
- The Documentation/ directory will have a text file for each commmand. The
text file should contain the information about the command in manpage format.
- command-list.txt: is a list of common commands used with the kvm tool.
- util/generate-cmdlist.sh: is a shell script that uses
- parse-options.[ch] has argument processing code.
- types.h: Additional types for argument processing.
- strbuf.[ch]: Added a function prefixcmp to compare string prefix
Signed-off-by: Prasad Joshi prasadjoshi...@gmail.com
---
tools/kvm/include/kvm/parse-options.h | 161 ++
- kvm-run.[ch] Adds a new kvm command called 'run'. The most of the code is
copied from main.c.
- main.c is modified to use the functionality provided by framework.
The old code from main.c is moved to kvm-run.c.
Signed-off-by: Prasad Joshi prasadjoshi...@gmail.com
---
tools/kvm/Makefile
- kvm-cmd.h: Adds a new structure cmd_struct to create a table of commands
and callback function.
- kvm-cmd.c: implements two main functions for command processing.
kvm_get_command(): searches table for specific command.
handle_command(): invokes the callback function for a given command.
On Thu, Apr 7, 2011 at 12:24, Olivier Galibert galib...@pobox.com wrote:
On Thu, Apr 07, 2011 at 12:03:41PM -0700, Jordan Justen wrote:
But, Anthony's point ('there's never really been a pressing need to
support SMM') is probably the most important here, as I can't see a
compelling use for SMM
* Prasad Joshi prasadjoshi...@gmail.com wrote:
- kvm-cmd.h: Adds a new structure cmd_struct to create a table of commands
and callback function.
- kvm-cmd.c: implements two main functions for command processing.
kvm_get_command(): searches table for specific command.
On 04/07/11 13:47, Prasad Joshi wrote:
- parse-options.[ch] has argument processing code.
- types.h: Additional types for argument processing.
- strbuf.[ch]: Added a function prefixcmp to compare string prefix
Rather than copy perf code, how about a tools/lib?
David
Signed-off-by:
On 04/07/2011 02:31 PM, Gleb Natapov wrote:
Remapping part is easy. As you are saying QEMU already does remapping,
Yes.
the only thing missing is creating/destroying/remapping KVM memory slot
(with SMP it is slightly more complicated, but doable).
Yup. It's not impossible but not free.
On 04/07/2011 01:51 PM, Gleb Natapov wrote:
NMI does not have to generate crash dump on every guest we support.
Actually even for windows guest it does not generate one without
tweaking registry. For all I know there is a guest that checks mail when
NMI arrives.
And for all we know, a guest
On 04/07/2011 02:17 PM, Gleb Natapov wrote:
On Thu, Apr 07, 2011 at 10:04:00PM +0300, Blue Swirl wrote:
On Thu, Apr 7, 2011 at 9:51 PM, Gleb Natapovg...@redhat.com wrote:
I'd prefer something more generic like these:
raise /apic@fee0:l1int
lower /i44FX-pcihost/e1000@03.0/pinD
The
On Thu, Apr 7, 2011 at 9:14 PM, Ingo Molnar mi...@elte.hu wrote:
* Prasad Joshi prasadjoshi...@gmail.com wrote:
- kvm-cmd.h: Adds a new structure cmd_struct to create a table of commands
and callback function.
- kvm-cmd.c: implements two main functions for command processing.
2011/4/8 Yehuda Sadeh Weinraub yehud...@gmail.com:
On Thu, Apr 7, 2011 at 2:54 AM, Yoshiaki Tamura
tamura.yoshi...@gmail.com wrote:
2011/4/7 Stefan Hajnoczi stefa...@gmail.com:
On Thu, Apr 07, 2011 at 10:14:03AM +0900, Yoshiaki Tamura wrote:
2011/3/29 Josh Durgin josh.dur...@dreamhost.com:
Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com
---
client/tests/kvm/test_setup.py |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/test_setup.py b/client/tests/kvm/test_setup.py
index 1125aea..844108f 100644
--- a/client/tests/kvm/test_setup.py
The qemu-kvm version shipped by Fedora 14 does not support booting
from virtio disks directly, while qemu-kvm upstream doesn't. We
recently removed image_boot = yes from the virtio variant, so this
was causing a lot of KVM autotest newcomers to have the boot tests
failed. So unfortunately, we'll
You can specify drivers from a CDROM for those Operating Systems, so no need
of drivers in the floppy.
Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com
---
client/tests/kvm/test_setup.py |9 +++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git
On 04/06/2011 05:55 AM, Ingo Molnar wrote:
Splitting up a project into several trees, often unnecessarily, is a
self-inflicted wound really.
There's certainly something to this but the bit that surprises me is the
approaching being taken.
Why not take perf and all the other tools, stick
On 04/06/2011 04:33 AM, Ingo Molnar wrote:
* Avi Kivitya...@redhat.com wrote:
Sure, any succcesful project becomes an ugly gooball. It's almost a
compliment.
I disagree strongly with that sentiment and there's several good counter
examples:
- the Git project is also highly successful and
In order to fix make it possible to throw test errors in certain special
conditions, yet executing dependent tests,introduced a new public job API
and modified kvm_utils.run_tests logic.
Also modified preprocessing code to provide a feature asked for a long time:
make tests with dependencies
For the KVM test, we have for a long time a system of
'test dependencies': If a dependency test, such as guest
installation has failed, it is not possible to run subsequent
tests for obvious reasons. There are minor failures though,
that don't necessarily block other tests, such as some specific
So now if a error.TestWarn is thrown, dependent tests can run
just fine.
Signed-off-by: Lucas Meneghel Rodrigues l...@redhat.com
---
client/tests/kvm/kvm_utils.py | 15 ++-
1 files changed, 10 insertions(+), 5 deletions(-)
diff --git a/client/tests/kvm/kvm_utils.py
With the accumulated experience running the KVM test to
perform quality control on our KVM branches, we noticed
that qemu-img check might return exit code != 0, but
not all failures mean some data integrity problem happend.
After checking qemu-img check code, we found out that:
Exit code 1:
When the KVM config file parser generates the list of tests,
it will generate a full list of dicts, each dict maps to a
test to be executed. However, due to the design of our
dependency system, we skip running tests that had a dependency
failure.
While fair, this also masks the fact that the
Hi Anthony,
On Fri, Apr 8, 2011 at 5:14 AM, Anthony Liguori anth...@codemonkey.ws wrote:
If someone was going to seriously go about doing something like this, a
better approach would be to start with QEMU and remove anything non-x86 and
all of the UI/command line/management bits and start
On Fri, Apr 8, 2011 at 2:08 AM, Lucas Meneghel Rodrigues l...@redhat.com
wrote:
With the accumulated experience running the KVM test to
perform quality control on our KVM branches, we noticed
that qemu-img check might return exit code != 0, but
not all failures mean some data integrity
On 04/07/11 13:47, Prasad Joshi wrote:
- parse-options.[ch] has argument processing code.
- types.h: Additional types for argument processing.
- strbuf.[ch]: Added a function prefixcmp to compare string prefix
On Thu, 2011-04-07 at 14:17 -0600, David Ahern wrote:
Rather than copy
On Thu, 2011-04-07 at 23:33 +0100, Prasad Joshi wrote:
On Thu, Apr 7, 2011 at 9:14 PM, Ingo Molnar mi...@elte.hu wrote:
* Prasad Joshi prasadjoshi...@gmail.com wrote:
- kvm-cmd.h: Adds a new structure cmd_struct to create a table of commands
and callback function.
- kvm-cmd.c:
On Thu, Apr 07, 2011 at 04:39:58PM -0500, Anthony Liguori wrote:
On 04/07/2011 01:51 PM, Gleb Natapov wrote:
NMI does not have to generate crash dump on every guest we support.
Actually even for windows guest it does not generate one without
tweaking registry. For all I know there is a guest
On Thu, Apr 07, 2011 at 04:34:38PM -0500, Anthony Liguori wrote:
On 04/07/2011 02:31 PM, Gleb Natapov wrote:
Remapping part is easy. As you are saying QEMU already does remapping,
Yes.
the only thing missing is creating/destroying/remapping KVM memory slot
(with SMP it is slightly more
56 matches
Mail list logo