OpenSolaris

Printable Version Enter a New Search
Bug ID 6618396
Synopsis i_xvdi_debug is ineffectual
State 10-Fix Delivered (Fix available in build)
Category:Subcategory xvm:kernel
Keywords
Responsible Engineer John Levon
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_77
Fixed In snv_77
Release Fixed solaris_nevada(snv_77)
Related Bugs 6551858
Submit Date 18-October-2007
Last Update Date 8-November-2007
Description
i_xvdi_debug is being optimised away:

 186 #ifdef DEBUG
 187 int i_xvdi_debug = 0;
 188
 189 #define XVDI_DPRINTF(flag, format, ...)                 \
 190 {                                                       \
 191         if (i_xvdi_debug & (flag))                      \

...

1421 int
1422 xvdi_switch_state(dev_info_t *dip, xenbus_transaction_t xbt,
1423     XenbusState newState)
1424 {
...
1431         XVDI_DPRINTF(XVDI_DBG_STATE,
1432             "xvdi_switch_state: dip 0x%p moves to %d",
1433             (void *)dip, newState);

> xvdi_switch_state::dis ! grep i_xvdi_debug
>
Work Around
N/A
Comments
N/A