Revision cfc24646 lib/hypervisor/hv_kvm.py
b/lib/hypervisor/hv_kvm.py | ||
---|---|---|
1 | 1 |
# |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2008, 2009, 2010, 2011, 2012 Google Inc. |
|
4 |
# Copyright (C) 2008, 2009, 2010, 2011, 2012, 2013 Google Inc.
|
|
5 | 5 |
# |
6 | 6 |
# This program is free software; you can redistribute it and/or modify |
7 | 7 |
# it under the terms of the GNU General Public License as published by |
... | ... | |
90 | 90 |
try: |
91 | 91 |
buf = _ioctl(fd, TUNGETFEATURES, req) |
92 | 92 |
except EnvironmentError, err: |
93 |
logging.warning("ioctl(TUNGETFEATURES) failed: %s" % err)
|
|
93 |
logging.warning("ioctl(TUNGETFEATURES) failed: %s", err)
|
|
94 | 94 |
return None |
95 | 95 |
else: |
96 | 96 |
(flags, ) = struct.unpack("I", buf) |
Also available in: Unified diff