Re: [Qemu-devel] [PATCH 1/2] vfio: warn if host device rom can't be read

2014-01-14 Thread Alex Williamson
On Tue, 2014-01-14 at 22:37 +0530, Bandan Das wrote: > Ccing Markus for the *_once macros > > Alex Williamson writes: > > > On Tue, 2014-01-14 at 21:45 +0530, Bandan Das wrote: > >> If the device rom can't be read, report an error to the > >> user. The guest might try to read the rom contents mo

Re: [Qemu-devel] [PATCH 1/2] vfio: warn if host device rom can't be read

2014-01-14 Thread Bandan Das
Ccing Markus for the *_once macros Alex Williamson writes: > On Tue, 2014-01-14 at 21:45 +0530, Bandan Das wrote: >> If the device rom can't be read, report an error to the >> user. The guest might try to read the rom contents more than >> once, so introduce macros that print a message only once

[Qemu-devel] [PATCH 1/2] vfio: warn if host device rom can't be read

2014-01-14 Thread Bandan Das
If the device rom can't be read, report an error to the user. The guest might try to read the rom contents more than once, so introduce macros that print a message only once and not clutter up the console. This is to alert the user that the device has a bad state that is causing rom read failure or

Re: [Qemu-devel] [PATCH 1/2] vfio: warn if host device rom can't be read

2014-01-14 Thread Alex Williamson
On Tue, 2014-01-14 at 21:45 +0530, Bandan Das wrote: > If the device rom can't be read, report an error to the > user. The guest might try to read the rom contents more than > once, so introduce macros that print a message only once and > not clutter up the console. This is to alert the user > that