mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-05 20:58:31 +03:00
The copyright headers in every file were chjanged in this previous commit commit b6dcee8eb7ec4de999058c187162fe4aedef36b4 Author: Cole Robinson <crobinso@redhat.com> Date: Tue Mar 20 15:00:02 2018 -0400 Use consistent and minimal license header for every file Where before this they said " "either version 2 of the License, or (at your option) any later version." Now they just say "GNU GPLv2" This fixes it to say "GNU GPLv2 or later" again. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
22 lines
540 B
Python
22 lines
540 B
Python
# Copyright (C) 2013 Red Hat, Inc.
|
|
#
|
|
# Copyright 2012
|
|
# Eiichi Tsukata <devel@etsukata.com>
|
|
#
|
|
# This work is licensed under the GNU GPLv2 or later.
|
|
# See the COPYING file in the top-level directory.
|
|
|
|
from .device import Device
|
|
from ..xmlbuilder import XMLProperty
|
|
|
|
|
|
class DeviceMemballoon(Device):
|
|
XML_NAME = "memballoon"
|
|
|
|
MODEL_DEFAULT = "default"
|
|
MODELS = ["virtio", "xen", "none"]
|
|
|
|
model = XMLProperty("./@model",
|
|
default_name=MODEL_DEFAULT,
|
|
default_cb=lambda s: "virtio")
|