Michael Goldish | 1 Jul 2010 11:37
Picon
Favicon

Re: How to add two NICs in createing VM?

On 07/01/2010 05:21 AM, miles kuo wrote:
> 2010/6/30 Michael Goldish <mgoldish <at> redhat.com>:
>> On 06/30/2010 05:19 PM, miles kuo wrote:
>>> 2010/6/30 Michael Goldish <mgoldish <at> redhat.com>:
>>>> On 06/30/2010 01:35 PM, miles kuo wrote:
>>>>> 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
>>>>>
(Continue reading)

miles kuo | 2 Jul 2010 04:59
Picon

Re: How to add two NICs in createing VM?

Thanks. It works well.

2010/7/1 Michael Goldish <mgoldish <at> redhat.com>:
> On 07/01/2010 05:21 AM, miles kuo wrote:
>> 2010/6/30 Michael Goldish <mgoldish <at> redhat.com>:
>>> On 06/30/2010 05:19 PM, miles kuo wrote:
>>>> 2010/6/30 Michael Goldish <mgoldish <at> redhat.com>:
>>>>> On 06/30/2010 01:35 PM, miles kuo wrote:
>>>>>> 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
(Continue reading)


Gmane