n.
- Do not copy 'vm.instance' in vm.clone()
- Split 'adding get_ifname function' to another patch
Signed-off-by: Jason Wang
Signed-off-by: Feng Yang
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_utils.py b/c
It's more clear to use 'nic_mode + nic_index + vnc_port' than 'tap0',
It's also unique for one guest.
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py
index 6812c9
The function get_interface_name is used to get the interface name of linux
guest through the macaddress of specified macaddress.
Signed-off-by: Jason Wang
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_test_utils.py
b/client
raw_ping
- Use session.sendline("\003") to send (ctrl+c) signal
- Use None to indicate that the session should be local
- Fix of coding style
Signed-off-by: Jason Wang
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_test_u
trict.
But we must check the ping result before/after flood-ping.
The interval and packet size could be configurated through tests_base.cfg
Changes from v1:
- Improve error message
Signed-off-by: Jason Wang
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --
According to different nic model set different MTU for it. And ping from guest
to host, to see whether tested size can be received by host.
Changes from v1:
- Make standard of lost ratio can be configured
Signed-off-by: Jason Wang
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions
test will be fail.
We can extend this test by using another disk later, then we can transfer larger
files without the limit of first disk size.
Changes from v1:
- Use md5 to verify the integrity of files
- Try to use autotest API, such as, utils.system()
Signed-off-by: Amos Kong
---
0 files
Repeatedly load/unload nic driver, try to transfer file between guest and host
by threads at the same time, and check the md5sum.
Changes from v1:
- Use a new method to get nic driver name
- Use utils.hash_file() to get md5sum
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0
This test mainly covers TCP sent from host to guest and from guest to host
with repeatedly turn on/off NIC promiscuous mode.
Changes from v1:
- Don't abruptly fail the whole test if we get a failure for a single size
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 dele
Changes from v1:
- Just flush the firewall rules with iptables -F
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/scripts/join_mcast.py
b/client/tests/kvm/scripts/join_mcast.py
new file mode 100755
index 000..0d90e5c
--- /dev/null
This case just snoop tftp packet through tcpdump, it depends on public dhcp
server, better to test it through dnsmasq.
FIXME: Use dnsmasq for pxe test
Signed-off-by: Jason Wang
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests
Mainly test steps:
1. get a new mac from pool, and the old mac addr of guest.
2. execute the mac_change.sh in guest.
3. relogin to guest and query the interfaces info by `ifconfig`
Signed-off-by: Cao, Chen
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff
AERTS
TCP_SENDFILE UDP_STREAM". DLPI only supported by Unix, unix domain test is
not necessary, so drop test of DLPI and unix domain.
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/netperf.py
b/client/tests/kvm/tests/netperf.py
new
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_utils.py b/client/tests/kvm/kvm_utils.py
index b019fc5..a24585b 100644
--- a/client/tests/kvm/kvm_utils.py
+++ b/client/tests/kvm/kvm_utils.py
@@ -789,7 +789,7 @@ def scp_from_remote
tween same vlan
. Maximal plumb/unplumb vlans
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/vlan.py b/client/tests/kvm/tests/vlan.py
new file mode 100644
index 000..a9c84b2
--- /dev/null
+++ b/client/tests/kvm/tests/vlan.
Framework could not totalise default extra_params and extra_params_vm1 in the
following condition, it's difficult to realise when parsing config file or
calling get_sub_dict*().
extra_params += ' str1'
- case:
extra_params_vm1 += " str2"
Signed-off-by: Amos Kong
tween host and guest, match new opened TCP port by
netstat. Capture the packages info by tcpdump, it contains package length.
FIXME: Quary supported offload function by 'ethtool'
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/te
Bug 615839 - kernel panic when install guest with -fda
There exists a bug of floppy driver, it blocked our installation tests.
So replace floppy with cdrom for Linux guestsin unattended_install.
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client
: Amos Kong
---
client/tests/kvm/scripts/unattended.py | 127 ++--
client/tests/kvm/tests_base.cfg.sample | 88 --
2 files changed, 119 insertions(+), 96 deletions(-)
diff --git a/client/tests/kvm/scripts/unattended.py
b/client/tests/kvm/scripts
-- Forwarded message --
From: Amos Kong
Date: Tue, Sep 7, 2010 at 7:49 AM
Subject: Guest hangs when I do general operation.
To: 王箫
kvm upstream: 43e413f7db1a4a90671dda0b1d6c1f8cb30673ed KVM: Whitespace
changes to remove differences wrt kvm-updates/2.6.37
qemu upstream
On Mon, Sep 06, 2010 at 05:33:11PM +0800, Jason Wang wrote:
> Kvm-unit-tests have moved to a repo out of qemu-kvm. This patch let
> the unittest could build the tests from specified git repo.
Looks good for me.
Reviewed-by: Amos Kong
> Signed-off-by: Jason Wang
> ---
> c
This summary would be helpful when analyze test log
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/x86/kvmclock_test.c b/x86/kvmclock_test.c
index 5b14ae2..97fe6b3 100644
--- a/x86/kvmclock_test.c
+++ b/x86/kvmclock_test.c
@@ -19,12 +19,15 @@ struct
On Wed, Sep 8, 2010 at 1:55 AM, Blue Swirl wrote:
> On Tue, Sep 7, 2010 at 2:43 AM, Amos Kong wrote:
>>
>> kvm upstream: 43e413f7db1a4a90671dda0b1d6c1f8cb30673ed KVM: Whitespace
>> changes to remove differences wrt kvm-updates/2.6.37
>> qemu upstream: cb93bbdd7db92e50f
On Fri, Sep 10, 2010 at 02:47:56PM -0700, H. Peter Anvin wrote:
> I discovered that none of the audio device models supported by current
> Qemu/KVM appear to be supported out of the box on Win7 64 bit (AC97
> works fine on 32 bit). The most logical ways to fix that would be to
> add a long-term su
On Mon, Sep 13, 2010 at 07:43:22PM +0200, Michael S. Tsirkin wrote:
> netdev option in new qemu is mutually exclusive with vlan.
> Only pass vlan if netdev option is missing.
>
> Signed-off-by: Michael S. Tsirkin
This fix looks good for me.
Reviewed-by: Amos Kong
BTW, we try to p
On Mon, Sep 13, 2010 at 02:04:57PM -0700, H. Peter Anvin wrote:
> On 09/13/2010 01:53 PM, Amos Kong wrote:
> >
> > # patch -p1 < /tmp/usb-audio.patch
> > # ./configure
> > ...
> > ...
> > preadv supportyes
> > fdatasync yes
> > u
On Mon, Sep 27, 2010 at 06:43:57PM -0400, Lucas Meneghel Rodrigues wrote:
> From: Amos Kong
>
> Use 'ping' to test send/recive multicat packets. Flood ping test is also
> added.
> Limit guest network as 'bridge' mode, because multicast packets could not b
On Thu, Sep 30, 2010 at 12:29:40PM +0530, pradeep wrote:
> On Mon, 27 Sep 2010 18:44:02 -0400
> Lucas Meneghel Rodrigues wrote:
>
> > From: Amos Kong
> >
> > This is an enhancement of existed vlan test. Rename the vlan_tag.py
> > to vlan.py, it is more reason
On Tue, Oct 05, 2010 at 02:30:18PM +0530, pradeep wrote:
> In Todo list i find TCP_CRR UDP_RR test case failures.
>
> 2) netperf
>
> 17:35:11 DEBUG| Execute netperf client
> test: /root/autotest/client/tests/netperf2/netperf-2.4.5/src/netperf -t
> TCP_CRR -H 10.16.74.142 -l 60 -- -m 1 17:35:45
se utils.hash_file() to get md5sum
>
> Signed-off-by: Amos Kong
> Signed-off-by: Lucas Meneghel Rodrigues
> ---
> client/tests/kvm/tests/nicdriver_unload.py | 115
>
> client/tests/kvm/tests_base.cfg.sample | 10 ++-
> 2 fil
On Mon, Oct 11, 2010 at 08:09:27PM +0530, pradeep wrote:
> Hi Lucas, i covered below tests on RHEL 5.5 , RHEL 6 guests with vhost
> enbled. Please find the below errors and cause for errros.
>
> I also attached few other test cases can be added to out TODO list of
> network patchset. I am workin
On Wed, Oct 13, 2010 at 12:47 AM, Lucas Meneghel Rodrigues
wrote:
> On Tue, 2010-10-12 at 18:24 +0200, Avi Kivity wrote:
>> On 10/12/2010 06:18 PM, Lucas Meneghel Rodrigues wrote:
>> > On Fri, 2010-10-08 at 15:02 -0300, Eduardo Habkost wrote:
>> > > On Thu, Oct 07, 2010 at 05:22:17PM -0300, Luiz
On Thu, Oct 14, 2010 at 02:56:59PM +0530, pradeep wrote:
> This patch is for Ping6 testing
>
> * ping6 with various message sizes guest to/from local/remote host
> using link-local addresses
> By default IPv6 seems to be disabled on virbr0. Enable it by
> doing echo 0 > /pr
Test 802.1Q vlan of nic, config it by vconfig command.
1) Create two VMs
2) Setup guests in different vlan by vconfig and test communication by ping
using hard-coded ip address
3) Setup guests in same vlan and test communication by ping
4) Recover the vlan config
Signed-off-by: Amos
On Mon, Oct 19, 2009 at 10:22:21AM +0200, Dor Laor wrote:
> On 10/15/2009 11:48 AM, Amos Kong wrote:
>>
>> Test 802.1Q vlan of nic, config it by vconfig command.
>>1) Create two VMs
>>2) Setup guests in different vlan by vconfig and test communication by
>&g
On Tue, Oct 20, 2009 at 09:19:50AM -0400, Michael Goldish wrote:
> See comments below.
Hi all,
Thanks for your reply.
> - "Dor Laor" wrote:
>
> > On 10/15/2009 11:48 AM, Amos Kong wrote:
> > >
> > > Test 802.1Q vlan of nic, config it by
qemu-ifup is a script for setting network bridge.
If no execute permission, always face this problem:
autotest/client/tests/kvm/scripts/qemu-ifup: could not launch network script
Could not initialize device 'tap
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 dele
setup in configure file.
Signed-off-by: Amos Kong
---
client/tests/kvm/kvm_tests.cfg.sample | 12 ++
client/tests/kvm/tests/vlan_tag.py| 68 +
2 files changed, 80 insertions(+), 0 deletions(-)
create mode 100644 client/tests/kvm/tests/vlan_tag.py
diff
On Wed, Oct 21, 2009 at 06:37:56PM +0800, Amos Kong wrote:
> On Tue, Oct 20, 2009 at 09:19:50AM -0400, Michael Goldish wrote:
> > See comments below.
>
> Hi all,
> Thanks for your reply.
>
.
>
> Agree with you.
> When I test this case, the original get_command
If login timeout, wait_for() returned 'None' and assigned to 'session'.
When call session.close(), this prlblem was caused:
"AttributeError: 'NoneType' object has no attribute 'close'"
Signed-off-by: Amos Kong
---
client/tests/kvm/tests/timedrif
On Fri, Dec 25, 2009 at 08:28:18AM -0500, Michael Goldish wrote:
>
> - "Amos Kong" wrote:
>
> > If login timeout, wait_for() returned 'None' and assigned to
> > 'session'.
> > When call session.close(), this prlblem was caused:
>
On Sat, Dec 26, 2009 at 10:07:58AM -0500, Michael Goldish wrote:
>
> - "Amos Kong" wrote:
>
> > On Fri, Dec 25, 2009 at 08:28:18AM -0500, Michael Goldish wrote:
> > >
> > > - "Amos Kong" wrote:
> > >
> &
If drift is a large negative, it couldn't raise exception.
Signed-off-by: Amos Kong
---
client/tests/kvm/tests/timedrift.py |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/client/tests/kvm/tests/timedrift.py
b/client/tests/kvm/tests/timedrift.py
index 14
> +logging.info("Copying image '%s'..." % image)
> +cmd = "cp %s %s" % (src_path, dst_path)
> +s, o = commands.getstatusoutput(cmd)
> +if s != 0:
> +raise error.TestFail("Failed to copy image %s: %s" % (cmd, o))
> diff --git a/client/tests/kvm/tests_bas
Add new drive option 'werror' of qemu-kvm command for KVM-autotest workframe.
It can be configured by 'drive_werror' variable in configure file.
Signed-off-by: Amos Kong
---
client/tests/kvm/kvm_vm.py |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --gi
On Sun, Jun 13, 2010 at 05:33:42PM +0300, Michael Goldish wrote:
> This module should replace vm.send_monitor_cmd(). Instead of connecting to
> the
> monitor each time a command is issued, this module maintains a continuous
> connection to the monitor. It disconnects when a test terminates and
>
On Sun, Jun 13, 2010 at 05:33:44PM +0300, Michael Goldish wrote:
> An initial QMP client implementation.
> Should be fully functional and supports asynchronous events.
> However, most tests must be modified to support it, because it returns output
> in a different format from the human monitor (the
address_pool in
following format:
{'macpool': {'AE:9D:94:6A:9b:f9': ['20100310-165222-Wt7l:0']}}
AE:9D:94:6A:9b:f9: mac address
20100310-165222-Wt7l : instance attribute of VM
0: index of NIC
Signed-off-by: Amos Kong
---
0 fil
and' instead of 'cmd')
>
> Signed-off-by: Michael Goldish
Reviewed-by: Amos Kong
Looks good for me, In the past, I've to create symbolic links for fix this
issue.
> ---
> client/tests/kvm/kvm_preprocessing.py |6 +++---
> client/tests/kvm/kvm_utils.py
The following series contain 11 network related subtests, welcome to give me
some suggestions about correctness, design, enhancement.
Thank you so much!
---
Amos Kong (14):
KVM-test: Add a new macaddress pool algorithm
KVM Test: Add a function get_interface_name() to
The following series contain 11 network related subtests, welcome to give me
some suggestions about correctness, design, enhancement.
Thank you so much!
---
Amos Kong (14):
KVM-test: Add a new macaddress pool algorithm
KVM Test: Add a function get_interface_name() to
address_pool in
following format:
{'macpool': {'AE:9D:94:6A:9b:f9': ['20100310-165222-Wt7l:0']}}
AE:9D:94:6A:9b:f9: mac address
20100310-165222-Wt7l : instance attribute of VM
0: index of NIC
Signed-off-by: Jason Wang
Signed-off-by: Feng
The function get_interface_name is used to get the interface name of linux
guest through the macaddress of specified macaddress.
Signed-off-by: Jason Wang
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/kvm_net_utils.py
b/client
The kvm_net_utils.py is a just a place that wraps common network
related commands which is used to do the network-related tests.
Use -1 as the packet ratio for loss analysis.
Use quiet mode when doing the flood ping.
Signed-off-by: Jason Wang
Signed-off-by: Amos Kong
---
0 files changed, 0
tests_base.cfg
Signed-off-by: Jason Wang
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/ping.py b/client/tests/kvm/tests/ping.py
new file mode 100644
index 000..cfccda4
--- /dev/null
+++ b/client/tests/kvm/tests/ping.py
@@ -0,0 +1,71
According to different nic model set different MTU for it. And ping from guest
to host, to see whether tested size can be received by host.
Signed-off-by: Jason Wang
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/jumbo.py b
test will be fail.
We can extend this test by using another disk later, then we can transfer larger
files without the limit of first disk size.
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/file_transfer.py
b/client/tests/kvm
Repeatedly load/unload nic driver, try to transfer file between guest and host
by threads at the same time, and check the md5sum.
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/nicdriver_unload.py
b/client/tests/kvm/tests
This test mainly covers TCP sent from host to guest and from guest to host
with repeatedly turn on/off NIC promiscuous mode.
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/nic_promisc.py
b/client/tests/kvm/tests/nic_promisc.py
Use 'ping' to test send/recive multicat packets. Flood ping test is also added.
Limit guest network as 'bridge' mode, because multicast packets could not be
transmitted to guest when using 'user' network.
Add join_mcast.py for joining machine into multicast gro
This case just snoop tftp packet through tcpdump, it depends on public dhcp
server, better to test it through dnsmasq.
Signed-off-by: Jason Wang
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/pxe.py b/client/tests/kvm/tests
Mainly test steps:
1. get a new mac from pool, and the old mac addr of guest.
2. execute the mac_change.sh in guest.
3. relogin to guest and query the interfaces info by `ifconfig`
Signed-off-by: Cao, Chen
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff
AERTS
TCP_SENDFILE UDP_STREAM". DLPI only supported by Unix, unix domain test is
not necessary, so drop test of DLPI and unix domain.
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/netperf.py
b/client/tests/kvm/tests/netperf.py
new
tween same vlan
. Maximal plumb/unplumb vlans
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/vlan.py b/client/tests/kvm/tests/vlan.py
new file mode 100644
index 000..dc7611b
--- /dev/null
+++ b/client/tests/kvm/tests/vlan.
tween host and guest, match new opened TCP port by
netstat. Capture the packages info by tcpdump, it contains package length.
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions(-)
diff --git a/client/tests/kvm/tests/ethtool.py
b/client/tests/kvm/tests/ethtool.py
new fi
On Tue, Jul 20, 2010 at 01:19:39PM +0300, Michael Goldish wrote:
>
Michael,
Thanks for your comments. Let's simplify this method together.
> On 07/20/2010 04:34 AM, Amos Kong wrote:
> > Old method uses the mac address in the configuration files which could
> > lead seriou
Except for kvm-clock, we need to wait a few seconds to let the interrupt
lost during the stop to be reinjected. So sleep for 30 seconds ( could
be configurated throug configuration file).
Signed-off-by: Jason Wang
Signed-off-by: Amos Kong
---
0 files changed, 0 insertions(+), 0 deletions
On Tue, Jul 20, 2010 at 06:53:27PM +0300, Michael Goldish wrote:
> On 07/20/2010 04:44 PM, Amos Kong wrote:
> > On Tue, Jul 20, 2010 at 01:19:39PM +0300, Michael Goldish wrote:
> >>
> >
> > Michael,
> >
> > Thanks for your comments. Let's simpl
On Wed, Jul 28, 2010 at 01:29:22PM +0300, Michael Goldish wrote:
> On 07/27/2010 05:08 AM, Lucas Meneghel Rodrigues wrote:
> > On Tue, 2010-07-20 at 09:35 +0800, Amos Kong wrote:
> >> The function get_interface_name is used to get the interface name of linux
> >> gues
On Tue, Jul 27, 2010 at 10:15:49AM -0300, Lucas Meneghel Rodrigues wrote:
> On Tue, 2010-07-20 at 09:35 +0800, Amos Kong wrote:
> > This test use ping to check the virtual nics, it contains two kinds of test:
> > 1. Packet loss ratio test, ping the guest with different size of
On Thu, Jul 15, 2010 at 06:57:35PM +0300, Michael Goldish wrote:
> These utilities use sc to stop and start windows services. They're used by
> whql_submission
> and whql_client_install to stop or restart wttsvc on the client machine.
>
> Signed-off-by: Michael Goldish
> ---
> client/tests/kvm
On Thu, Jul 22, 2010 at 01:14:17PM +0300, Michael Goldish wrote:
> whql_submission runs a submission on a given device. It requires a
> functioning external DTM server which runs rss.exe like regular Windows VMs,
> preferably with administrator permissions.
> The submission is defined by descripto
On Wed, Jul 28, 2010 at 07:07:34PM -0300, Lucas Meneghel Rodrigues wrote:
> On Tue, 2010-07-20 at 09:36 +0800, Amos Kong wrote:
> > This case just snoop tftp packet through tcpdump, it depends on public dhcp
> > server, better to test it through dnsmasq.
>
> It would be a
On Tue, Aug 3, 2010 at 3:10 AM, Lucas Meneghel Rodrigues
wrote:
> On Tue, 2010-07-20 at 09:36 +0800, Amos Kong wrote:
>> The latest case contains TX/RX/SG/TSO/GSO/GRO/LRO test. RTL8139 NIC doesn't
>> support TSO, LRO, it's too old, so drop offload test from rtl8
On Tue, Jul 27, 2010 at 10:13 PM, Lucas Meneghel Rodrigues
wrote:
> On Tue, 2010-07-20 at 09:35 +0800, Amos Kong wrote:
>> According to different nic model set different MTU for it. And ping from
>> guest
>> to host, to see whether tested size can be received by host.
>&
On Tue, Jul 27, 2010 at 10:36 PM, Lucas Meneghel Rodrigues
wrote:
> On Tue, 2010-07-20 at 09:35 +0800, Amos Kong wrote:
>> This test is the basic test of transfering file between host and guest. Try
>> to
>> transfer a large file from host to guest, and transfer it back to
On Thu, Jul 29, 2010 at 5:35 AM, Lucas Meneghel Rodrigues
wrote:
> On Tue, 2010-07-20 at 09:35 +0800, Amos Kong wrote:
>> This test mainly covers TCP sent from host to guest and from guest to host
>> with repeatedly turn on/off NIC promiscuous mode.
>>
>> Signed-off-
On Thu, Jul 22, 2010 at 01:14:19PM +0300, Michael Goldish wrote:
> The parameters that define submissions (dd_name_*, dd_data_*, desc_path_*)
> were
> collected from manually created submissions.
> I haven't yet collected the parameters for Windows 2003 and 2008, so for now
> WHQL tests are disabl
On Tue, Aug 17, 2010 at 06:40:05PM -0400, jzupka wrote:
> ---
> client/tests/kvm/tests/ksm_overcommit.py |7 ++-
> 1 files changed, 6 insertions(+), 1 deletions(-)
Looks good for me. Except some trailing whitespace :)
After disable transparent hugepage, ksm_parallel can pass.
ksm_seria
TS + 63) / 64];
> };
>
> -/* ppc -- see arch/powerpc/include/asm/kvm.h */
> +/* ppc -- see arch/powerpc/include/uapi/asm/kvm.h */
Trivial fix.
Reviewed-by: Amos Kong
>
> interrupt_bitmap is a bitmap of pending external interrupts. At most
> one bit may be set
On Thu, Jan 10, 2013 at 10:45:39PM +0800, ak...@redhat.com wrote:
> From: Amos Kong
>
> Currenly mac is programmed byte by byte. This means that we
> have an intermediate step where mac is wrong.
>
> Second patch introduced a new vq control command to set mac
> address
On Thu, Jan 10, 2013 at 10:57:05PM +0800, Jason Wang wrote:
> On 01/10/2013 10:45 PM, ak...@redhat.com wrote:
> > From: Amos Kong
> >
> > Currently we write MAC address to pci config space byte by byte,
> > this means that we have an intermediate step where mac is wrong
On Wed, Jan 16, 2013 at 02:20:39PM +0800, Jason Wang wrote:
> On Wednesday, January 16, 2013 01:57:01 PM ak...@redhat.com wrote:
> > From: Amos Kong
> >
> > Currently we write MAC address to pci config space byte by byte,
> > this means that we have an intermedi
On Thu, Jan 17, 2013 at 11:49:20AM +1030, Rusty Russell wrote:
> ak...@redhat.com writes:
> > @@ -349,6 +351,14 @@ static int virtio_net_handle_mac(VirtIONet *n, uint8_t
> > cmd,
> > {
> > struct virtio_net_ctrl_mac mac_data;
> >
> > +if (cmd == VIRTIO_NET_CTRL_MAC_ADDR_SET && elem->ou
On Wed, Jan 16, 2013 at 11:22:23AM +0200, Michael S. Tsirkin wrote:
> On Wed, Jan 16, 2013 at 10:13:28AM +0100, Stefan Hajnoczi wrote:
> > On Wed, Jan 16, 2013 at 03:33:24PM +0800, ak...@redhat.com wrote:
> > > +\change_inserted -1930653948 1358320004
> > > +The command VIRTIO_NET_CTRL_MAC_ADDR_SET
On Thu, Jan 17, 2013 at 01:45:11PM +0800, Amos Kong wrote:
> On Thu, Jan 17, 2013 at 11:49:20AM +1030, Rusty Russell wrote:
> > ak...@redhat.com writes:
> > > @@ -349,6 +351,14 @@ static int virtio_net_handle_mac(VirtIONet *n,
> > > uint8_t cmd,
> > > {
&
On Thu, Jan 17, 2013 at 02:13:08PM +0200, Michael S. Tsirkin wrote:
> On Thu, Jan 17, 2013 at 11:49:20AM +1030, Rusty Russell wrote:
> > ak...@redhat.com writes:
> > > @@ -349,6 +351,14 @@ static int virtio_net_handle_mac(VirtIONet *n,
> > > uint8_t cmd,
> > > {
> > > struct virtio_net_ctrl_
on the layout of descriptors.
>
> Signed-off-by: Michael S. Tsirkin
> Signed-off-by: Amos Kong
> ---
> hw/virtio-net.c | 128
>
> 1 file changed, 74 insertions(+), 54 deletions(-)
Had tested this patch with following sc
On Fri, Jan 18, 2013 at 12:00:42PM +0100, Stefan Hajnoczi wrote:
> On Thu, Jan 17, 2013 at 06:40:12PM +0800, ak...@redhat.com wrote:
> > diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
> > index 395ab4f..837c978 100644
> > --- a/drivers/net/virtio_net.c
> > +++ b/drivers/net/virtio
o set hardware address
V4: split eth_mac_addr, fix error handle
V5: rebase patches to net-next tree
Amos Kong (2):
move virtnet_send_command() above virtnet_set_mac_address()
virtio-net: introduce a new control to set macaddr
Stefan Hajnoczi (1):
net: split eth_mac_addr for better error han
We want to send vq command to set mac address in
virtnet_set_mac_address(), so do this function moving.
Fixed a little issue of coding style.
Signed-off-by: Amos Kong
---
drivers/net/virtio_net.c | 89 ++---
1 files changed, 44 insertions(+), 45
e can prepare first, and try to change hardware address, then do
the real commit if hardware address is set successfully.
Signed-off-by: Stefan Hajnoczi
Signed-off-by: Amos Kong
---
include/linux/etherdevice.h |2 ++
net/ethernet/eth.c | 41 +++--
2
Currently we write MAC address to pci config space byte by byte,
this means that we have an intermediate step where mac is wrong.
This patch introduced a new control command to set MAC address,
it's atomic.
VIRTIO_NET_F_CTRL_MAC_ADDR is a new feature bit for compatibility.
Signed-off-by:
On Mon, Jan 21, 2013 at 05:08:26PM +0100, Stefan Hajnoczi wrote:
> On Sat, Jan 19, 2013 at 09:54:27AM +0800, ak...@redhat.com wrote:
> > @@ -350,6 +351,18 @@ static int virtio_net_handle_mac(VirtIONet *n, uint8_t
> > cmd,
> > struct virtio_net_ctrl_mac mac_data;
> > size_t s;
> >
> > +
the header, sg[1] is the data buffer).
> >
> > This patch makes code not rely on the layout of descriptors.
> >
> > Signed-off-by: Michael S. Tsirkin
> > Signed-off-by: Amos Kong
> > ---
> > hw/virtio-net.c | 128
> > +++
This patch makes rx commands consistent with specification.
Signed-off-by: Amos Kong
---
hw/virtio-net.c | 14 +++---
hw/virtio-net.h | 14 +++---
2 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/hw/virtio-net.c b/hw/virtio-net.c
index acef5a5..ac4434e 100644
From: Michael S. Tsirkin
Virtio-net code makes assumption about virtqueue descriptor layout
(e.g. sg[0] is the header, sg[1] is the data buffer).
This patch makes code not rely on the layout of descriptors.
Signed-off-by: Michael S. Tsirkin
Signed-off-by: Amos Kong
---
hw/virtio-net.c
when new feature is acked
V4: add fix of descriptor layout assumptions, trivial rename
V5: fix endianness after iov_to_buf copy
Amos Kong (2):
virtio-net: introduce a new macaddr control
virtio-net: rename ctrl rx commands
Michael S. Tsirkin (1):
virtio-net: remove layout assumptions for ct
301 - 398 of 398 matches
Mail list logo