On 07/30/2010 12:13 PM, Vasiliy G Tolstov wrote:
Good night or morning.... If i need to some kvm module, that runs in virtualized environment and reports some statistics to qemu (disk free space, memory usage, cpu utilization) what i need to write? I need kernel module, because userspace utilities under heavy load can't send such information via network (for example snmp under load does not respond). Does kvm have skeleton module, what i can use and append code needed for me?
I recommend using virtio-serial in userspace. If your load is very high, you can use mlockall() and sched_setscheduler() to keep the process in memory and on a cpu.
If you absolutely need a kernel module, you can base it off virtio-serial. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain. -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html