示例#1
0
def offline(block):
    try:
        memory.hotunplug(block)
    except IOError:
        print "memory%s : Resource is busy" % block
        pass
def offline(block):
    try:
        memory.hotunplug(block)
        return ""
    except IOError:
        return "memory%s : Resource is busy" % block
def offline(block):
    try:
        memory.hotunplug(block)
    except IOError:
        print "memory%s : Resource is busy" % block
        pass