Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Paolo Bonzini
On 08/05/2013 09:19 PM, Eric Blake wrote: On 08/05/2013 01:04 PM, Paolo Bonzini wrote: Libvirt has no problem enabling -device pvpanic for all guests where on_crash is set to a non-default value, since the use of on_crash is a sufficient hint that the user expects the guest to be able to

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Gleb Natapov
On Mon, Aug 05, 2013 at 09:32:18PM +0300, Michael S. Tsirkin wrote: 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

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Vadim Rozenfeld
- Original Message - From: Gleb Natapov g...@redhat.com To: Vadim Rozenfeld vroze...@redhat.com Cc: Michael S. Tsirkin m...@redhat.com, Daniel P. Berrange berra...@redhat.com, Marcel Apfelbaum marce...@redhat.com, seabios@seabios.org, qemu-de...@nongnu.org, Gerd Hoffmann

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Michael S. Tsirkin
On Tue, Aug 06, 2013 at 10:21:52AM +0300, Gleb Natapov wrote: 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 -

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Gleb Natapov
On Tue, Aug 06, 2013 at 04:03:17AM -0400, Vadim Rozenfeld wrote: - Original Message - From: Gleb Natapov g...@redhat.com To: Michael S. Tsirkin m...@redhat.com Cc: Daniel P. Berrange berra...@redhat.com, Marcel Apfelbaum marce...@redhat.com, seabios@seabios.org,

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Gleb Natapov
On Tue, Aug 06, 2013 at 11:33:10AM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 10:21:52AM +0300, Gleb Natapov wrote: 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

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Gleb Natapov
On Tue, Aug 06, 2013 at 04:14:36AM -0400, Vadim Rozenfeld wrote: - Original Message - From: Gleb Natapov g...@redhat.com To: Vadim Rozenfeld vroze...@redhat.com Cc: Michael S. Tsirkin m...@redhat.com, Daniel P. Berrange berra...@redhat.com, Marcel Apfelbaum marce...@redhat.com,

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Andreas Färber
Am 06.08.2013 10:36, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 11:33:10AM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 10:21:52AM +0300, Gleb Natapov wrote: 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

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Vadim Rozenfeld
- Original Message - From: Gleb Natapov g...@redhat.com To: Michael S. Tsirkin m...@redhat.com Cc: Daniel P. Berrange berra...@redhat.com, Marcel Apfelbaum marce...@redhat.com, seabios@seabios.org, qemu-de...@nongnu.org, Gerd Hoffmann kra...@redhat.com, Paolo Bonzini

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Michael S. Tsirkin
On Tue, Aug 06, 2013 at 10:45:01AM +0200, Andreas Färber wrote: Am 06.08.2013 10:36, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 11:33:10AM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 10:21:52AM +0300, Gleb Natapov wrote: If you see a mouse in a room, how likely is it that

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Michael S. Tsirkin
On Tue, Aug 06, 2013 at 11:36:25AM +0300, Gleb Natapov wrote: On Tue, Aug 06, 2013 at 11:33:10AM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 10:21:52AM +0300, Gleb Natapov wrote: If you see a mouse in a room, how likely is it that there's a single mouse there? This

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Gleb Natapov
On Tue, Aug 06, 2013 at 10:45:01AM +0200, Andreas Färber wrote: Am 06.08.2013 10:36, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 11:33:10AM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 10:21:52AM +0300, Gleb Natapov wrote: If you see a mouse in a room, how likely is it that

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Hu Tao
On Tue, Aug 06, 2013 at 11:33:10AM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 10:21:52AM +0300, Gleb Natapov wrote: 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

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Gleb Natapov
On Tue, Aug 06, 2013 at 05:26:46PM +0800, Hu Tao wrote: On Tue, Aug 06, 2013 at 11:33:10AM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 10:21:52AM +0300, Gleb Natapov wrote: If you see a mouse in a room, how likely is it that there's a single mouse there? This is a

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Gleb Natapov
On Tue, Aug 06, 2013 at 12:21:48PM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 11:36:25AM +0300, Gleb Natapov wrote: On Tue, Aug 06, 2013 at 11:33:10AM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 10:21:52AM +0300, Gleb Natapov wrote: If you see a mouse in a

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Michael S. Tsirkin
On Tue, Aug 06, 2013 at 12:20:27PM +0300, Gleb Natapov wrote: On Tue, Aug 06, 2013 at 10:45:01AM +0200, Andreas Färber wrote: Am 06.08.2013 10:36, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 11:33:10AM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 10:21:52AM +0300, Gleb

