'Create a new Guest
:param xml: XML definition of the domain to create
:param host: host.Host connection to define the guest on
:returns guest.Guest: Guest ready to be launched'

@classmethod
def create(cls, xml, host):

    try:
        if (six.PY3 and isinstance(xml, six.binary_type)):
            xml = xml.decode('utf-8')
        guest = host.write_instance_config(xml)
    except Exception:
        with excutils.save_and_reraise_exception():
            LOG.error('Error    defining    a    guest    with    XML:    %s', encodeutils.safe_decode(xml))
    return guest
