aqemu icon indicating copy to clipboard operation
aqemu copied to clipboard

CPU-count Bug

Open Dieter9 opened this issue 9 years ago • 4 comments

There is a bug in aqemu 0.9.3 from actual github. If you set the number of CPUs to 2 or more and switch between different VMs, the number it always set back to 1.

I had a look at the code and found the reason for that behavior: file: Main_Window.ccp subroutine: Main_Window::Update_Disabled_Controls() line 1695: ui.CB_CPU_Count->clear();

When I deleted this line, everything works fine.

Perhaps the line is at the wrong place and should be inserted in the nearby block if( curComp.PSO_SMP_Count == 1 ) { But I don't know what the block is for and how to test it.

Dieter9 avatar Sep 03 '16 08:09 Dieter9

Thanks for reporting this, I'll look into it.

tobimensch avatar Sep 03 '16 08:09 tobimensch

Confirmed on v0.9.2. In function void Main_Window::Update_VM_Ui(bool update_info_tab) line 1589 on v0.9.2 (or 1646 on master): Update_Disabled_Controls(); // FIXME Why FIXME here?

lv-zheng avatar Nov 04 '16 07:11 lv-zheng

Same problem with the cpu count : 0.9.2-2 (Debian stretch/sid)

watchix avatar Nov 24 '16 19:11 watchix

Same. I commented out the offending line // ui.CB_CPU_Count->clear(); and the "number of cpu's" now "sticks".

stef204 avatar Jan 08 '17 11:01 stef204