CA-39887: Totally throw away VM RRD updates when domains are paused.
CA-39887: Totally throw away VM RRD updates when domains are paused.

Previously we kept the RRD data but silenced the dirty_memory signal. This would allow the following sequence:
1. domain created
   domain = paused; memory = 0
   <-- RRD updated with memory = 0
   <-- memory not considered 'dirty' because domain is paused
2. domain built
   domain = paused; memory = some interesting value
   <-- RRD updated with memory = some interesting value
   <-- memory not considered 'dirty' because domain is paused
3. domain unpaused
   domain = running; memory = some interesting value
   <-- RRD updated with memory = some interesting value
   <-- memory not considered 'dirty' because memory value has *not* changed in the RRD

Now we ignore the RRD updates when the domain is paused. This means that, when the domain is finally unpaused, the new memory value will always be considered to have changed.

Signed-off-by: David Scott <63c9eb0ea83039690fefa11afe17873ba8278a56@eu.citrix.com>

vasilenkomike/xen-api,simonjbeaumont/xen-api,koushikcgit/xen-api,anoobs/xen-api,guard163/xen-api,Frezzle/xen-api,djs55/xen-api,cheng-z/xen-api,simonjbeaumont/xen-api,simonjbeaumont/xen-api,rafalmiel/xen-api,agimofcarmen/xen-api,robertbreker/xen-api,agimofcarmen/xen-api,vasilenkomike/xen-api,salvocambria/xen-api,djs55/xen-api,anoobs/xen-api,salvocambria/xen-api,vasilenkomike/xen-api,cheng--zhang/xen-api,thomassa/xen-api,cheng-z/xen-api,ravippandey/xen-api,anoobs/xen-api,vasilenkomike/xen-api,euanh/xen-api,cheng--zhang/xen-api,robertbreker/xen-api,jjd27/xen-api,rafalmiel/xen-api,rafalmiel/xen-api,huizh/xen-api,srowe/xen-api,ravippandey/xen-api,agimofcarmen/xen-api,huizh/xen-api,jjd27/xen-api,thomassa/xen-api,djs55/xen-api,agimofcarmen/xen-api,srowe/xen-api,rafalmiel/xen-api,ravippandey/xen-api,salvocambria/xen-api,thomassa/xen-api,Frezzle/xen-api,huizh/xen-api,cheng-z/xen-api,euanh/xen-api,salvocambria/xen-api,koushikcgit/xen-api,ravippandey/xen-api,simonjbeaumont/xen-api,agimofcarmen/xen-api,jjd27/xen-api,djs55/xen-api,jjd27/xen-api,rafalmiel/xen-api,anoobs/xen-api,koushikcgit/xen-api,cheng--zhang/xen-api,cheng--zhang/xen-api,ravippandey/xen-api,vasilenkomike/xen-api,Frezzle/xen-api,thomassa/xen-api,euanh/xen-api,cheng-z/xen-api,anoobs/xen-api,huizh/xen-api,salvocambria/xen-api,agimofcarmen/xen-api,koushikcgit/xen-api,cheng-z/xen-api,euanh/xen-api,robertbreker/xen-api,ravippandey/xen-api,Frezzle/xen-api,simonjbeaumont/xen-api,robertbreker/xen-api,euanh/xen-api,guard163/xen-api,srowe/xen-api,cheng-z/xen-api,guard163/xen-api,euanh/xen-api,djs55/xen-api,vasilenkomike/xen-api,huizh/xen-api,guard163/xen-api,huizh/xen-api,Frezzle/xen-api,srowe/xen-api,koushikcgit/xen-api,salvocambria/xen-api,srowe/xen-api,rafalmiel/xen-api,thomassa/xen-api,guard163/xen-api,robertbreker/xen-api,robertbreker/xen-api,koushikcgit/xen-api,anoobs/xen-api,cheng--zhang/xen-api,simonjbeaumont/xen-api,cheng--zhang/xen-api,jjd27/xen-api,guard163/xen-api,jjd27/xen-api,thomassa/xen-api,cheng--zhang/xen-api,djs55/xen-api,cheng-z/xen-api