All of lore.kernel.org
 help / color / mirror / Atom feed
* qemu-kvm monitor command cpu_set query.
@ 2012-02-08 10:45 Onkar N Mahajan
  0 siblings, 0 replies; only message in thread
From: Onkar N Mahajan @ 2012-02-08 10:45 UTC (permalink / raw)
  To: kvm

I am doing kernel compilation on a guest with 16 VCPUs. 
like this :

make -j16 bzImage modules
Meanwhile on qemu monitor CLI, I do this :
(qemu) info cpus
* CPU #0: pc=0x00002b001abec3a4 thread_id=15395 
  CPU #1: pc=0x00002b2b25b49da2 thread_id=15396 
  CPU #2: pc=0xffffffff810f65e8 thread_id=15397 
  CPU #3: pc=0x0000000000454762 thread_id=15398 
  CPU #4: pc=0x000000000092cd60 thread_id=15399 
  CPU #5: pc=0x0000000000612903 thread_id=15400 
  CPU #6: pc=0x000000000092c67c thread_id=15401 
  CPU #7: pc=0x000000000040b8bd thread_id=15402 
  CPU #8: pc=0xffffffff81036e70 thread_id=15403 
  CPU #9: pc=0x000000000092f870 thread_id=15404 
  CPU #10: pc=0x000000000041bad4 thread_id=15405 
  CPU #11: pc=0x00000000005f8de4 thread_id=15406 
  CPU #12: pc=0x00000000004ae4f4 thread_id=15407 
  CPU #13: pc=0x00000000004dc178 thread_id=15408 
  CPU #14: pc=0x0000000000414291 thread_id=15409 
  CPU #15: pc=0x000000000069b112 thread_id=15410 
(qemu) cpu_set 15 offline
(qemu) info cpus
* CPU #0: pc=0xffffffff81025beb thread_id=15395 
  CPU #1: pc=0x00000000009328e3 thread_id=15396 
  CPU #2: pc=0xffffffff8124f7ad thread_id=15397 
  CPU #3: pc=0x000000000048b777 thread_id=15398 
  CPU #4: pc=0x00002b860801b7ac thread_id=15399 
  CPU #5: pc=0x00002b30ff2b63ea thread_id=15400 
  CPU #6: pc=0x00002b6f6cebf213 thread_id=15401 
  CPU #7: pc=0x00000000009329f8 thread_id=15402 
  CPU #8: pc=0xffffffff811192d0 thread_id=15403 
  CPU #9: pc=0x0000000000932842 thread_id=15404 
  CPU #10: pc=0x0000000000461788 thread_id=15405 
  CPU #11: pc=0x0000000000405be0 thread_id=15406 
  CPU #12: pc=0x00002b3b6dce84fb thread_id=15407 
  CPU #13: pc=0x00000000006e4c1e thread_id=15408 
  CPU #14: pc=0x0000000000452ee3 thread_id=15409 
  CPU #15: pc=0x0000000000466180 thread_id=15410 

VCPU #15 is set offline - still it is shown online. 
Shouldn't it be shown 'halted' ?


-- 
Onkar N Mahajan
System Software Engineer,
IBM Linux Technology Center, Bangalore - India


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-08 10:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-08 10:45 qemu-kvm monitor command cpu_set query Onkar N Mahajan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.