Re: [SeaBIOS] [Qemu-devel] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Michael S. Tsirkin
On Tue, Aug 06, 2013 at 11:56:11AM +0200, Markus Armbruster wrote: Andreas Färber afaer...@suse.de writes: Am 06.08.2013 10:36, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 11:33:10AM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 10:21:52AM +0300, Gleb Natapov wrote: If you

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Michael S. Tsirkin
On Tue, Aug 06, 2013 at 12:29:27PM +0300, Gleb Natapov wrote: On Tue, Aug 06, 2013 at 05:26:46PM +0800, Hu Tao wrote: On Tue, Aug 06, 2013 at 11:33:10AM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 10:21:52AM +0300, Gleb Natapov wrote: If you see a mouse in a room, how

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Gleb Natapov
On Tue, Aug 06, 2013 at 01:13:17PM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 12:29:27PM +0300, Gleb Natapov wrote: On Tue, Aug 06, 2013 at 05:26:46PM +0800, Hu Tao wrote: On Tue, Aug 06, 2013 at 11:33:10AM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 10:21:52AM

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Michael S. Tsirkin
On Tue, Aug 06, 2013 at 01:14:14PM +0300, Gleb Natapov wrote: On Tue, Aug 06, 2013 at 01:13:17PM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 12:29:27PM +0300, Gleb Natapov wrote: On Tue, Aug 06, 2013 at 05:26:46PM +0800, Hu Tao wrote: On Tue, Aug 06, 2013 at 11:33:10AM

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Gleb Natapov
On Tue, Aug 06, 2013 at 01:23:26PM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 01:14:14PM +0300, Gleb Natapov wrote: On Tue, Aug 06, 2013 at 01:13:17PM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 12:29:27PM +0300, Gleb Natapov wrote: On Tue, Aug 06, 2013 at

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Andreas Färber
Am 06.08.2013 11:32, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 12:21:48PM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 11:36:25AM +0300, Gleb Natapov wrote: On Tue, Aug 06, 2013 at 11:33:10AM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 10:21:52AM +0300, Gleb

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Andreas Färber
Am 06.08.2013 12:44, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 01:19:53PM +0300, Michael S. Tsirkin wrote: 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

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Gleb Natapov
On Tue, Aug 06, 2013 at 01:03:34PM +0200, Andreas Färber wrote: Am 06.08.2013 12:44, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 01:19:53PM +0300, Michael S. Tsirkin wrote: It's a QEMU issue, devices that are added with -device are documented in -device help and removed by dropping them

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Andreas Färber
Am 06.08.2013 13:00, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 12:35:10PM +0200, Andreas Färber wrote: 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,

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Gerd Hoffmann
Hi, 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

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Gleb Natapov
On Tue, Aug 06, 2013 at 01:23:49PM +0200, Andreas Färber wrote: Am 06.08.2013 13:00, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 12:35:10PM +0200, Andreas Färber wrote: I wonder if IPMI might be such an alternative in the future, in which case we should come up with some way to fully

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Michael S. Tsirkin
On Tue, Aug 06, 2013 at 03:00:06PM +0300, Gleb Natapov wrote: On Tue, Aug 06, 2013 at 01:23:49PM +0200, Andreas Färber wrote: Am 06.08.2013 13:00, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 12:35:10PM +0200, Andreas Färber wrote: I wonder if IPMI might be such an alternative in the

