Hello All,
I have a small query - I am running a tests under KVM wich requires
2 VMs to be
booted up. I was surprised to see that they share the same VM image.
Please correct me
if I am wrong ??
# ps -elf | grep qemu-kvm
0 S root 5985 5984 0 80 0 - 26522 wait 18:34 pts/9
00:00:00 /bin/sh -c /usr/libexec/qemu-kvm -name 'vm1' -nodefaults
-monitor
unix:'/tmp/monitor-humanmonitor1-20120519-174736-f08C',server,nowait
-serial unix:'/tmp/serial-20120519-174736-f08C',server,nowait -device
ich9-usb-uhci1,id=usb1 -drive
file='/tmp/kvm_autotest_root/images/rhel63-64.qcow2',index=0,if=ide,cache=none,snapshot=on
-device rtl8139,netdev=id0kDIsh,mac='9a:c6:17:e9:0c:33',id='idvRJKhs' -netdev
tap,id=id0kDIsh,fd=21 -m 1024 -smp 2 -device
usb-tablet,id=usb-tablet1,bus=usb1.0 -vnc :0 -vga std && echo S0eyyH55 >
/dev/null
2 S root 5987 5985 23 80 0 - 349954 poll_s 18:34 pts/9
00:00:19 /usr/libexec/qemu-kvm -name vm1 -nodefaults -monitor
unix:/tmp/monitor-humanmonitor1-20120519-174736-f08C,server,nowait
-serial unix:/tmp/serial-20120519-174736-f08C,server,nowait -device
ich9-usb-uhci1,id=usb1 -drive
file=/tmp/kvm_autotest_root/images/rhel63-64.qcow2,index=0,if=ide,cache=none,snapshot=on
-device rtl8139,netdev=id0kDIsh,mac=9a:c6:17:e9:0c:33,id=idvRJKhs -netdev
tap,id=id0kDIsh,fd=21 -m 1024 -smp 2 -device
usb-tablet,id=usb-tablet1,bus=usb1.0 -vnc :0 -vga std
0 S root 6040 6039 0 80 0 - 26522 wait 18:34 pts/13
00:00:00 /bin/sh -c /usr/libexec/qemu-kvm -name 'vm2' -nodefaults
-monitor
unix:'/tmp/monitor-humanmonitor1-20120519-181018-zZ9Y',server,nowait
-serial unix:'/tmp/serial-20120519-181018-zZ9Y',server,nowait -device
ich9-usb-uhci1,id=usb1 -drive
file='/tmp/kvm_autotest_root/images/rhel63-64.qcow2',index=0,if=ide,cache=none,snapshot=on
-device rtl8139,netdev=idngJUyT,mac='9a:c6:17:e9:84:6e',id='idWYcZdh' -netdev
tap,id=idngJUyT,fd=22 -m 1024 -smp 2 -device
usb-tablet,id=usb-tablet1,bus=usb1.0 -vnc :1 -vga std && echo 4i4dcDYC >
/dev/null
2 S root 6042 6040 23 80 0 - 349954 poll_s 18:34 pts/13
00:00:19 /usr/libexec/qemu-kvm -name vm2 -nodefaults -monitor
unix:/tmp/monitor-humanmonitor1-20120519-181018-zZ9Y,server,nowait
-serial unix:/tmp/serial-20120519-181018-zZ9Y,server,nowait -device
ich9-usb-uhci1,id=usb1 -drive
file=/tmp/kvm_autotest_root/images/rhel63-64.qcow2,index=0,if=ide,cache=none,snapshot=on
-device rtl8139,netdev=idngJUyT,mac=9a:c6:17:e9:84:6e,id=idWYcZdh -netdev
tap,id=idngJUyT,fd=22 -m 1024 -smp 2 -device
usb-tablet,id=usb-tablet1,bus=usb1.0 -vnc :1 -vga std
0 S root 6140 2409 0 80 0 - 25811 pipe_w 18:35 pts/4
00:00:00 grep qemu-kvm
--
Onkar N Mahajan
System Software Engineer,
IBM Linux Technology Center,
Bangalore,India
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest