p...@informatimago.com (Pascal J. Bourguignon) writes:

> Mulyadi Santosa <mulyadi.sant...@gmail.com> writes:
>
>> On Sun, Jul 4, 2010 at 06:42, Pascal J. Bourguignon
>> <p...@informatimago.com> wrote:
>>> p...@informatimago.com (Pascal J. Bourguignon) writes:
>>>
>>>> I've got various Qemu running linux (gentoo or debian, all running the
>>>> same kernel).  On one of them,  I get very irregular response time.
>>>>
>>>> During a few seconds, it works normally.  Eg. thru a ssh connection, I
>>>> can type commands at bash, and I get the character echoed right away.
>>>> And then, for a few tens of seconds, it hangs, with no output and no
>>>> way to interrupt it or whatever.   The qemu process is in S state,
>>>> waiting in poll_s WCHAN.
> exec qemu $kvm \
>     -cpu ${cpu}   -smp ${ncpus},cores=${ncores}  -m ${mem}  ${vid...@]} \
>     -boot menu=on \
>     -net nic,model=${nic_model} -net tap \
>     -hda /domU/images/${vm}.boot.disk \
>     -hdb /domU/images/${vm}.ext3 \
>     -hdc /domU/images/${vm}.swap \


I eventually found the problem:  all qemu instances will use the same
MAC address for their NIC.   When I set different MACs to the
different VMs, everything works well: 

mac=52:54:0:0:0:1 # or 2, 3, ...
...
    -net nic,macaddr=${mac},model=${nic_model} -net tap \


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/


Reply via email to