Jiri Denemark 5d462bd0b3 Implement CPU topology support for QEMU driver
QEMU's command line equivalent for the following domain XML fragment
    <vcpus>2</vcpus>
    <cpu ...>
        ...
        <topology sockets='1' cores='2', threads='1'/>
    </cpu>

is

    -smp 2,sockets=1,cores=2,threads=1

This syntax was introduced in QEMU-0.12.

Version 2 changes:
- -smp argument build split into a separate function
- always add ",sockets=S,cores=C,threads=T" to -smp if qemu supports it
- use qemuParseCommandLineKeywords for command line parsing

Version 3 changes:
- ADD_ARG_LIT => ADD_ARG and line reordering in qemudBuildCommandLine
- rebased

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2010-01-19 11:40:09 +01:00
..
2009-07-16 15:06:42 +02:00
2010-01-18 01:44:20 +01:00
2010-01-18 01:44:20 +01:00
2009-11-03 16:46:54 -05:00
2009-10-07 12:18:13 +02:00
2009-10-07 12:18:13 +02:00
2009-10-07 12:18:13 +02:00
2009-10-07 12:18:13 +02:00
2009-10-07 12:18:13 +02:00
2009-10-08 16:34:22 +02:00
2009-10-07 12:18:13 +02:00
2009-07-16 15:06:42 +02:00
2009-10-07 12:18:13 +02:00
2009-10-07 12:18:13 +02:00
2010-01-15 16:28:05 +00:00
2009-10-07 12:18:13 +02:00
2010-01-18 01:44:20 +01:00
2010-01-18 01:44:20 +01:00