Skip to content
  • Eduardo Habkost's avatar
    target-i386: Add "migratable" property to "host" CPU model · 84f1b92f
    Eduardo Habkost authored
    
    
    This flag will allow the user to choose between two modes:
     * All flags that can be enabled on the host, even if unmigratable
       (migratable=no);
     * All flags that can be enabled on the host, are known to QEMU
       and migratable (migratable=yes).
    
    The default is still migratable=false, to keep current behavior, but
    this will be changed to migratable=true by another patch.
    
    My plan was to support the "migratable" flag on all CPU classes, but
    have the default to "false" on all CPU models except "host". However,
    DeviceClass has no mechanism to allow a child class to have a different
    property default from the parent class yet, so by now only the "host"
    CPU model will support the "migratable" flag.
    
    Signed-off-by: default avatarEduardo Habkost <ehabkost@redhat.com>
    Signed-off-by: default avatarAndreas Färber <afaerber@suse.de>
    84f1b92f