Skip to content

Instantly share code, notes, and snippets.

@mattconnolly
Created September 5, 2013 00:27

Revisions

  1. mattconnolly revised this gist Sep 5, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@
    # add attr
    # set name=qemu-extra-opts
    # set type=string
    # set value=LXNtcCBjcHVzPTEsY29yZXM9NCx0aHJlYWRzPTI=
    # set value="LXNtcCBjcHVzPTEsY29yZXM9NCx0aHJlYWRzPTI="
    # end
    # commit
    # exit
  2. mattconnolly created this gist Sep 5, 2013.
    10 changes: 10 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    # zonecfg -z <uuid>
    # add attr
    # set name=qemu-extra-opts
    # set type=string
    # set value=LXNtcCBjcHVzPTEsY29yZXM9NCx0aHJlYWRzPTI=
    # end
    # commit
    # exit

    Then reboot the machine. The value is the base64 encoded string that will be added to the qemu-kvm options. The above is "-smp cpus=1,cores=4,threads=2", which plays nice with Windows which for some stupid reason only supports 2 cpus.