title: Adding NUMA nodes to a QEMU VM
body: <p>As of right now I have a batch script that runs my VM that looks like the following:</p>
  
  <pre><code>@echo off
  set "QEMUDIR=%USERPROFILE%\Documents\qemu"
  set "QEMUBIN=qemu-system-x86_64.exe"
  
  start "QEMU" %QEMUDIR%\%QEMUBIN% ^
          -smp 2 -numa node,nodeid=0 -numa node,nodeid=1 ^
          -drive file=hda.img,index=0,media=disk,format=raw -m 2G  ^
          -L Bios -boot menu=on -rtc base=localtime,clock=host ^
          -parallel none -serial none -name centos -no-acpi -no-hpet ^
          -no-reboot -device usb-mouse -device usb-kbd -usb ^
          -device e1000,netdev=user.0 ^
          -netdev user,id=user.0,hostfwd=tcp::2222-:22
  </code></pre>
  
  <p>But after the VM is created, it seems like it's ignoring my arguments to include 2 NUMA nodes. I ran the command <em>lscpu</em> and got the following output:</p>
  
  <pre><code>Architecture:          x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Byte Order:            Little Endian
  CPU(s):                2
  On-line CPU(s) list:   0,1
  Thread(s) per core:    1
  Core(s) per socket:    1
  Socket(s):             2
  NUMA node(s):          1
  Vendor ID:             AuthenticAMD
  CPU family:            6
  Model:                 6
  Model name:            QEMU Virtual CPU version 2.5+
  Stepping:              3
  CPU MHz:               3192.660
  BogoMIPS:              0.02
  Virtualization:        AMD-V
  L1d cache:             64K
  L1i cache:             64K
  L2 cache:              512K
  L3 cache:              16384K
  NUMA node0 CPU(s):     0,1
  Flags:                 fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
                         cmov pat mse36 clflush mmx fxsr sse sse2 syscall nx 
                         lm nopl pni cx16 hypervisor lahf_lm svm 3dnowprefetch 
                         vmmcall
  </code></pre>
  
  <p>What am I doing wrong?</p>