Test cdrom about mount/format/copy/md5sum, change iso file by
monitor command, create iso files by pre_command, clean temporary
file by post_command.
Signed-off-by: Amos Kong
---
client/tests/kvm/tests/cdrom.py| 131
client/tests/kvm
Uses kernel supported nmi_watchdog to test the nmi support of kvm,
check the nmi count in Linux platform through /proc/interrupts.
Signed-off-by: Amos Kong
---
client/tests/kvm/tests/nmi_watchdog.py | 57
client/tests/kvm/tests_base.cfg.sample |7
2
On Mon, Jul 25, 2011 at 03:25:15PM -0300, Lucas Meneghel Rodrigues wrote:
> Hi folks, a little later than expected, here are the docs that explain
> how to run KVM autotest tests on an existing guest image:
>
> http://autotest.kernel.org/wiki/KVMAutotest/RunTestsExistingGuest
Good work! Lucas
A
This test does some basic operation on the virtual floppy,
it supports both Linux and Windows guests.
Signed-off-by: Amos Kong
---
client/tests/kvm/tests/floppy.py | 62
client/tests/kvm/tests_base.cfg.sample | 23
2 files changed, 85
mp/kvm_autotest_root/images/usbdevice.qcow2',if=none,cache=none,id=usb2.1
-device usb-storage,bus=ehci.0,drive=usb2.1,port=2
12:42:16 INFO | (qemu) *** EHCI support is under development ***
CC: Gerd Hoffmann
Signed-off-by: Amos Kong
---
client/tests/kvm/tes
On Thu, Mar 4, 2010 at 3:20 PM, sshang wrote:
> This test mainly tests whether all guest cpu flags are supported by host
> machine.
>
> Signed-off-by: sshang
Hi Lucas,
It seems that this patch[1] was lost by us. Have confirmed with shuang,
this subtest needs to be refactored. So let's wait th
This test uses 'hdparm' to set disk device to low/high
performance status, and compare the reading speed.
The emulated device should pass all the tests.
Signed-off-by: Feng Yang
Signed-off-by: Amos Kong
---
client/tests/kvm/tests/hdparm.py | 84 ++
- Original Message -
> On 07/29/11 06:53, Amos Kong wrote:
> > This test adds a usb storage for the guest, and do some check from
> > monitor and
> > inside the guest.
> > It's not very stable, could you help to review if something is
> > wrong?
&g
atch device with the detail output of 'lsusb -v'
- create disk image by pre_cmd
CC: Gerd Hoffmann
Signed-off-by: Amos Kong
---
client/tests/kvm/tests/usb.py | 50
client/tests/kvm/tests_base.cfg.sample |9 ++
2 files changed, 59 inserti
atch device with the detail output of 'lsusb -v'
- create disk image by pre_cmd
Changes from v2:
- reuse the new interface to add a usb disk to guest
- report a rh-bug 727725
CC: Gerd Hoffmann
Signed-off-by: Amos Kong
---
client/tests/kvm/tests/usb.py | 50
in vm_params.objects("images"):
image_params = vm_params.object_params(image_name)
# Call image_func for each image
image_func(test, image_params)
if not vm_first:
vm_func(test, vm_params, env, vm_name)
However, I'm
On Wed, Aug 10, 2011 at 2:53 PM, walimis wrote:
> On Wed, Aug 10, 2011 at 02:15:45PM +0800, Asias He wrote:
>>On 08/10/2011 01:55 PM, Pekka Enberg wrote:
>>> On Wed, Aug 10, 2011 at 8:43 AM, Asias He wrote:
On 08/10/2011 01:30 PM, Pekka Enberg wrote:
> On 8/10/11 2:56 AM, Asias He wrote:
can use them to prepare environment for performance testcases.
Signed-off-by: Amos Kong
---
client/tests/kvm/scripts/off_services_perf.sh | 27
client/tests/kvm/scripts/stop_services_perf.sh | 27
2 files changed, 54 insertions(+), 0 deletions
- Original Message -
> On Wed, 07 Sep 2011 14:07:49 +0800, Amos Kong
> wrote:
>
> > System services on guest and host take uncertain resource, it
> > effects
> > the perf results. We can use the below two scripts to disable some
>
Hello all,
I'm working on hotplug pci multifunction.
1. qemu cmdline:
./x86_64-softmmu/qemu-system-x86_64 -snapshot -m 2000
/home/kvm_autotest_root/images/rhel61-64-virtio.qcow2 -vnc :0 -monitor
unix:/tmp/a,server,nowait --enable-kvm -net none
2. script to add virtio-blk devices:
for i in `s
Hi all,
After reading the pci driver code, I found a problem.
There is a list for each slot, (slot->funcs)
it will be inited in acpiphp_glue.c:register_slot() before hotpluging device,
and only one entry(func 0) will be added to it,
no new entry will be added to the list when hotpluging devices t
- Original Message -
> Hi all,
I've tested with WinXp guest, the multifunction hotplug works.
> After reading the pci driver code, I found a problem.
>
> There is a list for each slot, (slot->funcs)
> it will be inited in acpiphp_glue.c:register_slot() before hotpluging
> device,
> and o
ntroller: Red Hat, Inc Virtio block device (rev ff)
@ ls /dev/vd*
vdb vdc vde vdf vdg vdh
@ mkfs /dev/vdb
INFO: task mkfs.ext2:1784 blocked for more than 120 seconds. (task hung)
Hotpluging multifunc of WinXp is fine.
Signed-off-by: Amos Ko
- Original Message -
> (2011/09/14 13:55), Amos Kong wrote:
> > 'slot->funcs' is initialized in acpiphp_glue.c:register_slot()
> > before
> > hotpluging device, and only one entry(func 0) is added to it,
> > no new entry will be added to the list
- Original Message -
> - Original Message -
> > (2011/09/14 13:55), Amos Kong wrote:
> > > 'slot->funcs' is initialized in acpiphp_glue.c:register_slot()
> > > before
> > > hotpluging device, and only one entry(func 0) is added to
xid's until the next reboot. Selecting
a new 'xid' for each retransmission is an implementation decision. A
client may choose to reuse the same 'xid' or select a new 'xid' for
each retransmitted message.
This patch generates random id when start dhcp, and recor
- Original Message -
> - Original Message -
> > On Thu, 15 Sep 2011 21:00:38 +0800, Amos Kong
> > wrote:
> >
> > > + netdev->xid = random();
> >
> > This will not work for reboots. The decision that the hardware
> > address
>
Whole Archive: http://marc.info/?l=kvm&m=131609166918121&w=2
- Original Message -
> On Thu, 2011-09-15 at 10:43 -0400, Amos Kong wrote:
> > - Original Message -
> > > - Original Message -
> > > > On Thu, 15 Sep 2011 21
- Original Message -
> On Thu, 2011-09-15 at 10:43 -0400, Amos Kong wrote:
> > - Original Message -
> > > - Original Message -
> > > > On Thu, 15 Sep 2011 21:00:38 +0800, Amos Kong
> > > > wrote:
> > > >
> > &
- Original Message -
> Whole Archive: http://marc.info/?l=kvm&m=131609166918121&w=2
>
> - Original Message -
> > On Thu, 2011-09-15 at 10:43 -0400, Amos Kong wrote:
> > > - Original Message -
> > > > - Original Message -
ddress, it's easy to
repeat, it always to be failed to get IP with PXE boot.
RFC suggests us to use random xid, it's necessary. This patch generates
random id when start dhcp, and record it to netdev struct.
Signed-off-by: Amos Kong
CC: Eduardo Habkost
CC: Michael Brown
---
src/include/i
Hotplug multi-func device doesn't work, only func 0 are regiestered
to guest pci driver, this patchset just add device entry in ACPI
DSDT tables for all functions in the slot.
---
Amos Kong (2):
Fix regression of commit 87b533bf
hotplug: Add device per func in ACPI DSDT tables
. However, a side effect of marking that code
(handle_post) as init code is that it is more likely the linker
could place the code at an address less than 0xe.
The patch (just a hack) would cover up the issue.
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff
ing,
single/multiple function device, they are all fine.
new acpi-dst.hex(332K):
http://amos-kong.rhcloud.com/pub/acpi-dsdt.hex
Signed-off-by: Amos Kong
---
src/acpi-dsdt.dsl | 31 +--
1 files changed, 25 insertions(+), 6 deletions(-)
diff --git a/src/acpi-dsdt.dsl b/
>From 4678a3cb0e0a3cd7a4bc3d284c5719fdba90bc61 Mon Sep 17 00:00:00 2001
From: Kevin O'Connor
Date: Tue, 20 Sep 2011 15:43:55 +0800
Subject: [PATCH V2] Fix regression of commit 87b533bf
From: Kevin O'Connor
After adding more device entries in ACPI DSDT tables,
the filesize of bios.bin changed fr
- Original Message -
> On Mon, Sep 19, 2011 at 01:02:59PM +0300, Michael S. Tsirkin wrote:
> > On Mon, Sep 19, 2011 at 12:57:33PM +0300, Gleb Natapov wrote:
> > > On Mon, Sep 19, 2011 at 03:27:38AM -0400, Amos Kong wrote:
> > > >
> > > > Only fu
>From 48ea1c9188334b89a60b4f9e853e86fc04fda4a5 Mon Sep 17 00:00:00 2001
From: Amos Kong
Date: Tue, 20 Sep 2011 15:38:43 +0800
Subject: [SeaBIOS PATCH v2] hotplug: Add device per func in ACPI DSDT tables
Only func 0 is registered to guest driver (we can
only found func 0 in slot->funcs l
- Original Message -
> On Tue, Sep 20, 2011 at 06:45:57AM -0400, Amos Kong wrote:
> > From 48ea1c9188334b89a60b4f9e853e86fc04fda4a5 Mon Sep 17 00:00:00
> > 2001
> > From: Amos Kong
> > Date: Tue, 20 Sep 2011 15:38:43 +0800
> > Subject: [SeaBIOS PATCH v2
- Original Message -
> On Wed, Sep 7, 2011 at 3:07 AM, Amos Kong wrote:
> > System services on guest and host take uncertain resource, it
> > effects
> > the perf results. We can use the below two scripts to disable some
> > services of host and guest.
> &
, BIOS patches that to EJ0_
> - generic ACP_EXTRACT infrastructure that can match Method
> and Name Operators
> - instead of matching specific method name, insert tags
> in original DSL source and match that to AML
Patch looks good to me.
Acked-by: Amos Kong
Currently, tcpdump can capture both dhcp Offer and ACK packets,
macaddr cache will be updated in those to condition,
dhcp Offer packet doesn't mean the IP is already allocated to
dhcp client.
Signed-off-by: Amos Kong
---
client/virt/virt_env_process.py | 10 --
1 files chang
On 10/12/2011 05:07 AM, Lucas Meneghel Rodrigues wrote:
This is a first attempt at providing a libvirt VM class,
in order to implement the needed methods for virt testing.
With this class, we will be able to implement a libvirt
test, that behaves similarly to the KVM test.
As of implementation d
On 10/12/2011 05:07 AM, Lucas Meneghel Rodrigues wrote:
This is an initial implementation for a libvirt monitor.
With it, we plan on making the libvirt test use all the
monitor features, making most of the tests available for
kvm available for libvirt.
As of implementation details, it uses aexpe
On 09/09/11 15:08, Amos Kong wrote:
Hello all,
I'm working on hotplug pci multifunction.
1. qemu cmdline:
./x86_64-softmmu/qemu-system-x86_64 -snapshot -m 2000
/home/kvm_autotest_root/images/rhel61-64-virtio.qcow2 -vnc :0 -monitor
unix:/tmp/a,server,nowait --enable-kvm -net none
2. s
dded.
For pci multifunction hotplug, we can add functions one by one(func 0 is
necessary), and all functions will be removed in one time.
Signed-off-by: Amos Kong
---
drivers/pci/hotplug/acpiphp_glue.c | 29 +
1 files changed, 13 insertions(+), 16 deletions(-)
For latest kernel, the device name of ide disk is 'sd*',
not 'hd*'.
Signed-off-by: Amos Kong
---
client/tests/kvm/tests/enospc.py |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/client/tests/kvm/tests/enospc.py b/client/tests/kvm/tests/enospc.py
in
- Original Message -
> With check_image_foo = yes, KVM autotest will use
> qemu-img to perform checks on the qcow2 image.
>
> This new functionality intends to replace the
> script check_image.py. The plan is to supersede most
> of the pre/post scripts in place throughout KVM
> autotest.
On Wed, Feb 09, 2011 at 11:28:56AM +0200, Avi Kivity wrote:
> On 02/09/2011 03:50 AM, Michael Goldish wrote:
> >This is a reimplementation of the dict generator. It is much faster than the
> >current implementation and uses a very small amount of memory. Running time
> >and memory usage scale pol
On Fri, Feb 18, 2011 at 05:14:09PM -0200, Lucas Meneghel Rodrigues wrote:
> As the original patch set don't define supported_features
> for it.
>
> Signed-off-by: Lucas Meneghel Rodrigues
Acked-by: Amos Kong
> ---
> client/tests/kvm/tests/ethtool.py |6 +++
Communicate between two vms, and try to capture packages from another vm in
the same lan.
This test used tcpdump, so we need limit it with Linux guests.
Signed-off-by: Amos Kong
---
client/tests/kvm/tests/privacy.py | 44
client/tests/kvm
.
Signed-off-by: Feng Yang
Signed-off-by: Amos Kong
---
client/tests/kvm/kvm_vm.py | 38
client/tests/kvm/tests_base.cfg.sample |4 +++
2 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm
On Wed, Mar 09, 2011 at 06:21:04AM -0300, Lucas Meneghel Rodrigues wrote:
> The programs cd_hash, html_report, scan_results can be
> used by other users of autotest, so move them to the
> tools directory inside the client directory.
>
> Signed-off-by: Lucas Meneghel Rodrigues
> ---
> client/tool
Hi pekka,
Does virtio-console work with kvm-tools?
It seems that virtio-console.vps[] is not initialized in virtio-console.c
(gdb) r run -i linux-0.2.img -k ./vmlinuz-2.6.38-rc6+ -r
./initrd.img-2.6.38-rc6+ -p=init=1 -m 500 -c
Starting program: /project/rh/kvm-tools/tools/kvm/kvm run -i linux-0
On Sun, Apr 10, 2011 at 11:13:54AM +0400, Cyrill Gorcunov wrote:
> On 04/10/2011 11:09 AM, Pekka Enberg wrote:
> > On Sun, Apr 10, 2011 at 9:50 AM, Asias He wrote:
> >> This patch makes Ctrl+a escape key. Ctrl+a+x will terminate kvm tools.
> >>
> >> It works for both serial and virtio console.
> >
Warning: request type 8
>
> Program received signal SIGFPE, Arithmetic exception.
> 0x004066cd in virt_queue__pop (queue=0x60d3c8) at
> include/kvm/virtio.h:21
> 21 return queue->vring.avail->ring[queue->last_avail_idx++ %
> queue-&
Changes from v1:
- move the check of virt_queue out of virt_queue__get_iov()
Reported-by: Amos Kong
Signed-off-by: Asias He
Signed-off-by: Amos Kong
---
tools/kvm/include/kvm/virtio.h |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tools/kvm/include/kvm/virtio.
I try to test with a rhel6.0 guest, it hung during the shutdown.
guest)# init 0
guest)# could not read byte from child: Success
initctl: Event failed
Stopping atd: [ OK ]
Stopping abrt daemon: [ OK ]
Stopping sshd: [ OK ]
Shutting down postfix: [ OK ]
Stopping crond: [ OK ]
Stopping HAL
On Sun, Apr 10, 2011 at 01:20:17PM +0300, Pekka Enberg wrote:
> This patch cleans up the table-based setup for legacy devices to use
> ioport__register().
>
> Cc: Asias He
> Cc: Cyrill Gorcunov
> Cc: Ingo Molnar
> Signed-off-by: Pekka Enberg
Looks good for me.
R
On Sun, Apr 10, 2011 at 08:05:30PM +0530, Onkar Mahajan wrote:
> What is vnet0 ? I see it when i do
> ifconfig in the host. Is it a TAP device ??
What's the output of '# brctl show' ?
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kern
- Original Message -
> On Tue, Dec 06, 2011 at 01:39:35PM +0800, Amos Kong wrote:
> > Only func 0 is registered to guest driver (we can
> > only found func 0 in slot->funcs list of driver),
> > the other functions could not be cleaned when
> > hot-removing t
_cpu(i)
| o = vm.monitor.info("cpus")
| for i in re.findall("thread_id=(\d+)", o):
| logging.debug("pin vcpu thread(%s) to host cpu node" % i)
| p.pin_cpu(i)
| p.show()
Signed-off-by: Amos Kong
---
client/tests/kvm/base.cfg.sample |5
client/
On 12/12/11 06:27, Benjamin Herrenschmidt wrote:
On Sun, 2011-12-11 at 14:25 +0200, Michael S. Tsirkin wrote:
Forwarding some results by Amos, who run multiple netperf streams in
parallel, from an external box to the guest. TCP_STREAM results were
noisy. This could be due to buffering done by
On 12/12/2011 01:12 PM, Rusty Russell wrote:
> On Mon, 12 Dec 2011 11:06:53 +0800, Amos Kong wrote:
>> On 12/12/11 06:27, Benjamin Herrenschmidt wrote:
>>> On Sun, 2011-12-11 at 14:25 +0200, Michael S. Tsirkin wrote:
>>>
>>>> Forwarding some results by Am
On 12/12/11 13:12, Rusty Russell wrote:
On Mon, 12 Dec 2011 11:06:53 +0800, Amos Kong wrote:
On 12/12/11 06:27, Benjamin Herrenschmidt wrote:
On Sun, 2011-12-11 at 14:25 +0200, Michael S. Tsirkin wrote:
Forwarding some results by Amos, who run multiple netperf streams in
parallel, from an
On 19/12/11 10:19, Amos Kong wrote:
On 12/12/11 13:12, Rusty Russell wrote:
On Mon, 12 Dec 2011 11:06:53 +0800, Amos Kong wrote:
On 12/12/11 06:27, Benjamin Herrenschmidt wrote:
On Sun, 2011-12-11 at 14:25 +0200, Michael S. Tsirkin wrote:
Forwarding some results by Amos, who run multiple
On 19/12/11 10:41, Benjamin Herrenschmidt wrote:
On Mon, 2011-12-19 at 10:19 +0800, Amos Kong wrote:
I tested with the same environment and scenarios.
tested one scenarios for three times and compute the average for more
precision.
Thanks, Amos
- compare results ---
Mon Dec
On 14/12/11 09:06, Kevin O'Connor wrote:
On Tue, Dec 06, 2011 at 07:32:55PM -0500, Amos Kong wrote:
- Original Message -
On Tue, Dec 06, 2011 at 01:39:35PM +0800, Amos Kong wrote:
Only func 0 is registered to guest driver (we can
only found func 0 in slot->funcs list of driv
ff-by: Amos Kong
---
client/tests/kvm/base.cfg.sample |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/base.cfg.sample b/client/tests/kvm/base.cfg.sample
index 411decf..c86ec1f 100644
--- a/client/tests/kvm/base.cfg.sample
+++ b/client/tests/kvm/base.cfg.s
- Original Message -
> * On 2011-12-19 21:11:32 +0800, Amos Kong (ak...@redhat.com) wrote:
> > Sometime, we need to test with guest(s) which have static ip
> > address(es).
> > eg. No real/emulated DHCP server in test environment.
> > eg. Test with old image we d
On 21/12/11 03:03, Lucas Meneghel Rodrigues wrote:
On 12/19/2011 11:11 AM, Amos Kong wrote:
Sometime, we need to test with guest(s) which have static ip
address(es).
eg. No real/emulated DHCP server in test environment.
eg. Test with old image we don't want to change the net config.
eg.
- Original Message -
> On 07/19/2011 02:05 PM, Sasha Levin wrote:
> > On Tue, 2011-07-19 at 13:57 +0300, Avi Kivity wrote:
> > > On 07/19/2011 01:31 PM, Sasha Levin wrote:
> > > > This patch changes coalesced mmio to create one mmio device
> > > > per
> > > > zone instead of handling
!
---
Amos Kong (4):
virt-test: add NTttcp subtests
virt-test: Refactor netperf test and add analysis module
netperf: pin guest vcpus/memory/vhost thread to numa node
virt: Introduce regression testing infrastructure
client/tests/kvm/control |7 +
client/tests
8| 399.576
We can compare it by a common method.
Signed-off-by: Qingtang Zhou
Signed-off-by: Amos Kong
---
client/tests/kvm/subtests.cfg.sample | 21
client/virt/tests/ntttcp.py | 160 ++
2 files changed, 181 insertions(+), 0 deletions(-)
cre
Always use a VM as netperf server, we can use
another VM/localhost/external host as the netperf
clients.
We setup env and launch test by executing remote
ssh commands, you need to configure the IP of
local/external host in configure file, VMs' IP
can be got automatically.
Signed-off-by: Amos
Dynamically checking hardware and pin guest cpu threads and
guest memory to last numa node
Signed-off-by: Amos Kong
---
client/virt/tests/netperf.py | 19 ++-
1 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/client/virt/tests/netperf.py b/client/virt/tests
autotest server.
autotest result directory should be shared by NFS first, and specify
its address in perf.conf
Signed-off-by: Amos Kong
---
client/tests/kvm/control|7 +
client/tests/kvm/perf.conf | 23
client/virt/tests/analyzer.py | 224
- Original Message -
> Hi akong,
>
> see the inline comment.
>
> On Fri, Dec 23, 2011 at 6:28 PM, Amos Kong wrote:
> > regression.py:
> > 'regression' module is used to compare the test results
> > of two jobs, we can use it (regression
;
> Welcome to give feedback, thanks in advance!
>
> ---
>
> Amos Kong (4):
> virt-test: add NTttcp subtests
> virt-test: Refactor netperf test and add analysis module
> netperf: pin guest vcpus/memory/vhost thread to numa node
> virt: Intro
.
User can configure test time/repeat times for getting stable results.
Welcome to give feedback, thanks in advance!
Changes from v1:
- refactor analysis module
- add new features in analysis code
- shape those two tests
- fix some script bugs
- add autoio script for ntttcp test
---
Amos Kong (4):
ds sync issue
- set test time to 30 seconds
Signed-off-by: Qingtang Zhou
Signed-off-by: Amos Kong
---
client/virt/scripts/ntttcp.au3 | 41 +
client/virt/subtests.cfg.sample | 22 +
client/virt/tests/ntttcp.py | 183 +++
3 files changed
with 'standard' format at the end of test,
then we can analyze them by general module.
Changes from v1:
- record packet bytes
- enable arp_ignore
- get packet info from ifconfig
- shape functions
- don't change ssh config
Signed-off-by: Amos Kong
---
client/virt/subtests.cfg.sample
Dynamically checking hardware and pin guest cpu threads and
guest memory to last numa node
Changes from v1:
- assign numanode to -1 for netperf test
Signed-off-by: Amos Kong
---
client/virt/subtests.cfg.sample |1 +
client/virt/tests/netperf.py| 19 ++-
2 files
13.7| -0.3|+14.2| ...
|
> perf.conf:
config test related parameters.
It supports to compare current result with the result in autotest server.
autotest result directory should be shared by NFS first, and specify
its address in perf.conf
Changes from v1:
- refactor analysis code
- add standard
ses irq lines 14 and 15 instead in the
unittest.
Cc: Jan Kiszka
Signed-off-by: Joerg Roedel
Looks correct.
Reviewed-by: Amos Kong
---
x86/apic.c | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/x86/apic.c b/x86/apic.c
index 2725b9a..50e77fc 100644
--- a/
On 07/05/2012 06:29 PM, Jason Wang wrote:
> This patch converts virtio_net to a multi queue device. After negotiated
> VIRTIO_NET_F_MULTIQUEUE feature, the virtio device has many tx/rx queue pairs,
> and driver could read the number from config space.
>
> The driver expects the number of rx/tx que
On 07/05/2012 08:51 PM, Sasha Levin wrote:
> On Thu, 2012-07-05 at 18:29 +0800, Jason Wang wrote:
>> @@ -1387,6 +1404,10 @@ static int virtnet_probe(struct virtio_device *vdev)
>> if (virtio_has_feature(vdev, VIRTIO_NET_F_CTRL_VQ))
>> vi->has_cvq = true;
>>
>> + /*
Those four patches make migration of IPv6 address work.
Use getaddrinfo() to socket addresses infomation.
---
Amos Kong (4):
Use getaddrinfo for migration
net/socket: allow ipv6 for net_socket_listen_init and socket_connect_init
net: split hostname and service by last colon
This allows us to use ipv4/ipv6 for migration addresses.
Once there, it also uses /etc/services names (it came free).
Signed-off-by: Juan Quintela
Signed-off-by: Amos Kong
---
migration-tcp.c | 60 ---
net.c | 108
Remove use of parse_host_port.
More SO_SOCKADDR changes.
Signed-off-by: Juan Quintela
Signed-off-by: Amos Kong
---
net/socket.c | 60 +++---
1 files changed, 11 insertions(+), 49 deletions(-)
diff --git a/net/socket.c b/net/socket.c
index
IPv6 address contains colons, parse will be wrong.
[2312::8274]:5200
Signed-off-by: Amos Kong
---
net.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/net.c b/net.c
index f63014c..9e1ef9e 100644
--- a/net.c
+++ b/net.c
@@ -84,7 +84,7 @@ static int get_str_sep
...
(qemu) migrate -d tcp:[2312::8274]:5200
Signed-off-by: Amos Kong
---
net.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/net.c b/net.c
index 9e1ef9e..cccdb6b 100644
--- a/net.c
+++ b/net.c
@@ -88,6 +88,12 @@ static int get_str_sep(char *buf, int buf_size, const char
- Original Message -
> - Original Message -
> > On 07/19/2011 02:05 PM, Sasha Levin wrote:
> > > On Tue, 2011-07-19 at 13:57 +0300, Avi Kivity wrote:
> > > > On 07/19/2011 01:31 PM, Sasha Levin wrote:
> > > > > This patch changes coalesced mmio to create one mmio device
> > > >
requires 2 such devices to service
notifications (ioevent) from rx/tx queues. So it needs 512 io_bus
devices.
The maximum of coalesced mmio zone is 100, each zone has an iobus
devices.
pit, pic, ioapic don't use many kvm_io_bus devices. So increase
NR_IOBUS_DEVS limit to 700.
Signed-off-by: Amos
This patchset adds a new network perf testcase for Windows,
refactors old netperf test, and support numa resource control.
Process the raw results to a standard format at the end of test.
regression.py can be used to compare two job results.
---
Amos Kong (6):
virt: Add vhost_threads and
Record vhost_net threads ID and vcpus threads ID to vm object
after creating VM.
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/virt/kvm_vm.py b/client/virt/kvm_vm.py
index c5dba08..b2d6088 100644
--- a/client/virt/kvm_vm.py
+++ b/client/virt
This function is used to pin vhost and vcpu threads of VM to
host cpu (in same numa node).
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/virt/virt_test_utils.py b/client/virt/virt_test_utils.py
index 6b0d7eb..7864d2a 100644
--- a/client/virt
me buf as sender
- 30 seconds is not enough, assign buf number to 2000000
Signed-off-by: Qingtang Zhou
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/virt/scripts/ntttcp.au3 b/client/virt/scripts/ntttcp.au3
new file mode 100755
index 000..004
with 'standard' format at the end of test,
then we can analyze them by general module.
Changes from v1:
- record packet bytes
- enable arp_ignore
- get packet info from ifconfig
- shape functions
- don't change ssh config
- use server.hosts.ssh_host.SSHHost to setup ssh
Signed-off-b
Dynamically checking hardware and pin guest cpu threads and
guest memory to last numa node
Changes from v1:
- assign numanode to -1 for netperf test
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/virt/subtests.cfg.sample b/client/virt
rovide mechanism to user, user can use tools directly or use the lib in
scripts
Signed-off-by: Amos Kong
---
client/tools/analyzer.py | 166
client/tools/perf.conf | 14
client/tools/regression.py | 24 ++
3 files changed, 20
.
This patch makes the kvm_io_bus_range array can be resized dynamically.
Signed-off-by: Amos Kong
CC: Alex Williamson
---
include/linux/kvm_host.h |3 +--
virt/kvm/kvm_main.c | 24 +++-
2 files changed, 16 insertions(+), 11 deletions(-)
diff --git a/include/linux
.
This patch makes the kvm_io_range array can be resized dynamically.
Changes from v1:
- fix typo: kvm_io_bus_range -> kvm_io_range
Signed-off-by: Amos Kong
CC: Alex Williamson
---
include/linux/kvm_host.h |3 +--
virt/kvm/kvm_main.c | 24 +++-
2 files changed,
. 300 io_bus devices is not enough.
This patch makes the kvm_io_range array can be resized dynamically.
Changes from v1:
- fix typo: kvm_io_bus_range -> kvm_io_range
Changes from v2:
- unregister device only when it exists
Signed-off-by: Amos Kong
Reviewed-by: Jason Wang
CC: Alex William
- Original Message -
> On 2012-02-29 14:30, Amos Kong wrote:
> > kvm_io_bus devices are used for ioevent, pit, pic, ioapic,
> > coalesced_mmio.
> >
> > Currently Qemu only emulates one PCI bus, it contains 32 slots,
> > one slot contains 8 functions,
- Original Message -
> On 2012-02-29 16:22, Amos Kong wrote:
> > - Original Message -
> >> On 2012-02-29 14:30, Amos Kong wrote:
> >>> kvm_io_bus devices are used for ioevent, pit, pic, ioapic,
> >>> coalesced_mmio.
> >>>
>
1 - 100 of 398 matches
Mail list logo