0d130a0 qemu: monitor: Open-code retrieval of wr_highest_offset

Authored and Committed by Peter Krempa 8 years ago
    qemu: monitor: Open-code retrieval of wr_highest_offset
    
    Instead of using qemuMonitorJSONDevGetBlockExtent (which I plan to
    remove later) extract the data in place.
    
    Additionally add a flag that will be set when the wr_highest_offset was
    extracted correctly so that callers can act according to that.
    
    The test case addition should help make sure that everything works.
    
        
file modified
+4 -0
file modified
+8 -2
file modified
+14 -7
file modified
+8 -6