1. 30 6月, 2009 3 次提交
    • A
      introduce -cpu host target · fe4bce09
      Andre Przywara 提交于
      Although the guest's CPUID bits can be controlled in a fine grained way
      in QEMU, a simple way to inject the host CPU is missing. This is handy
      for KVM desktop virtualization, where one wants the guest to support the
      full host feature set.
      Introduce another CPU type called 'host', which will propagate the host's
      CPUID bits to the guest. Unwanted bits can still be turned off by using
      the existing syntax (-cpu host,-skinit)
      Signed-off-by: NAndre Przywara <andre.przywara@amd.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      fe4bce09
    • A
      allow hypervisor CPUID bit to be overriden · 6d2edc43
      Andre Przywara 提交于
      KVM defaults to the hypervisor CPUID bit to be set, whereas pure
      QEMU clears it. On some occasions one wants to set or clear it the
      other way round (for instance to get HyperV running inside a guest).
      
      Move the bit-set to be done before the command line parsing and
      enable it by default. One can disable it by using: -cpu qemu64,-hypervisor
      Fix some whitespace damage on the way.
      Signed-off-by: NAndre Przywara <andre.przywara@amd.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      6d2edc43
    • R
      support colon in filenames · 707c0dbc
      Ram Pai 提交于
      Problem: It is impossible to feed filenames with the character colon because
      qemu interprets such names as a protocol. For example filename scsi:0, is
      interpreted as a protocol by name "scsi".
      
      This patch allows user to espace colon characters. For example the above
      filename can now be expressed either as 'scsi\:0' or as file:scsi:0
      
      anything following the "file:" tag is interpreted verbatin. However if "file:"
      tag is omitted then any colon characters in the string must be escaped using
      backslash.
      
      Here are couple of examples:
      
      scsi\:0\:abc is a local file scsi:0:abc
      http\://myweb is a local file by name http://myweb
      file:scsi:0:abc is a local file scsi:0:abc
      file:http://myweb is a local file by name http://mywebSigned-off-by: NRam Pai <linuxram@us.ibm.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      707c0dbc
  2. 29 6月, 2009 37 次提交