don't expose pvpanic device in the UI
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 77 lines · Gleb Natapov
Quoted 46 lines · Michael S. Tsirkin
Quoted 45 lines · Gleb Natapov
Quoted 44 lines · Michael S. Tsirkin
Quoted 31 lines · Gleb Natapov
Quoted 30 lines · Michael S. Tsirkin
Quoted 12 lines · Hu Tao
pvpanic device is an internal default device in qemu. It may cause problem when upgrading qemu from a version without pvpanic.
for example: in Windows(let's say XP) the Device manager will open a "new device" wizard and the device will appear as an unrecognized device. On a cluster with hundreds of such VMs, If that cluster has a health monitoring service it may show all the VMs in a "not healthy" state.
This patch is a workaround to not show pvpanic in UI to avoid the problem in Windows.
Quoted 8 lines
Cc Marcel Apfelbaum <[email protected]>Cc "Michael S. Tsirkin" <[email protected]>Cc Paolo Bonzini <[email protected]>Cc Gerd Hoffmann <[email protected]>Cc Eric Blake <[email protected]>Cc "Daniel P. Berrange" <[email protected]>Cc Andreas Färber <[email protected]>Signed-off-by Hu Tao <[email protected]>Quoting from this discussion:
>That may "fix" the issue of a windows guest showing the yellow ! mark, >but what if, down the road, someone writes an actual windows driver that >is aware of that port and how to make a windows BSOD write a panic >notification to the port? How does a user go about installing such a >driver if the device is not exposed in the user interface list of >devices?Quoted 8 lines
Quoted 6 lines
I think the correct way to address this is:
- don't create the device by default, only when -device pvpanic is present
- teach management to supply said -device pvpanic for guests which support the pvpanic deviceThat's just pushing the problem elsewhere. How management suppose to know if guest support pvpanic device?
Same as any PV device really. It's exactly the same problem as with virtio: user configures the XML properly.
Quoted 7 lines
Quoted 1 line
Virtio has alternatives.
I don't see why does it matter. In any case, only *some* virtio devices have alternatives.
What about the balloon device?VIRTIO_9P? There are more examples. What about e.g. ivshmem?They take very limited pci resources and/or provide functionality that should not be available for all guests. We do provide ACPI hotplug device unconditionally.
Quoted 19 lines
Quoted 6 lines
Quoted 5 lines
Quoted 2 lines
What if initially guest did not have a
driver, but the it was installed?You can reconfigure XML and reboot.
Will it cause Windows reactivation? Maybe after adding several devices?
I don't think it will.
https://en.wikipedia.org/wiki/Microsoft_Product_Activation
says:
Display adapter
SCSI adapter
IDE adapter
Network adapter MAC address
RAM amount range (e.g. 0-512 MB)
Processor type and serial number
Hard drive device and volume serial number
Optical drive (e.g. DVD-ROM)
Quoted 4 lines
Quoted 2 lines
As you see we do let people change many parameters that do affect activation.
By editing XML user can shoot himself in the foot, we should not prevent that.
So that's what I'm saying basically.
At the moment there's no way to remove this device from XML. That's just wrong.
In QEMU, we have a standard way to specify devices with -device. That should be the interface for anything new really unless there's a very compelling reason for something else. *Not* building it into the PC machine type.
Quoted 1 line
It should not be required though.
libvirt can pass -device pvpanic by default if nothing is specified in XML. That discussion really has to happen on libvirt list.
Signature · 1 line
MST
Quoted 8 lines · Michael S. Tsirkin
Quoted 4 lines
Quoted 2 lines
As you see we do let people change many parameters that do affect activation.
By editing XML user can shoot himself in the foot, we should not prevent that.
So that's what I'm saying basically.
At the moment there's no way to remove this device from XML. That's just wrong.
Can say the same about PV acpi hotpulg device.
Quoted 3 lines
In QEMU, we have a standard way to specify devices with -device. That should be the interface for anything new really unless there's a very compelling reason for something else.
We are disagree on compelling reason in this case obviously.
Quoted 8 lines
*Not* building it into the PC machine type.
Quoted 1 line
It should not be required though.
libvirt can pass -device pvpanic by default if nothing is specified in XML. That discussion really has to happen on libvirt list.
As Paolo said you are just pushing the "problem" up the stack where it is harder to "solve". I put "problem" and "solve" in quotes because I disagree that the problem that need to be solved is identified correctly. The correct problem to be solved IMO is writing Windows driver for the device.
--
Gleb.
----- Original Message -----
From: "Gleb Natapov" <[email protected]>
To: "Michael S. Tsirkin" <[email protected]>
Cc: "Daniel P. Berrange" <[email protected]>, "Marcel Apfelbaum" <[email protected]>, [email protected], [email protected], "Gerd Hoffmann" <[email protected]>, "Paolo Bonzini" <[email protected]>, "Eric Blake" <[email protected]>, "Andreas Färber" <[email protected]>
Sent: Tuesday, August 6, 2013 5:34:06 PM
Subject: Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI
Quoted 8 lines · Michael S. Tsirkin
Quoted 4 lines
Quoted 2 lines
As you see we do let people change many parameters that do affect activation.
By editing XML user can shoot himself in the foot, we should not prevent that.
So that's what I'm saying basically.
At the moment there's no way to remove this device from XML. That's just wrong.
Can say the same about PV acpi hotpulg device.
Quoted 3 lines
In QEMU, we have a standard way to specify devices with -device. That should be the interface for anything new really unless there's a very compelling reason for something else.
We are disagree on compelling reason in this case obviously.
Quoted 8 lines
*Not* building it into the PC machine type.
Quoted 1 line
It should not be required though.
libvirt can pass -device pvpanic by default if nothing is specified in XML. That discussion really has to happen on libvirt list.
As Paolo said you are just pushing the "problem" up the stack where it is harder to "solve". I put "problem" and "solve" in quotes because I disagree that the problem that need to be solved is identified correctly. The correct problem to be solved IMO is writing Windows driver for the device.
[VR]
This one shouldn't be too complicated. Can be done on weekend. --
Gleb.
_______________________________________________
SeaBIOS mailing list
[email protected]
http://www.seabios.org/mailman/listinfo/seabios
Quoted 33 lines · Vadim Rozenfeld
----- Original Message -----
From: "Gleb Natapov" <[email protected]>
To: "Michael S. Tsirkin" <[email protected]>
Cc: "Daniel P. Berrange" <[email protected]>, "Marcel Apfelbaum" <[email protected]>, [email protected], [email protected], "Gerd Hoffmann" <[email protected]>, "Paolo Bonzini" <[email protected]>, "Eric Blake" <[email protected]>, "Andreas Färber" <[email protected]>
Sent: Tuesday, August 6, 2013 5:34:06 PM
Subject: Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UIQuoted 8 lines · Michael S. Tsirkin
Quoted 4 lines
Quoted 2 lines
As you see we do let people change many parameters that do affect activation.
By editing XML user can shoot himself in the foot, we should not prevent that.
So that's what I'm saying basically.
At the moment there's no way to remove this device from XML. That's just wrong.Can say the same about PV acpi hotpulg device.
Quoted 3 lines
In QEMU, we have a standard way to specify devices with -device. That should be the interface for anything new really unless there's a very compelling reason for something else.
We are disagree on compelling reason in this case obviously.
Quoted 8 lines
*Not* building it into the PC machine type.
Quoted 1 line
It should not be required though.
libvirt can pass -device pvpanic by default if nothing is specified in XML. That discussion really has to happen on libvirt list.
Quoted 8 lines
As Paolo said you are just pushing the "problem" up the stack where it is harder to "solve". I put "problem" and "solve" in quotes because I disagree that the problem that need to be solved is identified correctly. The correct problem to be solved IMO is writing Windows driver for the device.
[VR]
This one shouldn't be too complicated. Can be done on weekend.
Gal says he did it already.
--
Gleb.
----- Original Message -----
From: "Gleb Natapov" <[email protected]>
To: "Vadim Rozenfeld" <[email protected]>
Cc: "Michael S. Tsirkin" <[email protected]>, "Daniel P. Berrange" <[email protected]>, "Marcel Apfelbaum" <[email protected]>, [email protected], [email protected], "Gerd Hoffmann" <[email protected]>, "Paolo Bonzini" <[email protected]>, "Eric Blake" <[email protected]>, "Andreas Färber" <[email protected]>
Sent: Tuesday, August 6, 2013 6:05:27 PM
Subject: Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI
Quoted 33 lines · Vadim Rozenfeld
----- Original Message -----
From: "Gleb Natapov" <[email protected]>
To: "Michael S. Tsirkin" <[email protected]>
Cc: "Daniel P. Berrange" <[email protected]>, "Marcel Apfelbaum" <[email protected]>, [email protected], [email protected], "Gerd Hoffmann" <[email protected]>, "Paolo Bonzini" <[email protected]>, "Eric Blake" <[email protected]>, "Andreas Färber" <[email protected]>
Sent: Tuesday, August 6, 2013 5:34:06 PM
Subject: Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UIQuoted 8 lines · Michael S. Tsirkin
Quoted 4 lines
Quoted 2 lines
As you see we do let people change many parameters that do affect activation.
By editing XML user can shoot himself in the foot, we should not prevent that.
So that's what I'm saying basically.
At the moment there's no way to remove this device from XML. That's just wrong.Can say the same about PV acpi hotpulg device.
Quoted 3 lines
In QEMU, we have a standard way to specify devices with -device. That should be the interface for anything new really unless there's a very compelling reason for something else.
We are disagree on compelling reason in this case obviously.
Quoted 8 lines
*Not* building it into the PC machine type.
Quoted 1 line
It should not be required though.
libvirt can pass -device pvpanic by default if nothing is specified in XML. That discussion really has to happen on libvirt list.
Quoted 8 lines
As Paolo said you are just pushing the "problem" up the stack where it is harder to "solve". I put "problem" and "solve" in quotes because I disagree that the problem that need to be solved is identified correctly. The correct problem to be solved IMO is writing Windows driver for the device.
[VR]
This one shouldn't be too complicated. Can be done on weekend.
Gal says he did it already.
[VR]
If so, we can add it to our build and make it public.
--
Gleb.
Quoted 49 lines · Vadim Rozenfeld
----- Original Message -----
From: "Gleb Natapov" <[email protected]>
To: "Vadim Rozenfeld" <[email protected]>
Cc: "Michael S. Tsirkin" <[email protected]>, "Daniel P. Berrange" <[email protected]>, "Marcel Apfelbaum" <[email protected]>, [email protected], [email protected], "Gerd Hoffmann" <[email protected]>, "Paolo Bonzini" <[email protected]>, "Eric Blake" <[email protected]>, "Andreas Färber" <[email protected]>
Sent: Tuesday, August 6, 2013 6:05:27 PM
Subject: Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UIQuoted 39 lines · Vadim Rozenfeld
----- Original Message -----
From: "Gleb Natapov" <[email protected]>
To: "Michael S. Tsirkin" <[email protected]>
Cc: "Daniel P. Berrange" <[email protected]>, "Marcel Apfelbaum" <[email protected]>, [email protected], [email protected], "Gerd Hoffmann" <[email protected]>, "Paolo Bonzini" <[email protected]>, "Eric Blake" <[email protected]>, "Andreas Färber" <[email protected]>
Sent: Tuesday, August 6, 2013 5:34:06 PM
Subject: Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UIQuoted 8 lines · Michael S. Tsirkin
Quoted 4 lines
Quoted 2 lines
As you see we do let people change many parameters that do affect activation.
By editing XML user can shoot himself in the foot, we should not prevent that.
So that's what I'm saying basically.
At the moment there's no way to remove this device from XML. That's just wrong.Can say the same about PV acpi hotpulg device.
Quoted 3 lines
In QEMU, we have a standard way to specify devices with -device. That should be the interface for anything new really unless there's a very compelling reason for something else.
We are disagree on compelling reason in this case obviously.
Quoted 8 lines
*Not* building it into the PC machine type.
Quoted 1 line
It should not be required though.
libvirt can pass -device pvpanic by default if nothing is specified in XML. That discussion really has to happen on libvirt list.
As Paolo said you are just pushing the "problem" up the stack where it is harder to "solve". I put "problem" and "solve" in quotes because I disagree that the problem that need to be solved is identified correctly. The correct problem to be solved IMO is writing Windows driver for the device.
Quoted 7 lines
Quoted 2 lines
[VR]
This one shouldn't be too complicated. Can be done on weekend.Gal says he did it already.
[VR]
If so, we can add it to our build and make it public.
That's the plan :)
--
Gleb.
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · Gleb Natapov
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
Besides, both -device pvpanic and use of ioport=0 to disable it are completely undocumented.
BTW pls keep qemu-devel Cc'd.
Quoted 1 line
We have different definition of "damage" though.
Driver bugs, qemu bugs, OSPM bugs all can cause issues like OS crashes, suspend/resume issues, bad performance ... What's your definition of damage?
Signature · 1 line
MST
Quoted 11 lines · Michael S. Tsirkin
Quoted 10 lines · Gleb Natapov
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?
Quoted 3 lines
Quoted 1 line
You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
Bug that should be fixed. With this command line _STA should return zero.
Quoted 3 lines
Besides, both -device pvpanic and use of ioport=0 to disable it are completely undocumented.
Not the only undocumented thing in QEMU command line :)
Quoted 2 lines
BTW pls keep qemu-devel Cc'd.
Haven't touched CC list.
Quoted 6 lines
Quoted 1 line
We have different definition of "damage" though.
Driver bugs, qemu bugs, OSPM bugs all can cause issues like OS crashes, suspend/resume issues, bad performance ... What's your definition of damage?
None of those cover the case at hand.
--
Gleb.
Am 06.08.2013 10:36, schrieb Gleb Natapov:
Quoted 14 lines · Michael S. Tsirkin
Quoted 13 lines · Gleb Natapov
Quoted 11 lines
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?You should be able to disable it with: -device pvpanic,ioport=0
Quoted 8 lines
Quoted 1 line
Doesn't work for me.
Bug that should be fixed. With this command line
_STAshould return zero.Quoted 3 lines
Besides, both -device pvpanic and use of ioport=0 to disable it are completely undocumented.
Not the only undocumented thing in QEMU command line :)
[snip]
I disagree: -device adds a device, not removes one. It will still be present.
I am neutral as to whether qemu-system-x86_64 should have it enabled by default or not. But if we want to suppress it, then -nodefaults should disable it. Since libvirt uses that though, it would mean libvirt would need to add it back, whether via user's XML domain config or by libvirt itself based on some version/etc. heuristics.
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 28 lines · Andreas Färber
Am 06.08.2013 10:36, schrieb Gleb Natapov:
Quoted 14 lines · Michael S. Tsirkin
Quoted 13 lines · Gleb Natapov
Quoted 11 lines
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?You should be able to disable it with: -device pvpanic,ioport=0
Quoted 8 lines
Quoted 1 line
Doesn't work for me.
Bug that should be fixed. With this command line
_STAshould return zero.Quoted 3 lines
Besides, both -device pvpanic and use of ioport=0 to disable it are completely undocumented.
Not the only undocumented thing in QEMU command line :)
[snip]
I disagree: -device adds a device, not removes one. It will still be present.
Quoted 7 lines
I am neutral as to whether qemu-system-x86_64 should have it enabled by default or not. But if we want to suppress it, then -nodefaults should disable it. Since libvirt uses that though, it would mean libvirt would need to add it back, whether via user's XML domain config or by libvirt itself based on some version/etc. heuristics.
Andreas
Do you agree that this (-nodefaults does not have pvpanic device by default, -device pvpanic adds it) makes more sense than the proposed alternative: -nodefaults has pvpanic unless an old -M type is specified, ioport=0 removes the device?
Quoted 3 lines
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 19 lines · Andreas Färber
Am 06.08.2013 10:36, schrieb Gleb Natapov:
Quoted 18 lines · Michael S. Tsirkin
Quoted 11 lines · Gleb Natapov
Quoted 10 lines
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?Quoted 3 lines
Quoted 1 line
You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
Bug that should be fixed. With this command line
_STAshould return zero.
Quoted 9 lines
Quoted 4 lines
Quoted 3 lines
Besides, both -device pvpanic and use of ioport=0 to disable it are completely undocumented.
Not the only undocumented thing in QEMU command line :)
[snip]
I disagree: -device adds a device, not removes one. It will still be present.
I assume you are answering to the quote about ioport=0, not documentation here. ioport=0 does not removes the device, it disables it. The claim was it cannot be disabled, it can (assuming no bugs), but it should not be.
Quoted 6 lines
I am neutral as to whether qemu-system-x86_64 should have it enabled by default or not. But if we want to suppress it, then -nodefaults should disable it. Since libvirt uses that though, it would mean libvirt would need to add it back, whether via user's XML domain config or by libvirt itself based on some version/etc. heuristics.
There is no clear definition of what -nodefaults should or should not do. Should it disable PV ACPI hotplug device? Should it create a machine with no mmio/io regions registered at all?
--
Gleb.
Quoted 40 lines · Gleb Natapov
Quoted 19 lines · Andreas Färber
Am 06.08.2013 10:36, schrieb Gleb Natapov:
Quoted 18 lines · Michael S. Tsirkin
Quoted 11 lines · Gleb Natapov
Quoted 10 lines
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?Quoted 3 lines
Quoted 1 line
You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
Bug that should be fixed. With this command line
_STAshould return zero.Quoted 9 lines
Quoted 4 lines
Quoted 3 lines
Besides, both -device pvpanic and use of ioport=0 to disable it are completely undocumented.
Not the only undocumented thing in QEMU command line :)
[snip]
I disagree: -device adds a device, not removes one. It will still be present.
I assume you are answering to the quote about ioport=0, not documentation here. ioport=0 does not removes the device, it disables it. The claim was it cannot be disabled, it can (assuming no bugs), but it should not be.
Quoted 6 lines
I am neutral as to whether qemu-system-x86_64 should have it enabled by default or not. But if we want to suppress it, then -nodefaults should disable it. Since libvirt uses that though, it would mean libvirt would need to add it back, whether via user's XML domain config or by libvirt itself based on some version/etc. heuristics.
Quoted 5 lines
There is no clear definition of what -nodefaults should or should not do.
Should it disable PV ACPI hotplug device?
Should it create a machine
with no mmio/io regions registered at all?
We can't change the meaning for existing devices. So we need to keep everything that it historically included.
But it's a good question whether e.g. ACPI hotplug for q35 should be a separate device, and disabled with -nodefaults.
Quoted 3 lines
--
Gleb.
pvpanic presents itself as a separate device, this is different from PV ACPI hotplug which is part of PIIX.
Am 06.08.2013 11:20, schrieb Gleb Natapov:
Quoted 23 lines · Andreas Färber
Quoted 22 lines
Am 06.08.2013 10:36, schrieb Gleb Natapov:
Quoted 21 lines · Michael S. Tsirkin
Quoted 11 lines · Gleb Natapov
Quoted 10 lines
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?Quoted 3 lines
Quoted 1 line
You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
Bug that should be fixed. With this command line
_STAshould return zero.Quoted 3 lines
Besides, both -device pvpanic and use of ioport=0 to disable it are completely undocumented.
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Not the only undocumented thing in QEMU command line :)
[snip]
I disagree: -device adds a device, not removes one. It will still be present.
I assume you are answering to the quote about ioport=0, not documentation here.
Answering to all of i) additional -device pvpanic,ioport=0 to disable another one, ii) ioport=0 to disable a certain device and iii) either being an undocumented feature to disable devices. ;)
"Disabled" here referring both to not in PIO/ACPI/etc. and to not present in the QOM composition tree.
In the end with pvpanic being an ISADevice, this goes back to my large series for Hervé's i87312 Super I/O chipset, where we discussed what would be involved in having a reconfigurable ISADevice not listen on some port/IRQ. We haven't decided on a solution yet (reconfiguring the i87312 from guest will assert or be ignored), and I strongly disagree to the solution of ioport=0 magic as general solution - either we should use realized=false (which then drops any VMStateDescription from migration) or revive my earlier attempts to add an explicit boolean ISADevice::enabled state, which would correspond to EEPROM-based reconfiguration of the plugged-in ISA card. Which of course would only help ISADevices but not MMIO-based SysBusDevices...
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 22 lines · Andreas Färber
Am 06.08.2013 10:36, schrieb Gleb Natapov:
Quoted 21 lines · Michael S. Tsirkin
Quoted 11 lines · Gleb Natapov
Quoted 10 lines
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?Quoted 3 lines
Quoted 1 line
You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
Bug that should be fixed. With this command line
_STAshould return zero.Quoted 3 lines
Besides, both -device pvpanic and use of ioport=0 to disable it are completely undocumented.
Quoted 8 lines
Quoted 1 line
Not the only undocumented thing in QEMU command line :)
[snip]
I disagree: -device adds a device, not removes one. It will still be present.
I am neutral as to whether qemu-system-x86_64 should have it enabled by default or not.
Me too.
Quoted 2 lines
But if we want to suppress it, then -nodefaults should
disable it.
ACK: that's how we do optional devices that are there by default.
ioport=0 affecting _STA is *not* "removing" the device, it's changing how the device is exposed to the guest. No opinion on whether it's a good idea or not.
Quoted 3 lines
Since libvirt uses that though, it would mean libvirt would
need to add it back, whether via user's XML domain config or by libvirt itself based on some version/etc. heuristics.
Doubt that'll be a problem for libvirt.
Quoted 27 lines · Markus Armbruster
Quoted 25 lines · Andreas Färber
Am 06.08.2013 10:36, schrieb Gleb Natapov:
Quoted 22 lines · Michael S. Tsirkin
Quoted 11 lines · Gleb Natapov
Quoted 10 lines
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?Quoted 3 lines
Quoted 1 line
You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
Bug that should be fixed. With this command line
_STAshould return zero.Quoted 3 lines
Besides, both -device pvpanic and use of ioport=0 to disable it are completely undocumented.
Not the only undocumented thing in QEMU command line :)
[snip]
Quoted 7 lines
Quoted 5 lines
I disagree: -device adds a device, not removes one. It will still be present.
I am neutral as to whether qemu-system-x86_64 should have it enabled by default or not.
Me too.
In general, me neither.
But we have -device to add a device, it's nicely self-documenting, We don't have -nodevice to remove a device except the big -nodefaults, and -nodefaults is not self-documenting, and it's not clear how it can be made self-documenting.
Quoted 12 lines · Gleb Natapov
Quoted 11 lines · Michael S. Tsirkin
Quoted 10 lines · Gleb Natapov
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
Bug that should be fixed. With this command line
_STAshould return zero.
It doesn't have anything to do with _STA: device still appears in QOM. It's a QEMU issue, devices that are added with -device are documented in -device help and removed by dropping them from command line. Devices added by default have no way to
be dropped from QOM except -nodefaults.
Quoted 4 lines
Quoted 3 lines
Besides, both -device pvpanic and use of ioport=0 to disable it are completely undocumented.
Not the only undocumented thing in QEMU command line :)
All -device fields are documented with -device help. This was supposed to be the right way to add all new devices.
Quoted 11 lines
Quoted 2 lines
BTW pls keep qemu-devel Cc'd.
Haven't touched CC list.
Quoted 6 lines
Quoted 1 line
We have different definition of "damage" though.
Driver bugs, qemu bugs, OSPM bugs all can cause issues like OS crashes, suspend/resume issues, bad performance ... What's your definition of damage?
None of those cover the case at hand.
Sigh. These examples demonstrate why would user want to run QEMU without the pvpanic device.
Quoted 2 lines
--
Gleb.
Quoted 13 lines · Michael S. Tsirkin
Quoted 12 lines · Gleb Natapov
Quoted 11 lines · Michael S. Tsirkin
Quoted 10 lines · Gleb Natapov
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
Bug that should be fixed. With this command line
_STAshould return zero.It doesn't have anything to do with
_STA: device still appears in QOM.
You said disabled, not removed. So does -global pvpanic,ioport=0 disables the device for you?
Quoted 5 lines
It's a QEMU issue, devices that are added with -device are documented in -device help and removed by dropping them from command line. Devices added by default have no way to be dropped from QOM except -nodefaults.
Are you saying that because pvpanic is added automatically QEMU -device help does not print help about it? Why not fix that? What QEMU --help issues has to do with deciding which devices should or should not be present by default?
Quoted 16 lines
Quoted 4 lines
Quoted 3 lines
Besides, both -device pvpanic and use of ioport=0 to disable it are completely undocumented.
Not the only undocumented thing in QEMU command line :)
All -device fields are documented with -device help. This was supposed to be the right way to add all new devices.
Quoted 6 lines
Quoted 2 lines
BTW pls keep qemu-devel Cc'd.
Haven't touched CC list.
Quoted 2 lines
Quoted 1 line
We have different definition of "damage" though.
Quoted 9 lines
Quoted 5 lines
Quoted 4 lines
Driver bugs, qemu bugs, OSPM bugs all can cause issues like OS crashes, suspend/resume issues, bad performance ... What's your definition of damage?
None of those cover the case at hand.
Sigh. These examples demonstrate why would user want to run QEMU without the pvpanic device.
He can disable it, but chances the device will cause aforementioned problems are so much smaller (by design mind you) than PV APIC hotplug device that it makes me wonder why haven't you advocate to make PV APIC hotplug device to be configurable with -device too.
--
Gleb.
Quoted 14 lines · Gleb Natapov
Quoted 13 lines · Michael S. Tsirkin
Quoted 12 lines · Gleb Natapov
Quoted 11 lines · Michael S. Tsirkin
Quoted 10 lines · Gleb Natapov
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?
Quoted 8 lines
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
Bug that should be fixed. With this command line
_STAshould return zero.It doesn't have anything to do with
_STA: device still appears in QOM.You said disabled, not removed.
I really meant disable adding it.
Quoted 2 lines
So does -global pvpanic,ioport=0
disables the device for you?
What do you mean by disabled?
Quoted 9 lines
Quoted 5 lines
It's a QEMU issue, devices that are added with -device are documented in -device help and removed by dropping them from command line. Devices added by default have no way to be dropped from QOM except -nodefaults.
Are you saying that because pvpanic is added automatically QEMU -device help does not print help about it? Why not fix that? What QEMU --help issues has to do with deciding which devices should or should not be present by default?
No, I'm saying what I said: that there's no way to remove a device added by default except -nodefaults, and no way to
find out what does -nodefaults exclude so you
can add things you need back selectively.
We wanted to fix the later issue for a long time, it's hard to fix - that's why we don't fix that.
Just using -device for everything is a work-around for now.
Quoted 22 lines
Quoted 22 lines
Quoted 4 lines
Quoted 3 lines
Besides, both -device pvpanic and use of ioport=0 to disable it are completely undocumented.
Not the only undocumented thing in QEMU command line :)
All -device fields are documented with -device help. This was supposed to be the right way to add all new devices.
Quoted 11 lines
Quoted 2 lines
BTW pls keep qemu-devel Cc'd.
Haven't touched CC list.
Quoted 6 lines
Quoted 1 line
We have different definition of "damage" though.
Driver bugs, qemu bugs, OSPM bugs all can cause issues like OS crashes, suspend/resume issues, bad performance ... What's your definition of damage?
None of those cover the case at hand.
Quoted 7 lines
Quoted 3 lines
Sigh. These examples demonstrate why would user want to run QEMU without the pvpanic device.
He can disable it, but chances the device will cause aforementioned problems are so much smaller (by design mind you) than PV APIC hotplug device that it makes me wonder why haven't you advocate to make PV APIC hotplug device to be configurable with -device too.
This might be a good idea for Q35.
We probably want to keep it as is for PIIX for compatibility. Then again, different behaviour for Q35/PIIX might confuse people.
Quoted 2 lines
--
Gleb.
Quoted 10 lines · Michael S. Tsirkin
Quoted 9 lines
Quoted 5 lines
It's a QEMU issue, devices that are added with -device are documented in -device help and removed by dropping them from command line. Devices added by default have no way to be dropped from QOM except -nodefaults.
Are you saying that because pvpanic is added automatically QEMU -device help does not print help about it? Why not fix that? What QEMU --help issues has to do with deciding which devices should or should not be present by default?
Quoted 5 lines
No, I'm saying what I said: that there's no way to remove a device added by default except -nodefaults, and no way to
find out what does -nodefaults exclude so you
can add things you need back selectively.
And what are the rules that govern device exclusion from -nodefaults list? Why -nodefaults does not create empty machine?
Quoted 4 lines
We wanted to fix the later issue for a long time, it's hard to fix - that's why we don't fix that.
Just using -device for everything is a work-around for now.
That's workaround that makes usability suffer, not a good compromise.
Anyway the thread is started by assertion that the device breaks guests which it does not, now we moved to documentation realm which should not have any say about default machine functionality.
Quoted 25 lines
Quoted 25 lines
Quoted 25 lines
Quoted 4 lines
Quoted 3 lines
Besides, both -device pvpanic and use of ioport=0 to disable it are completely undocumented.
Not the only undocumented thing in QEMU command line :)
All -device fields are documented with -device help. This was supposed to be the right way to add all new devices.
Quoted 11 lines
Quoted 2 lines
BTW pls keep qemu-devel Cc'd.
Haven't touched CC list.
Quoted 6 lines
Quoted 1 line
We have different definition of "damage" though.
Driver bugs, qemu bugs, OSPM bugs all can cause issues like OS crashes, suspend/resume issues, bad performance ... What's your definition of damage?
None of those cover the case at hand.
Sigh. These examples demonstrate why would user want to run QEMU without the pvpanic device.
Quoted 9 lines
Quoted 4 lines
He can disable it, but chances the device will cause aforementioned problems are so much smaller (by design mind you) than PV APIC hotplug device that it makes me wonder why haven't you advocate to make PV APIC hotplug device to be configurable with -device too.
This might be a good idea for Q35.
We probably want to keep it as is for PIIX for compatibility. Then again, different behaviour for Q35/PIIX might confuse people.
There is nothing more confusing for people than find out that -cdrom is not usable with Q35. Really, after that nothing can surprise Q35 user any more :)
--
Gleb.
Am 06.08.2013 12:44, schrieb Gleb Natapov:
Quoted 11 lines · Michael S. Tsirkin
Quoted 10 lines
Quoted 9 lines
Quoted 5 lines
It's a QEMU issue, devices that are added with -device are documented in -device help and removed by dropping them from command line. Devices added by default have no way to be dropped from QOM except -nodefaults.
Are you saying that because pvpanic is added automatically QEMU -device help does not print help about it? Why not fix that? What QEMU --help issues has to do with deciding which devices should or should not be present by default?
Quoted 7 lines
Quoted 5 lines
No, I'm saying what I said: that there's no way to remove a device added by default except -nodefaults, and no way to
find out what does -nodefaults exclude so you
can add things you need back selectively.And what are the rules that govern device exclusion from -nodefaults list? Why -nodefaults does not create empty machine?
We have -M none to create an empty machine.
FWIW -M q35 does not create all Q35 devices, there's -readconfig docs/q35-chipset.cfg for the rest. The criteria certainly is not migratability, since ICH9 AHCI (part of -M q35) is unmigratable, unfortunately.
One practical reason not to create everything via config is that we cannot create SysBusDevices via -device when they require MMIO mapping or IRQ setup. For ISADevices such as pvpanic that's not a problem. Anthony has proposed QOM'ifying MemoryRegions and qemu_irq as solution to do the wiring-up from command line or config file, but those attempts got stuck a long time ago.
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 22 lines · Andreas Färber
Am 06.08.2013 12:44, schrieb Gleb Natapov:
Quoted 11 lines · Michael S. Tsirkin
Quoted 10 lines
Quoted 9 lines
Quoted 5 lines
It's a QEMU issue, devices that are added with -device are documented in -device help and removed by dropping them from command line. Devices added by default have no way to be dropped from QOM except -nodefaults.
Are you saying that because pvpanic is added automatically QEMU -device help does not print help about it? Why not fix that? What QEMU --help issues has to do with deciding which devices should or should not be present by default?
Quoted 7 lines
Quoted 5 lines
No, I'm saying what I said: that there's no way to remove a device added by default except -nodefaults, and no way to
find out what does -nodefaults exclude so you
can add things you need back selectively.And what are the rules that govern device exclusion from -nodefaults list? Why -nodefaults does not create empty machine?
We have -M none to create an empty machine.
Quoted 11 lines
FWIW -M q35 does not create all Q35 devices, there's -readconfig docs/q35-chipset.cfg for the rest. The criteria certainly is not migratability, since ICH9 AHCI (part of -M q35) is unmigratable, unfortunately.
One practical reason not to create everything via config is that we cannot create SysBusDevices via -device when they require MMIO mapping or IRQ setup. For ISADevices such as pvpanic that's not a problem. Anthony has proposed QOM'ifying MemoryRegions andqemu_irqas solution to do the wiring-up from command line or config file, but those attempts got stuck a long time ago.
But -M creates not only things that cannot be created from a command line, it includes some default set of devices, so what is the criteria for those?
--
Gleb.
Quoted 23 lines · Gleb Natapov
Quoted 22 lines · Andreas Färber
Am 06.08.2013 12:44, schrieb Gleb Natapov:
Quoted 11 lines · Michael S. Tsirkin
Quoted 10 lines
Quoted 9 lines
Quoted 5 lines
It's a QEMU issue, devices that are added with -device are documented in -device help and removed by dropping them from command line. Devices added by default have no way to be dropped from QOM except -nodefaults.
Are you saying that because pvpanic is added automatically QEMU -device help does not print help about it? Why not fix that? What QEMU --help issues has to do with deciding which devices should or should not be present by default?
Quoted 7 lines
Quoted 5 lines
No, I'm saying what I said: that there's no way to remove a device added by default except -nodefaults, and no way to
find out what does -nodefaults exclude so you
can add things you need back selectively.And what are the rules that govern device exclusion from -nodefaults list? Why -nodefaults does not create empty machine?
We have -M none to create an empty machine.
Quoted 7 lines
Quoted 7 lines
FWIW -M q35 does not create all Q35 devices, there's -readconfig docs/q35-chipset.cfg for the rest. The criteria certainly is not migratability, since ICH9 AHCI (part of -M q35) is unmigratable, unfortunately.
One practical reason not to create everything via config is that we cannot create SysBusDevices via -device when they require MMIO mapping or IRQ setup.
Support wiring up a machine without board code, just configuration has been the ever-distant goal of the qdev effort.
Quoted 8 lines
Quoted 5 lines
For ISADevices such as pvpanic that's not a problem.
Anthony has proposed QOM'ifying MemoryRegions andqemu_irqas solution to do the wiring-up from command line or config file, but those attempts got stuck a long time ago.But -M creates not only things that cannot be created from a command line, it includes some default set of devices, so what is the criteria for those?
I'm not aware of defined, coherent criteria.
I can give you descriptive rather than prescriptive, though. Used to be "whatever anyone felt users would want". It's now "whatever has always been there, plus whatever survives interminable bikeshedding^W^Wvigorous debate.
Quoted 45 lines · Markus Armbruster
Quoted 23 lines · Gleb Natapov
Quoted 22 lines · Andreas Färber
Am 06.08.2013 12:44, schrieb Gleb Natapov:
Quoted 11 lines · Michael S. Tsirkin
Quoted 10 lines
Quoted 9 lines
Quoted 5 lines
It's a QEMU issue, devices that are added with -device are documented in -device help and removed by dropping them from command line. Devices added by default have no way to be dropped from QOM except -nodefaults.
Are you saying that because pvpanic is added automatically QEMU -device help does not print help about it? Why not fix that? What QEMU --help issues has to do with deciding which devices should or should not be present by default?
Quoted 7 lines
Quoted 5 lines
No, I'm saying what I said: that there's no way to remove a device added by default except -nodefaults, and no way to
find out what does -nodefaults exclude so you
can add things you need back selectively.And what are the rules that govern device exclusion from -nodefaults list? Why -nodefaults does not create empty machine?
We have -M none to create an empty machine.
Quoted 7 lines
Quoted 7 lines
FWIW -M q35 does not create all Q35 devices, there's -readconfig docs/q35-chipset.cfg for the rest. The criteria certainly is not migratability, since ICH9 AHCI (part of -M q35) is unmigratable, unfortunately.
One practical reason not to create everything via config is that we cannot create SysBusDevices via -device when they require MMIO mapping or IRQ setup.Support wiring up a machine without board code, just configuration has been the ever-distant goal of the qdev effort.
Quoted 8 lines
Quoted 5 lines
For ISADevices such as pvpanic that's not a problem.
Anthony has proposed QOM'ifying MemoryRegions andqemu_irqas solution to do the wiring-up from command line or config file, but those attempts got stuck a long time ago.But -M creates not only things that cannot be created from a command line, it includes some default set of devices, so what is the criteria for those?
Quoted 6 lines
I'm not aware of defined, coherent criteria.
I can give you descriptive rather than prescriptive, though. Used to be "whatever anyone felt users would want". It's now "whatever has always been there, plus whatever survives interminable bikeshedding^W^Wvigorous debate.
No need to for ^W! It is like disputes in court: whoever has more money wins. In out case whoever has more times wins and I am going on vocation, so... :)
--
Gleb.
Quoted 20 lines · Andreas Färber
Am 06.08.2013 12:44, schrieb Gleb Natapov:
Quoted 11 lines · Michael S. Tsirkin
Quoted 10 lines
Quoted 9 lines
Quoted 5 lines
It's a QEMU issue, devices that are added with -device are documented in -device help and removed by dropping them from command line. Devices added by default have no way to be dropped from QOM except -nodefaults.
Are you saying that because pvpanic is added automatically QEMU -device help does not print help about it? Why not fix that? What QEMU --help issues has to do with deciding which devices should or should not be present by default?
Quoted 7 lines
Quoted 5 lines
No, I'm saying what I said: that there's no way to remove a device added by default except -nodefaults, and no way to
find out what does -nodefaults exclude so you
can add things you need back selectively.And what are the rules that govern device exclusion from -nodefaults list? Why -nodefaults does not create empty machine?
Quoted 6 lines
We have -M none to create an empty machine.
FWIW -M q35 does not create all Q35 devices, there's -readconfig docs/q35-chipset.cfg for the rest. The criteria certainly is not migratability, since ICH9 AHCI (part of -M q35) is unmigratable, unfortunately.
Wasn't this fixed recently?
Quoted 12 lines
One practical reason not to create everything via config is that we cannot create SysBusDevices via -device when they require MMIO mapping or IRQ setup. For ISADevices such as pvpanic that's not a problem. Anthony has proposed QOM'ifying MemoryRegions and
qemu_irqas solution to do the wiring-up from command line or config file, but those attempts got stuck a long time ago.Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Am 06.08.2013 14:09, schrieb Michael S. Tsirkin:
Quoted 7 lines · Andreas Färber
Quoted 4 lines
FWIW -M q35 does not create all Q35 devices, there's -readconfig docs/q35-chipset.cfg for the rest. The criteria certainly is not migratability, since ICH9 AHCI (part of -M q35) is unmigratable, unfortunately.
Wasn't this fixed recently?
Not in qemu.git at least, that's why I couldn't test PCIe migration with q35 recently and resorted to picking random devices into i440fx.
Jason had added a VMStateDescription with fields extending my initial work, but it is .unmigratable = 1 /* Still buggy under I/O load */.
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 7 lines · Andreas Färber
Am 06.08.2013 14:09, schrieb Michael S. Tsirkin:
Quoted 6 lines · Andreas Färber
Quoted 4 lines
FWIW -M q35 does not create all Q35 devices, there's -readconfig docs/q35-chipset.cfg for the rest. The criteria certainly is not migratability, since ICH9 AHCI (part of -M q35) is unmigratable, unfortunately.
Quoted 7 lines
Quoted 1 line
Wasn't this fixed recently?
Not in qemu.git at least, that's why I couldn't test PCIe migration with q35 recently and resorted to picking random devices into i440fx.
Jason had added a VMStateDescription with fields extending my initial work, but it is .unmigratable = 1 /* Still buggy under I/O load */.
I haven't read the whole discussion but the recent AHCI fix I'm aware of is making FLUSH commands work correctly. That wasn't specifically aimed at fixing migration.
Stefan
Hi,
Quoted 2 lines
And what are the rules that govern device exclusion from -nodefaults list? Why -nodefaults does not create empty machine?
"qemu -nodefaults" should give you just cpu + northbridge + southbridge.
"qemu" should give you a usable virtual machine, so qemu adds some optional devices which are (or used to be) standard in a pc: floppy, cdrom, serial port, parallel port, vga card, nic.
Sometimes things are a bit odd for historical reasons:
USB controllers are only present in case you ask for them via '-usb' or add them via '-device', even though they are part of the southbridge.
vmport is there unconditionally. And I'd rather make that one configurable instead of adding more hard-coded devices.
cheers,
Gerd
Quoted 7 lines · Gerd Hoffmann
Hi,
Quoted 2 lines
And what are the rules that govern device exclusion from -nodefaults list? Why -nodefaults does not create empty machine?
"qemu -nodefaults" should give you just cpu + northbridge + southbridge.
On modern machine this is everything that most will ever have.
Quoted 4 lines
"qemu" should give you a usable virtual machine, so qemu adds some optional devices which are (or used to be) standard in a pc: floppy, cdrom, serial port, parallel port, vga card, nic.
Quoted 8 lines
Sometimes things are a bit odd for historical reasons:
USB controllers are only present in case you ask for them via '-usb' or add them via '-device', even though they are part of the southbridge.
vmport is there unconditionally. And I'd rather make that one configurable instead of adding more hard-coded devices.
There are more, as I already said hotplug device (I am to lazy to search for more, so I always bring this one).
--
Gleb.
Am 06.08.2013 11:32, schrieb Gleb Natapov:
Quoted 26 lines · Michael S. Tsirkin
Quoted 10 lines · Gleb Natapov
Quoted 9 lines · Michael S. Tsirkin
Quoted 8 lines · Gleb Natapov
Quoted 7 lines
Quoted 7 lines
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
Bug that should be fixed. With this command line
_STAshould return zero.It doesn't have anything to do with
_STA: device still appears in QOM.You said disabled, not removed. So does -global pvpanic,ioport=0 disables the device for you?
Quoted 5 lines
It's a QEMU issue, devices that are added with -device are documented in -device help and removed by dropping them from command line. Devices added by default have no way to be dropped from QOM except -nodefaults.
Quoted 4 lines
Are you saying that because pvpanic is added automatically QEMU -device help does not print help about it? Why not fix that? What QEMU --help issues has to do with deciding which devices should or should not be present by default?
You misunderstand: -device pvpanic,? will document that there is a numeric port property, which as such is self-documenting. But there's no way for us to document there that port=0 has special meaning of "disable this device in ACPI".
Disabling a device usually requires to not include that device (or in the future to "unrealize" it), which would require some way to suppress having the device created internally by default. As done for floppy, serial, etc. devices in x86 IIUC, which are in the same PIO situation as the pvpanic device, except that they represent physical devices. Adding some -no-pvpanic switch might be an alternative. And if not done already, disabling the pvpanic device should definitely be documented for the man page.
To me this is less a concrete problem with Windows guests but a conceptual question of how we go about enabling/disabling QEMU devices in a hopefully consistent way.
Writing a driver does not solve it fully, you'd still need to actively install that driver, same issue as with virtio. virtio is opt-in, so for customers not using our VM Driver Pack we offer AHCI as driver-less alternative.
I wonder if IPMI might be such an alternative in the future, in which case we should come up with some way to fully disable pvpanic device creation. CC'ing Corey.
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 27 lines · Andreas Färber
Am 06.08.2013 11:32, schrieb Gleb Natapov:
Quoted 26 lines · Michael S. Tsirkin
Quoted 10 lines · Gleb Natapov
Quoted 9 lines · Michael S. Tsirkin
Quoted 8 lines · Gleb Natapov
Quoted 7 lines
Quoted 7 lines
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
Bug that should be fixed. With this command line
_STAshould return zero.It doesn't have anything to do with
_STA: device still appears in QOM.You said disabled, not removed. So does -global pvpanic,ioport=0 disables the device for you?
Quoted 5 lines
It's a QEMU issue, devices that are added with -device are documented in -device help and removed by dropping them from command line. Devices added by default have no way to be dropped from QOM except -nodefaults.
Quoted 7 lines
Quoted 4 lines
Are you saying that because pvpanic is added automatically QEMU -device help does not print help about it? Why not fix that? What QEMU --help issues has to do with deciding which devices should or should not be present by default?
You misunderstand: -device pvpanic,? will document that there is a numeric port property, which as such is self-documenting. But there's no
Yes, this is how I found it.
Quoted 3 lines
way for us to document there that port=0 has special meaning of "disable this device in ACPI".
Adding capability to describe a property should solve that and is a good idea regardless, no? "pvpanic.ioport=uint16" is not very descriptive.
Quoted 8 lines
Disabling a device usually requires to not include that device (or in the future to "unrealize" it), which would require some way to suppress having the device created internally by default. As done for floppy, serial, etc. devices in x86 IIUC, which are in the same PIO situation as the pvpanic device, except that they represent physical devices. Adding some -no-pvpanic switch might be an alternative. And if not done already, disabling the pvpanic device should definitely be documented for the man page.
We should not add -no-pvpanic! If there is a legitimate use for -no-pvpanic we should go with MST suggestion and do not create it by default. The question is why would anyone use -no-pvpanic? Legit reason, not just "to remove pvpanic".
Quoted 4 lines
To me this is less a concrete problem with Windows guests but a conceptual question of how we go about enabling/disabling QEMU devices in a hopefully consistent way.
Agree. Now I see that some devises always present (even with -nodefualts) and some do not. The logic is not clear, but seams to be: if there is not legit reason to disable device or for stable topology device placemen need to be controlled, disable it with -nodefualts. In that case I do not see why pvpanic would not be always present.
The reason this whole thread started with is non issue.
Quoted 5 lines
Writing a driver does not solve it fully, you'd still need to actively install that driver, same issue as with virtio. virtio is opt-in, so for customers not using our VM Driver Pack we offer AHCI as driver-less alternative.
There is no functionality loss without a driver. User is not required to install drivers.
Quoted 5 lines
I wonder if IPMI might be such an alternative in the future, in which case we should come up with some way to fully disable pvpanic device creation. CC'ing Corey.
IPMI was considered, to complicated for what was needed.
--
Gleb.
Am 06.08.2013 13:00, schrieb Gleb Natapov:
Quoted 6 lines · Andreas Färber
Quoted 4 lines
I wonder if IPMI might be such an alternative in the future, in which case we should come up with some way to fully disable pvpanic device creation. CC'ing Corey.
IPMI was considered, to complicated for what was needed.
Sorry? There's nothing wrong with going for pvpanic as a simple implementation.
There have been IPMI patchsets on qemu-devel though, and SUSE will be investigating adding some IPMI support too (not sure if identical to the scope of those patchsets), whether IPMI is complicated or not. It's a standard present on physical servers, facilitating unified management of virtual and physical servers, and there's OpenIPMI as implementation.
My point was, there may be alternative, non-PV implementations to suck such information out of a guest, IPMI being one example of a management interface that exists for physical servers. So it's not necessarily black-or-white, but choices similar to virtio vs. IDE vs. AHCI vs. SCSI.
HTE,
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 11 lines · Andreas Färber
Am 06.08.2013 13:00, schrieb Gleb Natapov:
Quoted 6 lines · Andreas Färber
Quoted 4 lines
I wonder if IPMI might be such an alternative in the future, in which case we should come up with some way to fully disable pvpanic device creation. CC'ing Corey.
IPMI was considered, to complicated for what was needed.
Sorry? There's nothing wrong with going for pvpanic as a simple implementation.
Sure, why "sorry" then? :) PV has its benefits.
Quoted 6 lines
There have been IPMI patchsets on qemu-devel though, and SUSE will be investigating adding some IPMI support too (not sure if identical to the scope of those patchsets), whether IPMI is complicated or not. It's a standard present on physical servers, facilitating unified management of virtual and physical servers, and there's OpenIPMI as implementation.
Of course, there is nothing wrong with implementing IPMI either. Many problems that IPMI solves are much simpler to solve in virtualized environment with management software and pvpanic closes one gap between what IPMI provides and virtual machine management can do.
Quoted 5 lines
My point was, there may be alternative, non-PV implementations to suck such information out of a guest, IPMI being one example of a management interface that exists for physical servers. So it's not necessarily black-or-white, but choices similar to virtio vs. IDE vs. AHCI vs. SCSI.
pvpanic not meant to replace IPMI though.
--
Gleb.
Hi,
Quoted 6 lines
Quoted 5 lines
My point was, there may be alternative, non-PV implementations to suck such information out of a guest, IPMI being one example of a management interface that exists for physical servers. So it's not necessarily black-or-white, but choices similar to virtio vs. IDE vs. AHCI vs. SCSI.
pvpanic not meant to replace IPMI though.
You probably don't want use both though, and if you want to pick one of the two you need a way to turn off pvpanic.
cheers,
Gerd
Quoted 7 lines · Gleb Natapov
Quoted 6 lines · Andreas Färber
Am 06.08.2013 13:00, schrieb Gleb Natapov:
Quoted 5 lines · Andreas Färber
Quoted 4 lines
I wonder if IPMI might be such an alternative in the future, in which case we should come up with some way to fully disable pvpanic device creation. CC'ing Corey.
Quoted 6 lines
Quoted 5 lines
Quoted 1 line
IPMI was considered, to complicated for what was needed.
Sorry? There's nothing wrong with going for pvpanic as a simple implementation.
Sure, why "sorry" then? :) PV has its benefits.
PV always seems easier. It sometimes becomes a maintainance problem down the way though.
Quoted 11 lines
Quoted 6 lines
There have been IPMI patchsets on qemu-devel though, and SUSE will be investigating adding some IPMI support too (not sure if identical to the scope of those patchsets), whether IPMI is complicated or not. It's a standard present on physical servers, facilitating unified management of virtual and physical servers, and there's OpenIPMI as implementation.
Of course, there is nothing wrong with implementing IPMI either. Many problems that IPMI solves are much simpler to solve in virtualized environment with management software and pvpanic closes one gap between what IPMI provides and virtual machine management can do.
Quoted 6 lines
Quoted 5 lines
My point was, there may be alternative, non-PV implementations to suck such information out of a guest, IPMI being one example of a management interface that exists for physical servers. So it's not necessarily black-or-white, but choices similar to virtio vs. IDE vs. AHCI vs. SCSI.
pvpanic not meant to replace IPMI though.
But will you want pvpanic if you have IPMI?
Quoted 2 lines
--
Gleb.
Quoted 10 lines · Michael S. Tsirkin
Quoted 9 lines · Gleb Natapov
Quoted 8 lines · Andreas Färber
Am 06.08.2013 13:00, schrieb Gleb Natapov:
Quoted 6 lines · Andreas Färber
Quoted 4 lines
I wonder if IPMI might be such an alternative in the future, in which case we should come up with some way to fully disable pvpanic device creation. CC'ing Corey.
IPMI was considered, to complicated for what was needed.
Quoted 8 lines
Quoted 4 lines
Quoted 3 lines
Sorry? There's nothing wrong with going for pvpanic as a simple implementation.
Sure, why "sorry" then? :) PV has its benefits.
PV always seems easier. It sometimes becomes a maintainance problem down the way though.
If it is modelled as proper device, why? What PV devices we have that are pain?
Quoted 11 lines
Quoted 11 lines
Quoted 6 lines
There have been IPMI patchsets on qemu-devel though, and SUSE will be investigating adding some IPMI support too (not sure if identical to the scope of those patchsets), whether IPMI is complicated or not. It's a standard present on physical servers, facilitating unified management of virtual and physical servers, and there's OpenIPMI as implementation.
Of course, there is nothing wrong with implementing IPMI either. Many problems that IPMI solves are much simpler to solve in virtualized environment with management software and pvpanic closes one gap between what IPMI provides and virtual machine management can do.
Quoted 9 lines
Quoted 6 lines
Quoted 5 lines
My point was, there may be alternative, non-PV implementations to suck such information out of a guest, IPMI being one example of a management interface that exists for physical servers. So it's not necessarily black-or-white, but choices similar to virtio vs. IDE vs. AHCI vs. SCSI.
pvpanic not meant to replace IPMI though.
But will you want pvpanic if you have IPMI?
Why not? They report to different components.
--
Gleb.
Am 06.08.2013 14:00, schrieb Gleb Natapov:
Quoted 7 lines · Andreas Färber
Quoted 6 lines
Am 06.08.2013 13:00, schrieb Gleb Natapov:
Quoted 5 lines · Andreas Färber
Quoted 4 lines
I wonder if IPMI might be such an alternative in the future, in which case we should come up with some way to fully disable pvpanic device creation. CC'ing Corey.
Quoted 6 lines
Quoted 5 lines
Quoted 1 line
IPMI was considered, to complicated for what was needed.
Sorry? There's nothing wrong with going for pvpanic as a simple implementation.
Sure, why "sorry" then? :)
Because I don't understand what IPMI being too complicated has to do with me saying that because, for example, a future IPMI emulation may be able to fulfill the same function, we may want to disable pvpanic at that point. :)
[...]
Quoted 6 lines
Quoted 5 lines
My point was, there may be alternative, non-PV implementations to suck such information out of a guest, IPMI being one example of a management interface that exists for physical servers. So it's not necessarily black-or-white, but choices similar to virtio vs. IDE vs. AHCI vs. SCSI.
pvpanic not meant to replace IPMI though.
That's a matter of definition: Is vmmouse meant to replace USB tablets? They have similar functions for the user but are implemented in a way they can coexist in software.
It is handy to have vmmouse enabled if my guest X11 and VNC have support for vmmouse or ignore it, but if my guest has broken vmmouse drivers then it may well be handy to be able to turn off vmmouse emulation in QEMU rather than insisting that all PV interfaces always stay enabled. Question is how to do that best, beyond the pvpanic-specific ioport=0.
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 52 lines · Gleb Natapov
Quoted 27 lines · Andreas Färber
Am 06.08.2013 11:32, schrieb Gleb Natapov:
Quoted 26 lines · Michael S. Tsirkin
Quoted 10 lines · Gleb Natapov
Quoted 9 lines · Michael S. Tsirkin
Quoted 8 lines · Gleb Natapov
Quoted 7 lines
Quoted 7 lines
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
Bug that should be fixed. With this command line
_STAshould return zero.It doesn't have anything to do with
_STA: device still appears in QOM.You said disabled, not removed. So does -global pvpanic,ioport=0 disables the device for you?
Quoted 5 lines
It's a QEMU issue, devices that are added with -device are documented in -device help and removed by dropping them from command line. Devices added by default have no way to be dropped from QOM except -nodefaults.
Quoted 7 lines
Quoted 4 lines
Are you saying that because pvpanic is added automatically QEMU -device help does not print help about it? Why not fix that? What QEMU --help issues has to do with deciding which devices should or should not be present by default?
You misunderstand: -device pvpanic,? will document that there is a numeric port property, which as such is self-documenting. But there's no
Yes, this is how I found it.
Quoted 3 lines
way for us to document there that port=0 has special meaning of "disable this device in ACPI".
Adding capability to describe a property should solve that and is a good idea regardless, no? "pvpanic.ioport=uint16" is not very descriptive.
Quoted 8 lines
Disabling a device usually requires to not include that device (or in the future to "unrealize" it), which would require some way to suppress having the device created internally by default. As done for floppy, serial, etc. devices in x86 IIUC, which are in the same PIO situation as the pvpanic device, except that they represent physical devices. Adding some -no-pvpanic switch might be an alternative. And if not done already, disabling the pvpanic device should definitely be documented for the man page.
Quoted 4 lines
We should not add -no-pvpanic! If there is a legitimate use for -no-pvpanic we should go with MST suggestion and do not create it by default. The question is why would anyone use -no-pvpanic? Legit reason, not just "to remove pvpanic".
To be able to emulate a real hardware system without any PV devices. I think it's a reasonable requirement.
Quoted 28 lines
Quoted 4 lines
To me this is less a concrete problem with Windows guests but a conceptual question of how we go about enabling/disabling QEMU devices in a hopefully consistent way.
Agree. Now I see that some devises always present (even with -nodefualts) and some do not. The logic is not clear, but seams to be: if there is not legit reason to disable device or for stable topology device placemen need to be controlled, disable it with -nodefualts. In that case I do not see why pvpanic would not be always present.
The reason this whole thread started with is non issue.
Quoted 5 lines
Writing a driver does not solve it fully, you'd still need to actively install that driver, same issue as with virtio. virtio is opt-in, so for customers not using our VM Driver Pack we offer AHCI as driver-less alternative.
There is no functionality loss without a driver. User is not required to install drivers.
Quoted 5 lines
I wonder if IPMI might be such an alternative in the future, in which case we should come up with some way to fully disable pvpanic device creation. CC'ing Corey.
IPMI was considered, to complicated for what was needed.
--
Gleb.
Quoted 53 lines · Michael S. Tsirkin
Quoted 52 lines · Gleb Natapov
Quoted 27 lines · Andreas Färber
Am 06.08.2013 11:32, schrieb Gleb Natapov:
Quoted 26 lines · Michael S. Tsirkin
Quoted 10 lines · Gleb Natapov
Quoted 9 lines · Michael S. Tsirkin
Quoted 8 lines · Gleb Natapov
Quoted 7 lines
Quoted 7 lines
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
Bug that should be fixed. With this command line
_STAshould return zero.It doesn't have anything to do with
_STA: device still appears in QOM.You said disabled, not removed. So does -global pvpanic,ioport=0 disables the device for you?
Quoted 5 lines
It's a QEMU issue, devices that are added with -device are documented in -device help and removed by dropping them from command line. Devices added by default have no way to be dropped from QOM except -nodefaults.
Quoted 7 lines
Quoted 4 lines
Are you saying that because pvpanic is added automatically QEMU -device help does not print help about it? Why not fix that? What QEMU --help issues has to do with deciding which devices should or should not be present by default?
You misunderstand: -device pvpanic,? will document that there is a numeric port property, which as such is self-documenting. But there's no
Yes, this is how I found it.
Quoted 3 lines
way for us to document there that port=0 has special meaning of "disable this device in ACPI".
Adding capability to describe a property should solve that and is a good idea regardless, no? "pvpanic.ioport=uint16" is not very descriptive.
Quoted 8 lines
Disabling a device usually requires to not include that device (or in the future to "unrealize" it), which would require some way to suppress having the device created internally by default. As done for floppy, serial, etc. devices in x86 IIUC, which are in the same PIO situation as the pvpanic device, except that they represent physical devices. Adding some -no-pvpanic switch might be an alternative. And if not done already, disabling the pvpanic device should definitely be documented for the man page.
Quoted 8 lines
Quoted 4 lines
We should not add -no-pvpanic! If there is a legitimate use for -no-pvpanic we should go with MST suggestion and do not create it by default. The question is why would anyone use -no-pvpanic? Legit reason, not just "to remove pvpanic".
To be able to emulate a real hardware system without any PV devices. I think it's a reasonable requirement.
Qemu is so far from able to do so that I do not consider it such.
--
Gleb.
Quoted 11 lines · Michael S. Tsirkin
Quoted 10 lines · Gleb Natapov
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?
Quoted 3 lines
Quoted 1 line
You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
The internal pvpanic can be disabled by -global pvpanic.ioport=0. -device pvpanic,ioport=0 just adds another pvpanic device.
Quoted 12 lines · Hu Tao
Quoted 11 lines · Michael S. Tsirkin
Quoted 10 lines · Gleb Natapov
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
The internal pvpanic can be disabled by -global pvpanic.ioport=0. -device pvpanic,ioport=0 just adds another pvpanic device.
Yeah, good point.
--
Gleb.
Quoted 13 lines · Gleb Natapov
Quoted 12 lines · Hu Tao
Quoted 11 lines · Michael S. Tsirkin
Quoted 10 lines · Gleb Natapov
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?
Quoted 7 lines
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
The internal pvpanic can be disabled by -global pvpanic.ioport=0. -device pvpanic,ioport=0 just adds another pvpanic device.
Yeah, good point.
I tried this, this doesn't remove the device - merely sets the port to 0.
Quoted 2 lines
--
Gleb.
Quoted 16 lines · Michael S. Tsirkin
Quoted 15 lines · Gleb Natapov
Quoted 14 lines · Hu Tao
Quoted 13 lines · Michael S. Tsirkin
Quoted 11 lines · Gleb Natapov
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?You should be able to disable it with: -device pvpanic,ioport=0
Quoted 9 lines
Quoted 5 lines
Quoted 4 lines
Quoted 1 line
Doesn't work for me.
The internal pvpanic can be disabled by -global pvpanic.ioport=0. -device pvpanic,ioport=0 just adds another pvpanic device.
Yeah, good point.
I tried this, this doesn't remove the device - merely sets the port to 0.
That's the point. And _STA will report it as disabled. You asked if the device can be enable/disable above, not removed. It can.
--
Gleb.
Quoted 19 lines · Gleb Natapov
Quoted 18 lines · Michael S. Tsirkin
Quoted 17 lines · Gleb Natapov
Quoted 16 lines · Hu Tao
Quoted 14 lines · Michael S. Tsirkin
Quoted 11 lines · Gleb Natapov
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
Quoted 8 lines
Quoted 7 lines
Quoted 3 lines
Quoted 2 lines
The internal pvpanic can be disabled by -global pvpanic.ioport=0. -device pvpanic,ioport=0 just adds another pvpanic device.
Yeah, good point.
I tried this, this doesn't remove the device - merely sets the port to 0.
That's the point. And
_STAwill report it as disabled.
In ACPI? Why have it at all?
Quoted 2 lines
You asked if the device
can be enable/disable above, not removed. It can.
I really meant QOM/QMP. _STA is only seen by OSPM.
Quoted 2 lines
--
Gleb.
Quoted 22 lines · Michael S. Tsirkin
Quoted 21 lines · Gleb Natapov
Quoted 20 lines · Michael S. Tsirkin
Quoted 19 lines · Gleb Natapov
Quoted 18 lines · Hu Tao
Quoted 11 lines · Michael S. Tsirkin
Quoted 10 lines · Gleb Natapov
Quoted 10 lines
If you see a mouse in a room, how likely is it that there's a single mouse there?
This is a PV technology which to me looks like it was rushed through and not only set on by default, but without a way to disable it - apparently on the assumption there's 0 chance it can cause any damage. Now that we do know the chance it's not there, why not go back to the standard interface, and why not give
users a chance to enable/disable it?Quoted 3 lines
Quoted 1 line
You should be able to disable it with: -device pvpanic,ioport=0
Doesn't work for me.
The internal pvpanic can be disabled by -global pvpanic.ioport=0. -device pvpanic,ioport=0 just adds another pvpanic device.
Quoted 9 lines
Quoted 6 lines
Quoted 5 lines
Quoted 1 line
Yeah, good point.
I tried this, this doesn't remove the device - merely sets the port to 0.
That's the point. And
_STAwill report it as disabled.In ACPI? Why have it at all?
You can put whatever you want into ACPI as long as _STA returns disabled status. What's the problem?
Quoted 5 lines
Quoted 2 lines
You asked if the device
can be enable/disable above, not removed. It can.I really meant QOM/QMP.
_STAis only seen by OSPM.
Then you should have said "removed". No you cannot, this is not the only such device. I do not see why would you want to though.
--
Gleb.