mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-03-08 04:58:29 +03:00
devicepanic: don't set default iobase
This is not required and it's correctly handled by libvirt and QEMU. Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
36230c9a18
commit
48604bfb37
@ -28,8 +28,6 @@
|
||||
<emulator>/usr/bin/qemu-kvm</emulator>
|
||||
<controller type="usb" index="0" model="none"/>
|
||||
<console type="pty"/>
|
||||
<panic model="isa">
|
||||
<address type="isa" iobase="0x505"/>
|
||||
</panic>
|
||||
<panic model="isa"/>
|
||||
</devices>
|
||||
</domain>
|
||||
|
@ -28,8 +28,6 @@
|
||||
<emulator>/usr/bin/qemu-kvm</emulator>
|
||||
<controller type="usb" index="0" model="none"/>
|
||||
<console type="pty"/>
|
||||
<panic model="isa">
|
||||
<address type="isa" iobase="0x505"/>
|
||||
</panic>
|
||||
<panic model="isa"/>
|
||||
</devices>
|
||||
</domain>
|
||||
|
@ -63,9 +63,7 @@
|
||||
<rng model="virtio">
|
||||
<backend model="random">/dev/random</backend>
|
||||
</rng>
|
||||
<panic model="isa">
|
||||
<address type="isa" iobase="0x505"/>
|
||||
</panic>
|
||||
<panic model="isa"/>
|
||||
</devices>
|
||||
<seclabel type="dynamic" model="selinux"/>
|
||||
<seclabel type="none" model="dac"/>
|
||||
|
@ -30,7 +30,6 @@ class VirtualPanicDevice(VirtualDevice):
|
||||
MODELS = [MODEL_ISA]
|
||||
|
||||
ISA_ADDRESS_TYPE = "isa"
|
||||
IOBASE_DEFAULT = "0x505"
|
||||
|
||||
@staticmethod
|
||||
def get_pretty_model(panic_model):
|
||||
@ -48,7 +47,6 @@ class VirtualPanicDevice(VirtualDevice):
|
||||
default_name=MODEL_DEFAULT)
|
||||
type = XMLProperty("./address/@type",
|
||||
default_cb=_get_default_address_type)
|
||||
iobase = XMLProperty("./address/@iobase",
|
||||
default_cb=lambda s: s.IOBASE_DEFAULT)
|
||||
iobase = XMLProperty("./address/@iobase")
|
||||
|
||||
VirtualPanicDevice.register_type()
|
||||
|
Loading…
x
Reference in New Issue
Block a user