KVM HOST
# qemu -net nic,vlan=0,macaddr=DE:XX:XX:XX:XX:XX,model=e1000 -net tap,vlan=0,ifname=virt00001,script=/etc/qemu-ifup -vnc :1 -localtime -k en-us -daemonize -smp 2 -m 2048 --localtime -drive file=/KVM_IMG/TEST.qcow2,if=scsi,index=0,media=disk,boot=on -boot c
KVM Guest
OS : CentOS release 6.5 (Final) x86_64
부팅옵션에 nolapic 추가후 부팅후 CPU 코어를 확인하면 정보가 서로 다름(메모리는 적용)
[root@localhost ~]# cat /proc/cpuinfo |grep processor
processor : 0
dmidecode (시스템(bios/dmi) 정보확인)
[root@localhost ~]# dmidecode -t 4 |grep CPU
Socket Designation: CPU 1
Socket Designation: CPU 2
nolapic : Disable the "local APIC".
Disables the "Local Advanced Programmable Interrupt Controler" which applies to newer CPUs and they are handled. nolapic is commonly used when you are using old hardware. Many times even withnoapic`.
APIC(Advanced Programmable Interrupt Controller)는
컴퓨터에서 발생하는 인터럽트에 사용되는 장치로 인터럽트를 발생시킬 때마다 적절한 일을 하는 방식으로 작동