def METHOD_NAME(vmxml):
    membacking = vm_xml.VMMemBackingXML()
    hugepages = vm_xml.VMHugepagesXML()
    vmxml.memory = int(1024000)
    membacking.hugepages = hugepages
    vmxml.mb = membacking
    logging.debug(vmxml)