Skip to contentSkip to conversation

add "info ioapic" monitor command

PATCH Gleb Natapov 1 participant 1 message Jan 1, 2010 9 messages not in the archive

lore
Share & tools
lore
#9 lore raw
In reply to a message not in the archive
Quoted 14 lines · Anthony Liguori
Quoted 11 lines · Gleb Natapov
Quoted 7 lines · Anthony Liguori
Quoted 2 lines · Gleb Natapov

I included only the state I need for debugging. I don't what to see complete state. It will just clatter important info.

Someone may find that full state useful though. There's no good reason to not show the entire device's state.

There is no good reason to not show the entire device's state in addition to nicely formated most useful part of it. Here I fixed it for you.

Quoted 5 lines

Have you even attempted to look at what the generic implementation would be? ioapic has three vmstate fields. If you decode ioredtbl into six subfields, then you're only adding two addition fields to be printed.

I you seriously suggesting that we should tie the way device state is migrated to the way device information is printed?

Quoted 3 lines

I can't believe that having those two extra fields is really going to make it any more difficult to debug.

Can't parse that.

Quoted 3 lines

And being able to dump any device state is certainly going to be useful in the future.

No arguing with that.

--
Gleb.