Monthly Archives: March 2013
Openstack architecture diagram (kvm, qemu-kvm, libvirt, nova, cinder)a
Correct me if i am wrong. Openstack components (nova, cinder, glance) controls libvirt to provide visualization and libvirt use qemu-kvm as the hypervisor. The reason openstack don’t control the qemu-kvm directly is because libvirt provides better cross VM functionality (it can adopt to xen, vmware, etc…) and it provides high-end function such pool management and […] 2013/03/29
put python+django to apache through virtualhost
to put python+django to apache through virtualhost 1) edit /etc/httpd/conf/httpd.conf 2) edit /root/workspace/MyDjangoProject/P1/wsgi.py, change it to 2013/03/26
error in manage.py createsuperuser
error in manage.py createsuperuser To solve the above issues, type in 2013/03/26
GDB will remove all breakpoint and set it back repeatly
When you set the breakpoint by input the “b” command, the gdb will not set it immediately, it will wait until the user pressed “c” to cont execute the program. After you pressed “c”, gdb will set all the breakpoints for you. The most funny thing is : when gdb hit a breakpoint and gain […] 2013/03/23
qemu debug server hang after breakpoint is hit
If you are developing a debug server for qemu, after qemu hit a breakpoint, your server have to remove the breakpoint manually and re-insert it after the cpu passed that EIP, otherwise the cpu will forever stay in the EIP and can’t single-step/cont to the next instruction. If you take a look the gdbstub.c, gdb […] 2013/03/21
QEMU migration via QMP / Monitor command
I just tested the qemu-kvm with QMP, when i send out the qmp command for migration, it takes 20 seconds, it is much slower than type in the command in qemu monitor. 2013/03/21
How to use QMP, send command remotely to qemu
To use qmp and send command to qemu from another process, start qemu by This will create a file /tmp/test.gmp for interchange the command. Then you can start another terminal and invoke command.txt: !!! remark, must invoke { “execute”: “qmp_capabilities” } before invoke any qmp command 2013/03/20
openstack conflict with virtualbox
When you are running vm in virtual box, and try to start any vm in openstack. The vm that are running in virtualbox will crash immediately, you need to do the follow command to shut it down. If you want to restart that VM, please rmmod the kvm module. I guess is that the kvm […] 2013/03/17
OOM has trouble to KVM, it can’t shot down the kvm
In Linux, if the system is out of memory, OOM will pick one process to kill. But someone reported the OOM can’t kill the qemu-kvm, that mean if you are running many VMs that eat up all the memory, the Linux will hang because OOM can’t kill them In tried to run 64 VMs using […] 2013/03/17
Restructuring the debugger
At the moment, i am facing 2 big problems of bochs, the first one is unsolvable, bochs running too slow. It is ok if you are doing a hobby OS development, but if you are trying to use bochs to run a full feature Linux kernel or a windows 7, it is just so slow. […] 2013/03/13
add 1440×900 resolution to vnc
2013/03/07