* virtio module question...
@ 2010-07-30 9:13 Vasiliy G Tolstov
2010-08-01 17:04 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Vasiliy G Tolstov @ 2010-07-30 9:13 UTC (permalink / raw)
To: kvm
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?
Or how can i get such information?
Thank You. Sorry for bad English.
--
Vasiliy G Tolstov <v.tolstov@selfip.ru>
Selfip.Ru
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: virtio module question...
2010-07-30 9:13 virtio module question Vasiliy G Tolstov
@ 2010-08-01 17:04 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2010-08-01 17:04 UTC (permalink / raw)
To: v.tolstov; +Cc: kvm
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-08-01 17:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-30 9:13 virtio module question Vasiliy G Tolstov
2010-08-01 17:04 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox