tarski wrote: > hello everyone, > > I was just wondering how KVM schedules multiple Virtual machines (guest > operating systems) running on top of it? If a thread/process blocks on a guest > os does KVM block the whole virtual machine or are other threads/processes > running on that particular guest given a chance to run? > > kvm is not aware of threads and processes within guests.
kvm (actually, the Linux scheduler) will deschedule a guest if one of these two conditions occur: - if the guest executes the 'hlt' instruction (typically when it has no processes to run) - using normal Linux process preemption rules (timeslice expires, higher priority thread becomes runnable, etc.) so it's quite possible for multiple guest threads or processes to run within a single host timeslice. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ kvm-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/kvm-devel
