I wanted to add two NICs to the VM when installed the VM. But I only
could add one NIC to it.
- qemu_kvm_windows_s1:
qemu_binary = /usr/bin/qemu-kvm
only qcow2
only rtl8139 e1000
only virtio_blk
only smp2
only no_pci_assignable
only smallpages
only Win2008.r2
only unattended_install.cdrom boot shutdown
/usr/bin/qemu-kvm -name 'vm1' -monitor
unix:'/tmp/monitor-humanmonitor1-20100628-140809-2dXG',server,nowait
-serial unix:'/tmp/serial-20100628-140809-2dXG',server,nowait -drive
file='/tmp/kvm_autotest_root/images/win2008-r2.qcow2',if=virtio,boot=on
-net nic,vlan=0,netdev=idb2uffG,model=rtl8139,macaddr='52:54:00:12:34:56'
-netdev user,id=idb2uffG -m 1024 -smp 2 -drive
file='/tmp/kvm_autotest_root/isos/windows/en_windows_server_2008_r2_standard_enterprise_datacenter_and_web_x64_dvd_x15-59754.iso',index=2,media=cdrom
-drive
file='/tmp/kvm_autotest_root/isos/windows/winutils.iso',index=3,media=cdrom
-fda '/opt/autotest/autotest/client/tests/kvm/images/win2008-r2-64/floppy.img'
-redir tcp:5000::22 -redir tcp:5001::12323 -vnc :0 -boot d
The qemu command showed that only rtl8139 added to the VM.
2010/6/30 Michael Goldish <[email protected]>:
> On 06/30/2010 10:28 AM, miles kuo wrote:
>> I tried the two foramt. Both of them failed.
>>
>> only rtl8139 e1000
>
> The first one should work. How exactly did it fail? What were you
> expecting and what did you get? Please elaborate or send your cfg file.
>
>> or
>>
>> only rtl8139
>> only e1000
>
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest