qemu-devel
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
[Qemu-devel] Proper way to walk through all vpcus
From
:
Xin Tong
Subject
:
[Qemu-devel] Proper way to walk through all vpcus
Date
:
Sat, 28 Jan 2012 17:06:54 -0500
What is the proper way to iterate over all vcpus in qemu ? below is what i use in my code. Not sure whether it is the best way, also is a a macro is qemu to do this ?
CPUState *curr_cpu = first_cpu;
for(; curr_cpu != NULL; curr_cpu = curr_cpu->next_cpu) {
...
}
Thanks
Xin
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
[Qemu-devel] Proper way to walk through all vpcus
,
Xin Tong
<=
Re: [Qemu-devel] Proper way to walk through all vpcus
,
陳韋任
,
2012/01/31
Prev by Date:
[Qemu-devel] [Bug 524447] Re: virsh save is very slow
Next by Date:
[Qemu-devel] longjmp in qemu
Previous by thread:
[Qemu-devel] [Bug 524447] Re: virsh save is very slow
Next by thread:
Re: [Qemu-devel] Proper way to walk through all vpcus
Index(es):
Date
Thread