Re: [SeaBIOS] [Qemu-devel] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Gleb Natapov
On Tue, Aug 06, 2013 at 01:48:17PM +0200, Markus Armbruster wrote: Gleb Natapov g...@redhat.com writes: On Tue, Aug 06, 2013 at 01:03:34PM +0200, Andreas Färber wrote: Am 06.08.2013 12:44, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 01:19:53PM +0300, Michael S. Tsirkin wrote: It's a

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Michael S. Tsirkin
On Tue, Aug 06, 2013 at 01:03:34PM +0200, Andreas Färber wrote: Am 06.08.2013 12:44, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 01:19:53PM +0300, Michael S. Tsirkin wrote: It's a QEMU issue, devices that are added with -device are documented in -device help and removed by dropping them

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Michael S. Tsirkin
On Tue, Aug 06, 2013 at 02:00:35PM +0300, Gleb Natapov wrote: On Tue, Aug 06, 2013 at 12:35:10PM +0200, Andreas Färber wrote: Am 06.08.2013 11:32, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 12:21:48PM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 11:36:25AM +0300, Gleb

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Gleb Natapov
On Tue, Aug 06, 2013 at 01:54:17PM +0200, Gerd Hoffmann wrote: Hi, 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

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Gleb Natapov
On Tue, Aug 06, 2013 at 03:05:52PM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 03:00:06PM +0300, Gleb Natapov wrote: On Tue, Aug 06, 2013 at 01:23:49PM +0200, Andreas Färber wrote: Am 06.08.2013 13:00, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 12:35:10PM +0200, Andreas

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Gleb Natapov
On Tue, Aug 06, 2013 at 03:08:32PM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 02:00:35PM +0300, Gleb Natapov wrote: On Tue, Aug 06, 2013 at 12:35:10PM +0200, Andreas Färber wrote: Am 06.08.2013 11:32, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 12:21:48PM +0300, Michael

Re: [SeaBIOS] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Andreas Färber
Am 06.08.2013 14:09, schrieb Michael S. Tsirkin: On Tue, Aug 06, 2013 at 01:03:34PM +0200, Andreas Färber wrote: 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

Re: [SeaBIOS] [PATCH] acpi: hide 64-bit PCI hole for Windows XP

2013-08-06 Thread Michael S. Tsirkin
On Mon, Aug 05, 2013 at 03:11:41PM -0400, Paolo Bonzini wrote: From my quick research, it looks like Windows 2006 || Windows 2006.1 || Linux would work, but I have not tested it. Paolo This doesn't work in that it matches linux. Note that the above was meant to be a

Re: [SeaBIOS] [Qemu-devel] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Andreas Färber
Am 06.08.2013 14:00, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 01:23:49PM +0200, Andreas Färber wrote: Am 06.08.2013 13:00, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 12:35:10PM +0200, Andreas Färber wrote: I wonder if IPMI might be such an alternative in the future, in which case we

Re: [SeaBIOS] [PATCH] acpi: hide 64-bit PCI hole for Windows XP

2013-08-06 Thread Paolo Bonzini
ATM it looks like we should test Windows 2000 || Windows 2001 || Windows 2001 SP1 || Windows 2001.1 SP1 Including this may be too strict, what about 98/ME? Isn't this past EOL? So what? People try to use it with QEMU, and it's fair to assume it's

Re: [SeaBIOS] [Qemu-devel] [PATCH] don't expose pvpanic device in the UI

2013-08-06 Thread Andreas Färber
Am 06.08.2013 11:20, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 10:45:01AM +0200, Andreas Färber wrote: Am 06.08.2013 10:36, schrieb Gleb Natapov: On Tue, Aug 06, 2013 at 11:33:10AM +0300, Michael S. Tsirkin wrote: On Tue, Aug 06, 2013 at 10:21:52AM +0300, Gleb Natapov wrote: If you see a

Re: [SeaBIOS] [PATCH] acpi: hide 64-bit PCI hole for Windows XP

2013-08-06 Thread Michael S. Tsirkin
On Tue, Aug 06, 2013 at 12:43:04PM -0400, Paolo Bonzini wrote: ATM it looks like we should test Windows 2000 || Windows 2001 || Windows 2001 SP1 || Windows 2001.1 SP1 Including this may be too strict, what about 98/ME? Isn't this past

Re: [SeaBIOS] Adapt SeaBIOS USB to my own OS

2013-08-06 Thread dunedain1990
Hi, I'm doing my own OS and i'm booting it from USB uhci. When it boots and it arrives to the system code i want reading and writing from USB. First of all i take the usb.c, util.c, usb.h, usb_uhci.c, usb_uhci.h, pci.c, pci.h, pciinit.c,... and put it into my sources and i compile it but i need