[libvirt] [BUG] qemu internal snapshot with raw image not aborted
by Philipp Hahn
Hello,
If the running VM contains a floppy, creating snapshot fails internally, but
the error is not detected by libvirt. Success is still reported to the user
success, who will see the snapshots, even they are NOT created.
virsh # qemu-monitor-command --hmp winxp-1 savevm \"test\"
Device 'drive-fdc0-0-0' is writable but does not support snapshots.
virsh # snapshot-create-as winxp-1 test
Domain snapshot test created
Since there is no QMP command in qemu, libvirtd sends a HMP command to the
running QEMU and parses the returned text. There only the following 4 strings
are detected as errors:
src/qemu/qemu_monitor_text.c:2822 # qemuMonitorTextCreateSnapshot()
"Error while creating snapshot"
"No block device can accept snapshots"
"Could not open VM state file"
"Error" + "while writing VM"
Since none of them match the above message, libvirts thinks the command
succeeded.
libvirt-0.9.12 but also exists in git, QEMU 1.1.2
Tracked at <https://forge.univention.org/bugzilla/show_bug.cgi?id=30472>
--
Philipp Hahn Open Source Software Engineer hahn(a)univention.de
Univention GmbH be open. fon: +49 421 22 232- 0
Mary-Somerville-Str.1 D-28359 Bremen fax: +49 421 22 232-99
http://www.univention.de/
11 years, 9 months
[libvirt] [rebased][PATCH 0/4] add pci-bridge support
by liguang
Now, it's impossible to arrange devices into multi-pci-bus,
for example:
<sound model='ac97'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
</sound>
<video>
<model type='cirrus' vram='9216' heads='1'/>
<address type='pci' domain='0x0000' bus='0x1' slot='0x02' function='0x0'/>
</video>
libvirt will complain about "bus != 0",
fortunately, qemu supports pci-to-pci bridge,
if we want to use multi-pci-bus, we can define
2 pci bridge controllers, then attach 1 to the other
as a subordinate pci-bus, so, 2 pci-buses appear.
for example:
<controller type='pci-bridge' index='0'/>
<controller type='pci-bridge' index='1'>
<address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
</controller>
<sound model='ac97'>
<address type='pci' domain='0x0000' bus='0x01' slot='0x02' function='0x0'/>
</sound>
<video>
<model type='cirrus' vram='9216' heads='1'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
</video>
src/conf/domain_conf.c | 100 ++++-
src/conf/domain_conf.h | 1 +
docs/schemas/domaincommon.rng | 1 +
src/qemu/qemu_capabilities.c | 2 +
src/qemu/qemu_capabilities.h | 1 +
src/qemu/qemu_command.c | 70 ++++++++++++++++++++-----
6 files changed, 152 insertions(+), 23 deletions(-)
11 years, 9 months
[libvirt] Support for Hyper-V
by Hassan Shaik
Hi,
I would like to know if libvirt support Hyper-V deployed in Windows 2012
server. Does libvirt talk to Hyper-V using the REST API provided by
Microsoft (where SCVMM & SPF are deployed)?
Many thanks in advance.
Regards,
Hassan
11 years, 9 months
[libvirt] [PATCH] [nwfilter] Fix libvirt upgrade path when nwfilter is used
by Stefan Berger
Between revision 65fb9d49 and before this patch, an upgrade of libvirt while
VMs are running and instantiating iptables filtering rules due to nwfilter
rules, may leave stray iptables rules behind when shutting VMs down.
Left-over iptables rules may look like this:
Chain FP-vnet0 (1 references)
target prot opt source destination
DROP tcp -- 0.0.0.0/0 0.0.0.0/0 tcp spt:122
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
[...]
Chain libvirt-out (1 references)
target prot opt source destination
FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match
--physdev-out vnet0
The reason is that the recent nwfilter code only removed filtering rules in
the libvirt-out chain that contain the --physdev-is-bridged parameter.
Older rules didn't match and were not removed.
Note that the user-defined chain FO-vnet0 could not be removed due to the
reference from the rule in libvirt-out.
Often the work around may be done through
service iptables restart
kill -SIGHUP $(pidof libvirtd)
This patch now also removes older libvirt versions' iptables rules.
Signed-off-by: Stefan Berger <stefanb(a)linux.vnet.ibm.com>
---
src/nwfilter/nwfilter_ebiptables_driver.c | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
Index: libvirt-acl/src/nwfilter/nwfilter_ebiptables_driver.c
===================================================================
--- libvirt-acl.orig/src/nwfilter/nwfilter_ebiptables_driver.c
+++ libvirt-acl/src/nwfilter/nwfilter_ebiptables_driver.c
@@ -167,16 +167,24 @@ static const char ebiptables_script_set_
#define PHYSDEV_IN "--physdev-in"
#define PHYSDEV_OUT "--physdev-is-bridged --physdev-out"
+/*
+ * Previous versions of libvirt only used --physdev-out.
+ * To be able to upgrade with running VMs we need to be able to
+ * remove rules generated by those older versions of libvirt.
+ */
+#define PHYSDEV_OUT_OLD "--physdev-out"
static const char *m_state_out_str = "-m state --state NEW,ESTABLISHED";
static const char *m_state_in_str = "-m state --state ESTABLISHED";
static const char *m_physdev_in_str = "-m physdev " PHYSDEV_IN;
static const char *m_physdev_out_str = "-m physdev " PHYSDEV_OUT;
+static const char *m_physdev_out_old_str = "-m physdev " PHYSDEV_OUT_OLD;
#define MATCH_STATE_OUT m_state_out_str
#define MATCH_STATE_IN m_state_in_str
#define MATCH_PHYSDEV_IN m_physdev_in_str
#define MATCH_PHYSDEV_OUT m_physdev_out_str
+#define MATCH_PHYSDEV_OUT_OLD m_physdev_out_old_str
#define COMMENT_VARNAME "comment"
@@ -821,6 +829,8 @@ _iptablesUnlinkRootChain(virBufferPtr bu
: CHAINPREFIX_HOST_OUT;
const char *match = (incoming) ? MATCH_PHYSDEV_IN
: MATCH_PHYSDEV_OUT;
+ const char *old_match = (incoming) ? NULL
+ : MATCH_PHYSDEV_OUT_OLD;
PRINT_IPT_ROOT_CHAIN(chain, chainPrefix, ifname);
@@ -830,6 +840,18 @@ _iptablesUnlinkRootChain(virBufferPtr bu
basechain,
match, ifname, chain);
+ /*
+ * Previous versions of libvirt may have created a rule
+ * with the --physdev-is-bridged missing. Remove this one
+ * as well.
+ */
+ if (old_match)
+ virBufferAsprintf(buf,
+ "$IPT -D %s "
+ "%s %s -g %s" CMD_SEPARATOR,
+ basechain,
+ old_match, ifname, chain);
+
return 0;
}
11 years, 9 months
[libvirt] [TCK] [PATCH] Add --physdev-is-bridged to test cases
by Stefan Berger
Follow recent changes in libvirt and add --physdev-is-bridged to test cases where needed.
---
scripts/nwfilter/nwfilterxml2fwallout/ah-ipv6-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/ah-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/all-ipv6-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/all-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/comment-test.fwall | 8 ++++----
scripts/nwfilter/nwfilterxml2fwallout/conntrack-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/esp-ipv6-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/esp-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/hex-data-test.fwall | 8 ++++----
scripts/nwfilter/nwfilterxml2fwallout/icmp-direction-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/icmp-direction2-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/icmp-direction3-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/icmp-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/icmpv6-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/igmp-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/ipset-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/ipt-no-macspoof-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/iter-test1.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/iter-test2.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/iter-test3.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/sctp-ipv6-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/sctp-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/target-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/target-test2.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/tcp-ipv6-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/tcp-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/testvm.fwall.dat | 4 ++--
scripts/nwfilter/nwfilterxml2fwallout/udp-ipv6-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/udp-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/udplite-ipv6-test.fwall | 2 +-
scripts/nwfilter/nwfilterxml2fwallout/udplite-test.fwall | 2 +-
31 files changed, 38 insertions(+), 38 deletions(-)
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/ah-ipv6-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/ah-ipv6-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/ah-ipv6-test.fwall
@@ -25,4 +25,4 @@ FI-vnet0 all ::/0 ::/0 [goto] PHYSDEV ma
#ip6tables -L libvirt-in-post -n | grep vnet0
ACCEPT all ::/0 ::/0 PHYSDEV match --physdev-in vnet0
#ip6tables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/ah-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/ah-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/ah-test.fwall
@@ -23,4 +23,4 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/all-ipv6-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/all-ipv6-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/all-ipv6-test.fwall
@@ -25,7 +25,7 @@ FI-vnet0 all ::/0 ::/0 [goto] PHYSDEV ma
#ip6tables -L libvirt-in-post -n | grep vnet0
ACCEPT all ::/0 ::/0 PHYSDEV match --physdev-in vnet0
#ip6tables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#ip6tables -L FORWARD --line-number | grep libvirt
1 libvirt-in all anywhere anywhere
2 libvirt-out all anywhere anywhere
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/all-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/all-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/all-test.fwall
@@ -23,7 +23,7 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#iptables -L FORWARD -n --line-number | grep libvirt
1 libvirt-in all -- 0.0.0.0/0 0.0.0.0/0
2 libvirt-out all -- 0.0.0.0/0 0.0.0.0/0
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/comment-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/comment-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/comment-test.fwall
@@ -27,7 +27,7 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#ip6tables -L FI-vnet0 -n
Chain FI-vnet0 (1 references)
target prot opt source destination
@@ -56,7 +56,7 @@ FI-vnet0 all ::/0 ::/0 [goto] PHYSDEV ma
#ip6tables -L libvirt-in-post -n | grep vnet0
ACCEPT all ::/0 ::/0 PHYSDEV match --physdev-in vnet0
#ip6tables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#iptables -L libvirt-host-in -n | grep vnet0 | tr -s " "
HI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-in -n | grep vnet0 | tr -s " "
@@ -64,7 +64,7 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#ip6tables -L INPUT -n --line-numbers | grep libvirt
1 libvirt-host-in all ::/0 ::/0
#ip6tables -L libvirt-host-in -n | grep vnet0 | tr -s " "
@@ -74,4 +74,4 @@ FI-vnet0 all ::/0 ::/0 [goto] PHYSDEV ma
#ip6tables -L libvirt-in-post -n | grep vnet0
ACCEPT all ::/0 ::/0 PHYSDEV match --physdev-in vnet0
#ip6tables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/conntrack-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/conntrack-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/conntrack-test.fwall
@@ -21,4 +21,4 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/esp-ipv6-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/esp-ipv6-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/esp-ipv6-test.fwall
@@ -25,4 +25,4 @@ FI-vnet0 all ::/0 ::/0 [goto] PHYSDEV ma
#ip6tables -L libvirt-in-post -n | grep vnet0
ACCEPT all ::/0 ::/0 PHYSDEV match --physdev-in vnet0
#ip6tables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/esp-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/esp-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/esp-test.fwall
@@ -23,4 +23,4 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/hex-data-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/hex-data-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/hex-data-test.fwall
@@ -27,7 +27,7 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#ip6tables -L FI-vnet0 -n
Chain FI-vnet0 (1 references)
target prot opt source destination
@@ -47,7 +47,7 @@ FI-vnet0 all ::/0 ::/0 [goto] PHYSDEV ma
#ip6tables -L libvirt-in-post -n | grep vnet0
ACCEPT all ::/0 ::/0 PHYSDEV match --physdev-in vnet0
#ip6tables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#iptables -L libvirt-host-in -n | grep vnet0 | tr -s " "
HI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-in -n | grep vnet0 | tr -s " "
@@ -55,7 +55,7 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#ip6tables -L INPUT -n --line-numbers | grep libvirt
1 libvirt-host-in all ::/0 ::/0
#ip6tables -L libvirt-host-in -n | grep vnet0 | tr -s " "
@@ -65,4 +65,4 @@ FI-vnet0 all ::/0 ::/0 [goto] PHYSDEV ma
#ip6tables -L libvirt-in-post -n | grep vnet0
ACCEPT all ::/0 ::/0 PHYSDEV match --physdev-in vnet0
#ip6tables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/icmp-direction-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/icmp-direction-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/icmp-direction-test.fwall
@@ -20,4 +20,4 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/icmp-direction2-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/icmp-direction2-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/icmp-direction2-test.fwall
@@ -20,4 +20,4 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/icmp-direction3-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/icmp-direction3-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/icmp-direction3-test.fwall
@@ -20,4 +20,4 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/icmp-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/icmp-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/icmp-test.fwall
@@ -20,4 +20,4 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/icmpv6-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/icmpv6-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/icmpv6-test.fwall
@@ -22,5 +22,5 @@ FI-vnet0 all ::/0 ::/0 [goto] PHYSDEV ma
#ip6tables -L libvirt-in-post -n | grep vnet0
ACCEPT all ::/0 ::/0 PHYSDEV match --physdev-in vnet0
#ip6tables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/igmp-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/igmp-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/igmp-test.fwall
@@ -23,4 +23,4 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/ipset-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/ipset-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/ipset-test.fwall
@@ -32,7 +32,7 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#ebtables -t nat -L libvirt-O-vnet0 2>/dev/null | grep -v "table:" | grep -v "^$"
#ebtables -t nat -L libvirt-I-vnet0 2>/dev/null | grep -v "table:" | grep -v "^$"
#ebtables -t nat -L PREROUTING | grep vnet0
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/ipt-no-macspoof-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/ipt-no-macspoof-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/ipt-no-macspoof-test.fwall
@@ -16,4 +16,4 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/iter-test1.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/iter-test1.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/iter-test1.fwall
@@ -23,7 +23,7 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#iptables -L FORWARD -n --line-number | grep libvirt
1 libvirt-in all -- 0.0.0.0/0 0.0.0.0/0
2 libvirt-out all -- 0.0.0.0/0 0.0.0.0/0
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/iter-test2.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/iter-test2.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/iter-test2.fwall
@@ -185,7 +185,7 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#iptables -L FORWARD -n --line-number | grep libvirt
1 libvirt-in all -- 0.0.0.0/0 0.0.0.0/0
2 libvirt-out all -- 0.0.0.0/0 0.0.0.0/0
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/iter-test3.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/iter-test3.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/iter-test3.fwall
@@ -29,7 +29,7 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#iptables -L FORWARD -n --line-number | grep libvirt
1 libvirt-in all -- 0.0.0.0/0 0.0.0.0/0
2 libvirt-out all -- 0.0.0.0/0 0.0.0.0/0
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/sctp-ipv6-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/sctp-ipv6-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/sctp-ipv6-test.fwall
@@ -25,7 +25,7 @@ FI-vnet0 all ::/0 ::/0 [goto] PHYSDEV ma
#ip6tables -L libvirt-in-post -n | grep vnet0
ACCEPT all ::/0 ::/0 PHYSDEV match --physdev-in vnet0
#ip6tables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#ebtables -t nat -L libvirt-O-vnet0 2>/dev/null | grep -v "table:" | grep -v "^$"
#ebtables -t nat -L libvirt-I-vnet0 2>/dev/null | grep -v "table:" | grep -v "^$"
#ebtables -t nat -L PREROUTING | grep vnet0
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/sctp-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/sctp-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/sctp-test.fwall
@@ -23,7 +23,7 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#ebtables -t nat -L libvirt-O-vnet0 2>/dev/null | grep -v "table:" | grep -v "^$"
#ebtables -t nat -L libvirt-I-vnet0 2>/dev/null | grep -v "table:" | grep -v "^$"
#ebtables -t nat -L PREROUTING | grep vnet0
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/target-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/target-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/target-test.fwall
@@ -41,7 +41,7 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#iptables -L FORWARD -n --line-number | grep libvirt
1 libvirt-in all -- 0.0.0.0/0 0.0.0.0/0
2 libvirt-out all -- 0.0.0.0/0 0.0.0.0/0
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/target-test2.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/target-test2.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/target-test2.fwall
@@ -26,7 +26,7 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#iptables -L FORWARD -n --line-number | grep libvirt
1 libvirt-in all -- 0.0.0.0/0 0.0.0.0/0
2 libvirt-out all -- 0.0.0.0/0 0.0.0.0/0
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/tcp-ipv6-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/tcp-ipv6-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/tcp-ipv6-test.fwall
@@ -25,7 +25,7 @@ FI-vnet0 all ::/0 ::/0 [goto] PHYSDEV ma
#ip6tables -L libvirt-in-post -n | grep vnet0
ACCEPT all ::/0 ::/0 PHYSDEV match --physdev-in vnet0
#ip6tables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#ebtables -t nat -L libvirt-O-vnet0 2>/dev/null | grep -v "table:" | grep -v "^$"
#ebtables -t nat -L libvirt-I-vnet0 2>/dev/null | grep -v "table:" | grep -v "^$"
#ebtables -t nat -L PREROUTING | grep vnet0
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/tcp-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/tcp-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/tcp-test.fwall
@@ -27,7 +27,7 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#ebtables -t nat -L libvirt-O-vnet0 2>/dev/null | grep -v "table:" | grep -v "^$"
#ebtables -t nat -L libvirt-I-vnet0 2>/dev/null | grep -v "table:" | grep -v "^$"
#ebtables -t nat -L PREROUTING | grep vnet0
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/testvm.fwall.dat
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/testvm.fwall.dat
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/testvm.fwall.dat
@@ -48,7 +48,7 @@ FI-vnet0 all ::/0 ::/0 [goto] PHYSDEV ma
#ip6tables -L libvirt-in-post -n | grep vnet0
ACCEPT all ::/0 ::/0 PHYSDEV match --physdev-in vnet0
#ip6tables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#iptables -L FI-vnet0 -n
Chain FI-vnet0 (1 references)
target prot opt source destination
@@ -68,4 +68,4 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/udp-ipv6-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/udp-ipv6-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/udp-ipv6-test.fwall
@@ -25,7 +25,7 @@ FI-vnet0 all ::/0 ::/0 [goto] PHYSDEV ma
#ip6tables -L libvirt-in-post -n | grep vnet0
ACCEPT all ::/0 ::/0 PHYSDEV match --physdev-in vnet0
#ip6tables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#ebtables -t nat -L libvirt-O-vnet0 2>/dev/null | grep -v "table:" | grep -v "^$"
#ebtables -t nat -L libvirt-I-vnet0 2>/dev/null | grep -v "table:" | grep -v "^$"
#ebtables -t nat -L PREROUTING | grep vnet0
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/udp-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/udp-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/udp-test.fwall
@@ -23,7 +23,7 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
#ebtables -t nat -L libvirt-O-vnet0 2>/dev/null | grep -v "table:" | grep -v "^$"
#ebtables -t nat -L libvirt-I-vnet0 2>/dev/null | grep -v "table:" | grep -v "^$"
#ebtables -t nat -L PREROUTING | grep vnet0
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/udplite-ipv6-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/udplite-ipv6-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/udplite-ipv6-test.fwall
@@ -25,4 +25,4 @@ FI-vnet0 all ::/0 ::/0 [goto] PHYSDEV ma
#ip6tables -L libvirt-in-post -n | grep vnet0
ACCEPT all ::/0 ::/0 PHYSDEV match --physdev-in vnet0
#ip6tables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all ::/0 ::/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
Index: libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/udplite-test.fwall
===================================================================
--- libvirt-tck.orig/scripts/nwfilter/nwfilterxml2fwallout/udplite-test.fwall
+++ libvirt-tck/scripts/nwfilter/nwfilterxml2fwallout/udplite-test.fwall
@@ -23,4 +23,4 @@ FI-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [got
#iptables -L libvirt-in-post -n | grep vnet0
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 PHYSDEV match --physdev-in vnet0
#iptables -L libvirt-out -n | grep vnet0 | tr -s " "
-FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0
+FO-vnet0 all -- 0.0.0.0/0 0.0.0.0/0 [goto] PHYSDEV match --physdev-out vnet0 --physdev-is-bridged
11 years, 9 months
[libvirt] Boot VM with HLFS driver for Libvirt network disk (Online storage management)
by harryxiyou
Hi all,
We have developed Online storage driver and Offline storage driver for
Libvirt, which are located here.
Online one:
http://cloudxy.googlecode.com/svn/branches/hlfs/person/harry/hlfs/patches...
Offline one:
http://cloudxy.googlecode.com/svn/branches/hlfs/person/harry/hlfs/patches...
HLFS(HDFS-based Log-structured FileSystem) has two modes, which
are local mode and HDFS mode. We have tested HLFS driver for Libvirt
with local way succesfully. However, when we test HDFS mode with HLFS
driver for Libvirt network disk(Online storage Management), which needs
"CLASSPATH" environment varaible, we must modify Libvirt source codes
like following to set "CLASSPATH" environment variable.
First location: Modify qemuBuildCommandLine func in src/qemu/qemu_command.c
[...]
5731 if (deviceFlagMasked)
5732 qemuCapsSet(caps, QEMU_CAPS_DEVICE);
5733 if (!optstr)
5734 goto error;
5735 virCommandAddArg(cmd, optstr);
5736 VIR_FREE(optstr);
5737 /*TODO: submit this to Libvirt community, add this line!!!*/
5738 virCommandAddEnvPass(cmd, "CLASSPATH");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5739
5740 if (!emitBootindex)
5741 bootindex = 0;
5742 else if (disk->info.bootIndex)
5743 bootindex = disk->info.bootIndex;
[...]
Second location: Modify virNetSocketForkDaemon func in /src/rpc/virnetsocket.c
[...]
118 static int virNetSocketForkDaemon(const char *binary)
119 {
120 int ret;
121 virCommandPtr cmd = virCommandNewArgList(binary,
122 "--timeout=30",
123 NULL);
124
125 virCommandAddEnvPassCommon(cmd);
126 virCommandAddEnvPass(cmd, "XDG_CACHE_HOME");
127 virCommandAddEnvPass(cmd, "XDG_CONFIG_HOME");
128 virCommandAddEnvPass(cmd, "XDG_RUNTIME_DIR");
129 /*TODO: submit this to libvirt community, add this line!!!!*/
130 virCommandAddEnvPass(cmd, "CLASSPATH");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
131 virCommandClearCaps(cmd);
132 virCommandDaemonize(cmd);
133 ret = virCommandRun(cmd, NULL);
134 virCommandFree(cmd);
135 return ret;
136 }
[...]
I boot VM with HLFS volume like following two ways.
First way: Only execute "virsh create hlfs_hdfs.xml"
----------------------------------------------------------------------------
This way fails and i find this way just calls func virNetSocketForkDaemon
but qemuBuildCommandLine func.
Second way: first start "libvirtd" daemon, then execute "virsh create
hlfs_hdfs.xml"
-----------------------------------------------------------------------------------------------------------------------
This way works well. It calls qemuBuildCommandLine func, which need not call
func virNetSocketForkDaemon.
NOTE: hlfs_hdfs.xml is like this.
$ cat hlfs_hdfs.xml
<domain type='qemu'>
<name>testvm</name>
<memory>1048576</memory>
<os>
<type arch='x86_64'>hvm</type>
</os>
<devices>
<disk type='network'>
<source protocol="hlfs" name="hdfs:///tmp/testenv/testfs"/>
<target dev='hda' bus='ide'/>
</disk>
<graphics type='vnc' port='-1' autoport='yes'/>
</devices>
</domain>
I have some questions about up stuffs.
1, I wonder why first way (Only execute "virsh create hlfs_hdfs.xml")
do not call
qemuBuildCommandLine func, which may lead to fail to start VM with HLFS
volume, right?
2, Maybe i have some understanding mistakes. You may also give other perfect
ways to solve my prolems.
After first way (Only execute "virsh create hlfs_hdfs.xml"), i get
following logs(ALL).
$ ./virsh create hlfs_hdfs.xml
2013-02-14 03:32:04.311+0000: 23205: info : libvirt version: 1.0.1
2013-02-14 03:32:04.311+0000: 23205: debug : virGlobalInit:417 :
register drivers
2013-02-14 03:32:04.311+0000: 23205: debug : virRegisterDriver:747 :
driver=0x3c87e0 name=Test
2013-02-14 03:32:04.311+0000: 23205: debug : virRegisterDriver:759 :
registering Test as driver 0
2013-02-14 03:32:04.311+0000: 23205: debug :
virRegisterNetworkDriver:594 : registering Test as network driver 0
2013-02-14 03:32:04.311+0000: 23205: debug :
virRegisterInterfaceDriver:621 : registering Test as interface driver
0
2013-02-14 03:32:04.311+0000: 23205: debug :
virRegisterStorageDriver:648 : registering Test as storage driver 0
2013-02-14 03:32:04.311+0000: 23205: debug :
virRegisterDeviceMonitor:675 : registering Test as device driver 0
2013-02-14 03:32:04.311+0000: 23205: debug :
virRegisterSecretDriver:702 : registering Test as secret driver 0
2013-02-14 03:32:04.311+0000: 23205: debug :
virRegisterNWFilterDriver:729 : registering Test as network filter
driver 0
2013-02-14 03:32:04.311+0000: 23205: debug : virRegisterDriver:747 :
driver=0x3c9120 name=OPENVZ
2013-02-14 03:32:04.311+0000: 23205: debug : virRegisterDriver:759 :
registering OPENVZ as driver 1
2013-02-14 03:32:04.311+0000: 23205: debug : virRegisterDriver:747 :
driver=0x3c9420 name=VMWARE
2013-02-14 03:32:04.311+0000: 23205: debug : virRegisterDriver:759 :
registering VMWARE as driver 2
2013-02-14 03:32:04.311+0000: 23205: debug : vboxRegister:131 :
VBoxCGlueInit failed, using dummy driver
2013-02-14 03:32:04.311+0000: 23205: debug : virRegisterDriver:747 :
driver=0x3c9740 name=VBOX
2013-02-14 03:32:04.311+0000: 23205: debug : virRegisterDriver:759 :
registering VBOX as driver 3
2013-02-14 03:32:04.311+0000: 23205: debug :
virRegisterNetworkDriver:594 : registering VBOX as network driver 1
2013-02-14 03:32:04.311+0000: 23205: debug :
virRegisterStorageDriver:648 : registering VBOX as storage driver 1
2013-02-14 03:32:04.311+0000: 23205: debug : virRegisterDriver:747 :
driver=0x3c8be0 name=remote
2013-02-14 03:32:04.311+0000: 23205: debug : virRegisterDriver:759 :
registering remote as driver 4
2013-02-14 03:32:04.311+0000: 23205: debug :
virRegisterNetworkDriver:594 : registering remote as network driver 2
2013-02-14 03:32:04.311+0000: 23205: debug :
virRegisterInterfaceDriver:621 : registering remote as interface
driver 1
2013-02-14 03:32:04.311+0000: 23205: debug :
virRegisterStorageDriver:648 : registering remote as storage driver 2
2013-02-14 03:32:04.311+0000: 23205: debug :
virRegisterDeviceMonitor:675 : registering remote as device driver 1
2013-02-14 03:32:04.311+0000: 23205: debug :
virRegisterSecretDriver:702 : registering remote as secret driver 1
2013-02-14 03:32:04.311+0000: 23205: debug :
virRegisterNWFilterDriver:729 : registering remote as network filter
driver 1
2013-02-14 03:32:04.312+0000: 23205: debug :
virEventRegisterDefaultImpl:204 : registering default event
implementation
2013-02-14 03:32:04.312+0000: 23205: debug : virEventPollAddHandle:111
: Used 0 handle slots, adding at least 10 more
2013-02-14 03:32:04.312+0000: 23205: debug :
virEventPollInterruptLocked:712 : Skip interrupt, 0 0
2013-02-14 03:32:04.312+0000: 23205: debug : virEventPollAddHandle:136
: EVENT_POLL_ADD_HANDLE: watch=1 fd=4 events=1 cb=0x1502c7
opaque=(nil) ff=(nil)
2013-02-14 03:32:04.312+0000: 23205: debug : virEventRegisterImpl:177
: addHandle=0x14e3f4 updateHandle=0x14e67b removeHandle=0x14e81f
addTimeout=0x14ea15 updateTimeout=0x14ec7d removeTimeout=0x14eec1
2013-02-14 03:32:04.312+0000: 23205: debug : virConnectOpenAuth:1430 :
name=(null), auth=0x3c84e0, flags=0
2013-02-14 03:32:04.312+0000: 23220: debug :
virEventRunDefaultImpl:244 : running default event implementation
2013-02-14 03:32:04.312+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:04.312+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:04.312+0000: 23205: debug : virObjectNew:110 :
OBJECT_NEW: obj=0x8d186b0 classname=virConnect
2013-02-14 03:32:04.312+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 1
2013-02-14 03:32:04.312+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=0 w=1, f=4 e=1 d=0
2013-02-14 03:32:04.312+0000: 23220: debug :
virEventPollCalculateTimeout:332 : Calculate expiry of 0 timers
2013-02-14 03:32:04.312+0000: 23220: debug :
virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms
2013-02-14 03:32:04.312+0000: 23220: debug : virEventPollRunOnce:629 :
EVENT_POLL_RUN: nhandles=1 timeout=-1
2013-02-14 03:32:04.313+0000: 23205: debug : do_open:1149 : no name,
allowing driver auto-select
2013-02-14 03:32:04.313+0000: 23205: debug : do_open:1191 : trying
driver 0 (Test) ...
2013-02-14 03:32:04.313+0000: 23205: debug : do_open:1197 : driver 0
Test returned DECLINED
2013-02-14 03:32:04.313+0000: 23205: debug : do_open:1191 : trying
driver 1 (OPENVZ) ...
2013-02-14 03:32:04.313+0000: 23205: debug : do_open:1197 : driver 1
OPENVZ returned DECLINED
2013-02-14 03:32:04.313+0000: 23205: debug : do_open:1191 : trying
driver 2 (VMWARE) ...
2013-02-14 03:32:04.313+0000: 23205: debug : do_open:1197 : driver 2
VMWARE returned DECLINED
2013-02-14 03:32:04.313+0000: 23205: debug : do_open:1191 : trying
driver 3 (VBOX) ...
2013-02-14 03:32:04.313+0000: 23205: debug : do_open:1197 : driver 3
VBOX returned DECLINED
2013-02-14 03:32:04.313+0000: 23205: debug : do_open:1191 : trying
driver 4 (remote) ...
2013-02-14 03:32:04.313+0000: 23205: debug : remoteOpen:958 :
Auto-probe remote URI
2013-02-14 03:32:04.313+0000: 23205: debug : remoteOpen:961 :
Auto-spawn user daemon instance
2013-02-14 03:32:04.313+0000: 23205: debug : doRemoteOpen:586 :
proceeding with name =
2013-02-14 03:32:04.313+0000: 23205: debug : doRemoteOpen:595 :
Connecting with transport 1
2013-02-14 03:32:04.313+0000: 23205: debug : doRemoteOpen:671 :
Proceeding with sockname /home/jiawei/.cache/libvirt/libvirt-sock
2013-02-14 03:32:04.313+0000: 23205: debug :
virNetSocketNewConnectUNIX:562 : Connection refused for
/home/jiawei/.cache/libvirt/libvirt-sock, trying to spawn
/usr/local/sbin/libvirtd
999 enter func virNetSocketForkDaemon----------
2013-02-14 03:32:04.313+0000: 23205: debug : virCommandRunAsync:2200 :
About to run LC_ALL=C
LD_LIBRARY_PATH=/usr/lib/jvm/java-6-sun/jre/lib/i386/server/:/home/jiawei/workshop3/hlfs/3part/hadoop/lib32/:/home/jiawei/workshop3/hlfs/3part/log/lib32/:/home/jiawei/workshop3/hlfs/3part/snappy/lib32/:/home/jiawei/workshop3/hlfs/output/lib32/:/usr/lib/
PATH=/usr/bin/:/usr/local/bin/:/bin/:/usr/sbin/:/sbin/:/usr/lib/jvm/java-6-sun/bin/
HOME=/home/jiawei USER=jiawei LOGNAME=jiawei
CLASSPATH=.:/usr/lib/jvm/java-6-sun/jre/lib/:/usr/lib/jvm/java-6-sun/lib/:/usr/lib/hadoop-0.20/conf:/usr/lib/jvm/java-6-sun/lib/tools.jar:/usr/lib/hadoop-0.20:/usr/lib/hadoop-0.20/hadoop-core-0.20.2-cdh3u2.jar:/usr/lib/hadoop-0.20/lib/ant-contrib-1.0b3.jar:/usr/lib/hadoop-0.20/lib/aspectjrt-1.6.5.jar:/usr/lib/hadoop-0.20/lib/aspectjtools-1.6.5.jar:/usr/lib/hadoop-0.20/lib/commons-cli-1.2.jar:/usr/lib/hadoop-0.20/lib/commons-codec-1.4.jar:/usr/lib/hadoop-0.20/lib/commons-daemon-1.0.1.jar:/usr/lib/hadoop-0.20/lib/commons-el-1.0.jar:/usr/lib/hadoop-0.20/lib/commons-httpclient-3.1.jar:/usr/lib/hadoop-0.20/lib/commons-logging-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-logging-api-1.0.4.jar:/usr/lib/hadoop-0.20/lib/commons-net-1.4.1.jar:/usr/lib/hadoop-0.20/lib/core-3.1.1.jar:/usr/lib/hadoop-0.20/lib/hadoop-fairscheduler-0.20.2-cdh3u2.jar:/usr/lib/hadoop-0.20/lib/hsqldb-1.8.0.10.jar:/usr/lib/hadoop-0.20/lib/jackson-core-asl-1.5.2.jar:/usr/lib/hadoop-0.20/lib/jackson-mapper-asl-1.5.2.jar:/usr/lib/hadoop-0.20/lib/jasper-compiler-5.5.12.jar:/usr/lib/hadoo-0.20/lib/jasper-runtime-5.5.12.jar:/usr/lib/hadoop-0.20/lib/jets3t-0.6.1.jar:/usr/lib/hadoop-0.20/lib/jetty-6.1.26.cloudera.1.jar:/usr/lib/hadoop-0.20/lib/jetty-servlet-tester-6.1.26.cloudera.1.jar:/usr/lib/hadoop-0.20/lib/jetty-util-6.1.26.cloudera.1.jar:/usr/lib/hadoop-0.20/lib/jsch-0.1.42.jar:/usr/lib/hadoop-0.20/lib/junit-4.5.jar:/usr/lib/hadoop-0.20/lib/kfs-0.2.2.jar:/usr/lib/hadoop-0.20/lib/log4j-1.2.15.jar:/usr/lib/hadoop-0.20/lib/mockito-all-1.8.2.jar:/usr/lib/hadoop-0.20/lib/oro-2.0.8.jar:/usr/lib/hadoop-0.20/lib/servlet-api-2.5-20081211.jar:/usr/lib/hadoop-0.20/lib/servlet-api-2.5-6.1.14.jar:/usr/lib/hadoop-0.20/lib/slf4j-api-1.4.3.jar:/usr/lib/hadoop-0.20/lib/slf4j-log4j12-1.4.3.jar:/usr/lib/hadoop-0.20/lib/xmlenc-0.52.jar:/usr/lib/hadoop-0.20/lib/jsp-2.1/jsp-2.1.jar:/usr/lib/hadoop-0.20/lib/jsp-2.1/jsp-api-2.1.jar
/usr/local/sbin/libvirtd --timeout=30
2013-02-14 03:32:04.317+0000: 23205: debug : virFileClose:72 : Closed fd 7
2013-02-14 03:32:04.317+0000: 23205: debug : virCommandRunAsync:2218 :
Command result 0, with PID 23221
2013-02-14 03:32:04.317+0000: 23221: debug : virFileClose:72 : Closed fd 3
2013-02-14 03:32:04.317+0000: 23221: debug : virFileClose:72 : Closed fd 4
2013-02-14 03:32:04.317+0000: 23221: debug : virFileClose:72 : Closed fd 5
2013-02-14 03:32:04.317+0000: 23221: debug : virFileClose:72 : Closed fd 6
2013-02-14 03:32:04.318+0000: 23205: debug : virCommandRun:2016 :
Result status 0, stdout: '(null)' stderr: '(null)'
999 leave func virNetSocketForkDaemon-----ret is 0-----
2013-02-14 03:32:04.418+0000: 23205: debug :
virNetSocketNewConnectUNIX:562 : Connection refused for
/home/jiawei/.cache/libvirt/libvirt-sock, trying to spawn
/usr/local/sbin/libvirtd
2013-02-14 03:32:04.618+0000: 23205: debug : virNetSocketNew:155 :
localAddr=0xbff192d8 remoteAddr=0xbff19254 fd=6 errfd=-1 pid=0
2013-02-14 03:32:04.618+0000: 23205: debug : virObjectNew:110 :
OBJECT_NEW: obj=0xb6d005e0 classname=virNetSocket
2013-02-14 03:32:04.618+0000: 23205: debug : virNetSocketNew:212 :
RPC_SOCKET_NEW: sock=0xb6d005e0 fd=6 errfd=-1 pid=0
localAddr=127.0.0.1;0, remoteAddr=127.0.0.1;0
2013-02-14 03:32:04.618+0000: 23205: debug : virObjectNew:110 :
OBJECT_NEW: obj=0xb6d01cd8 classname=virNetClient
2013-02-14 03:32:04.618+0000: 23205: debug : virNetClientNew:342 :
RPC_CLIENT_NEW: client=0xb6d01cd8 sock=0xb6d005e0
2013-02-14 03:32:04.618+0000: 23205: debug : virObjectRef:168 :
OBJECT_REF: obj=0xb6d01cd8
2013-02-14 03:32:04.618+0000: 23205: debug : virObjectRef:168 :
OBJECT_REF: obj=0xb6d005e0
2013-02-14 03:32:04.618+0000: 23205: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-02-14 03:32:04.618+0000: 23205: debug : virEventPollAddHandle:136
: EVENT_POLL_ADD_HANDLE: watch=2 fd=6 events=1 cb=0x27f8f5
opaque=0xb6d005e0 ff=0x27f960
2013-02-14 03:32:04.618+0000: 23205: debug : virKeepAliveNew:212 :
client=0xb6d01cd8, interval=-1, count=0
2013-02-14 03:32:04.618+0000: 23220: debug : virEventPollRunOnce:640 :
Poll got 1 event(s)
2013-02-14 03:32:04.618+0000: 23220: debug :
virEventPollDispatchTimeouts:425 : Dispatch 0
2013-02-14 03:32:04.618+0000: 23220: debug :
virEventPollDispatchHandles:470 : Dispatch 1
2013-02-14 03:32:04.618+0000: 23205: debug : virObjectNew:110 :
OBJECT_NEW: obj=0xb6d00480 classname=virKeepAlive
2013-02-14 03:32:04.618+0000: 23220: debug :
virEventPollDispatchHandles:484 : i=0 w=1
2013-02-14 03:32:04.618+0000: 23220: debug :
virEventPollDispatchHandles:498 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2013-02-14 03:32:04.618+0000: 23205: debug : virKeepAliveNew:236 :
RPC_KEEPALIVE_NEW: ka=0xb6d00480 client=0xb6d01cd8
2013-02-14 03:32:04.618+0000: 23205: debug : virObjectRef:168 :
OBJECT_REF: obj=0xb6d01cd8
2013-02-14 03:32:04.618+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventRunDefaultImpl:244 : running default event implementation
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:04.619+0000: 23205: debug : virObjectNew:110 :
OBJECT_NEW: obj=0xb6d00568 classname=virNetClientProgram
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:04.619+0000: 23205: debug : virObjectNew:110 :
OBJECT_NEW: obj=0xb6d00590 classname=virNetClientProgram
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:04.619+0000: 23205: debug : virObjectRef:168 :
OBJECT_REF: obj=0xb6d00568
2013-02-14 03:32:04.619+0000: 23205: debug : virObjectRef:168 :
OBJECT_REF: obj=0xb6d00590
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=0 w=1, f=4 e=1 d=0
2013-02-14 03:32:04.619+0000: 23205: debug : doRemoteOpen:772 : Trying
authentication
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=1 w=2, f=6 e=1 d=0
2013-02-14 03:32:04.619+0000: 23205: debug : virNetMessageNew:45 :
msg=0xb6d00520 tracked=0
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollCalculateTimeout:332 : Calculate expiry of 0 timers
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms
2013-02-14 03:32:04.619+0000: 23220: debug : virEventPollRunOnce:629 :
EVENT_POLL_RUN: nhandles=2 timeout=-1
2013-02-14 03:32:04.619+0000: 23205: debug :
virNetMessageEncodePayload:358 : Encode length as 28
2013-02-14 03:32:04.619+0000: 23205: debug :
virNetClientSendInternal:1955 : RPC_CLIENT_MSG_TX_QUEUE:
client=0xb6d01cd8 len=28 prog=536903814 vers=1 proc=66 type=0 status=0
serial=0
2013-02-14 03:32:04.619+0000: 23205: debug : virNetClientCallNew:1908
: New call 0xb6d01d88: msg=0xb6d00520, expectReply=1, nonBlock=0
2013-02-14 03:32:04.619+0000: 23205: debug : virNetClientIO:1718 :
Outgoing message prog=536903814 version=1 serial=0 proc=66 type=0
length=28 dispatch=(nil)
2013-02-14 03:32:04.619+0000: 23205: debug : virNetClientIO:1777 : We
have the buck head=0xb6d01d88 call=0xb6d01d88
2013-02-14 03:32:04.619+0000: 23205: debug :
virEventPollUpdateHandle:147 : EVENT_POLL_UPDATE_HANDLE: watch=2
events=0
2013-02-14 03:32:04.619+0000: 23205: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-02-14 03:32:04.619+0000: 23220: debug : virEventPollRunOnce:640 :
Poll got 1 event(s)
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollDispatchTimeouts:425 : Dispatch 0
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollDispatchHandles:470 : Dispatch 2
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollDispatchHandles:484 : i=0 w=1
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollDispatchHandles:498 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventRunDefaultImpl:244 : running default event implementation
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=0 w=1, f=4 e=1 d=0
2013-02-14 03:32:04.619+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=1 w=2, f=6 e=0 d=0
2013-02-14 03:32:04.624+0000: 23220: debug :
virEventPollCalculateTimeout:332 : Calculate expiry of 0 timers
2013-02-14 03:32:04.624+0000: 23220: debug :
virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms
2013-02-14 03:32:04.624+0000: 23220: debug : virEventPollRunOnce:629 :
EVENT_POLL_RUN: nhandles=1 timeout=-1
2013-02-14 03:32:07.411+0000: 23205: debug :
virNetMessageDecodeLength:152 : Got length, now need 36 total (32
more)
2013-02-14 03:32:07.411+0000: 23205: debug :
virNetClientCallDispatch:1127 : RPC_CLIENT_MSG_RX: client=0xb6d01cd8
len=36 prog=536903814 vers=1 proc=66 type=1 status=0 serial=0
2013-02-14 03:32:07.411+0000: 23205: debug :
virKeepAliveCheckMessage:384 : ka=0xb6d00480, client=0xb6d01cd8,
msg=0xb6d01d14
2013-02-14 03:32:07.411+0000: 23205: debug :
virNetClientIOEventLoopPassTheBuck:1424 : Giving up the buck
0xb6d01d88
2013-02-14 03:32:07.411+0000: 23205: debug :
virNetClientIOEventLoopPassTheBuck:1438 : No thread to pass the buck
to
2013-02-14 03:32:07.411+0000: 23205: debug :
virEventPollUpdateHandle:147 : EVENT_POLL_UPDATE_HANDLE: watch=2
events=1
2013-02-14 03:32:07.411+0000: 23205: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-02-14 03:32:07.411+0000: 23205: debug : virNetClientIO:1807 : All
done with our call head=(nil) call=0xb6d01d88 rv=0
2013-02-14 03:32:07.411+0000: 23220: debug : virEventPollRunOnce:640 :
Poll got 1 event(s)
2013-02-14 03:32:07.411+0000: 23205: debug : virNetMessageFree:73 :
msg=0xb6d00520 nfds=0 cb=(nil)
2013-02-14 03:32:07.411+0000: 23220: debug :
virEventPollDispatchTimeouts:425 : Dispatch 0
2013-02-14 03:32:07.411+0000: 23205: debug : virNetMessageNew:45 :
msg=0xb6d00520 tracked=0
2013-02-14 03:32:07.411+0000: 23220: debug :
virEventPollDispatchHandles:470 : Dispatch 1
2013-02-14 03:32:07.411+0000: 23220: debug :
virEventPollDispatchHandles:484 : i=0 w=1
2013-02-14 03:32:07.411+0000: 23220: debug :
virEventPollDispatchHandles:498 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2013-02-14 03:32:07.411+0000: 23205: debug :
virNetMessageEncodePayload:358 : Encode length as 32
2013-02-14 03:32:07.411+0000: 23205: debug :
virNetClientSendInternal:1955 : RPC_CLIENT_MSG_TX_QUEUE:
client=0xb6d01cd8 len=32 prog=536903814 vers=1 proc=60 type=0 status=0
serial=1
2013-02-14 03:32:07.411+0000: 23205: debug : virNetClientCallNew:1908
: New call 0xb6d01db8: msg=0xb6d00520, expectReply=1, nonBlock=0
2013-02-14 03:32:07.411+0000: 23205: debug : virNetClientIO:1718 :
Outgoing message prog=536903814 version=1 serial=1 proc=60 type=0
length=32 dispatch=(nil)
2013-02-14 03:32:07.411+0000: 23205: debug : virNetClientIO:1777 : We
have the buck head=0xb6d01db8 call=0xb6d01db8
2013-02-14 03:32:07.411+0000: 23205: debug :
virEventPollUpdateHandle:147 : EVENT_POLL_UPDATE_HANDLE: watch=2
events=0
2013-02-14 03:32:07.411+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:07.412+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.412+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:07.412+0000: 23220: debug :
virEventRunDefaultImpl:244 : running default event implementation
2013-02-14 03:32:07.412+0000: 23205: debug :
virEventPollInterruptLocked:712 : Skip interrupt, 0 -1218303120
2013-02-14 03:32:07.412+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:07.412+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.412+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:07.412+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=0 w=1, f=4 e=1 d=0
2013-02-14 03:32:07.412+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=1 w=2, f=6 e=0 d=0
2013-02-14 03:32:07.412+0000: 23220: debug :
virEventPollCalculateTimeout:332 : Calculate expiry of 0 timers
2013-02-14 03:32:07.412+0000: 23220: debug :
virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms
2013-02-14 03:32:07.412+0000: 23220: debug : virEventPollRunOnce:629 :
EVENT_POLL_RUN: nhandles=1 timeout=-1
2013-02-14 03:32:07.412+0000: 23205: debug :
virNetMessageDecodeLength:152 : Got length, now need 32 total (28
more)
2013-02-14 03:32:07.412+0000: 23205: debug :
virNetClientCallDispatch:1127 : RPC_CLIENT_MSG_RX: client=0xb6d01cd8
len=32 prog=536903814 vers=1 proc=60 type=1 status=0 serial=1
2013-02-14 03:32:07.412+0000: 23205: debug :
virKeepAliveCheckMessage:384 : ka=0xb6d00480, client=0xb6d01cd8,
msg=0xb6d01d14
2013-02-14 03:32:07.412+0000: 23205: debug :
virNetClientIOEventLoopPassTheBuck:1424 : Giving up the buck
0xb6d01db8
2013-02-14 03:32:07.412+0000: 23205: debug :
virNetClientIOEventLoopPassTheBuck:1438 : No thread to pass the buck
to
2013-02-14 03:32:07.412+0000: 23205: debug :
virEventPollUpdateHandle:147 : EVENT_POLL_UPDATE_HANDLE: watch=2
events=1
2013-02-14 03:32:07.413+0000: 23205: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-02-14 03:32:07.413+0000: 23205: debug : virNetClientIO:1807 : All
done with our call head=(nil) call=0xb6d01db8 rv=0
2013-02-14 03:32:07.413+0000: 23205: debug : virNetMessageFree:73 :
msg=0xb6d00520 nfds=0 cb=(nil)
2013-02-14 03:32:07.413+0000: 23205: debug : doRemoteOpen:798 : Trying
to open URI
2013-02-14 03:32:07.413+0000: 23205: debug : virNetMessageNew:45 :
msg=0xb6d00520 tracked=0
2013-02-14 03:32:07.413+0000: 23205: debug :
virNetMessageEncodePayload:358 : Encode length as 40
2013-02-14 03:32:07.413+0000: 23205: debug :
virNetClientSendInternal:1955 : RPC_CLIENT_MSG_TX_QUEUE:
client=0xb6d01cd8 len=40 prog=536903814 vers=1 proc=1 type=0 status=0
serial=2
2013-02-14 03:32:07.413+0000: 23205: debug : virNetClientCallNew:1908
: New call 0xb6d01d88: msg=0xb6d00520, expectReply=1, nonBlock=0
2013-02-14 03:32:07.413+0000: 23205: debug : virNetClientIO:1718 :
Outgoing message prog=536903814 version=1 serial=2 proc=1 type=0
length=40 dispatch=(nil)
2013-02-14 03:32:07.413+0000: 23205: debug : virNetClientIO:1777 : We
have the buck head=0xb6d01d88 call=0xb6d01d88
2013-02-14 03:32:07.413+0000: 23205: debug :
virEventPollUpdateHandle:147 : EVENT_POLL_UPDATE_HANDLE: watch=2
events=0
2013-02-14 03:32:07.413+0000: 23205: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-02-14 03:32:07.413+0000: 23220: debug : virEventPollRunOnce:640 :
Poll got 1 event(s)
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollDispatchTimeouts:425 : Dispatch 0
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollDispatchHandles:470 : Dispatch 1
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollDispatchHandles:484 : i=0 w=1
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollDispatchHandles:498 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventRunDefaultImpl:244 : running default event implementation
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=0 w=1, f=4 e=1 d=0
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=1 w=2, f=6 e=0 d=0
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollCalculateTimeout:332 : Calculate expiry of 0 timers
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms
2013-02-14 03:32:07.413+0000: 23220: debug : virEventPollRunOnce:629 :
EVENT_POLL_RUN: nhandles=1 timeout=-1
2013-02-14 03:32:07.413+0000: 23220: debug : virEventPollRunOnce:640 :
Poll got 1 event(s)
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollDispatchTimeouts:425 : Dispatch 0
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollDispatchHandles:470 : Dispatch 1
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollDispatchHandles:484 : i=0 w=1
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollDispatchHandles:498 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventRunDefaultImpl:244 : running default event implementation
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=0 w=1, f=4 e=1 d=0
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=1 w=2, f=6 e=0 d=0
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollCalculateTimeout:332 : Calculate expiry of 0 timers
2013-02-14 03:32:07.413+0000: 23220: debug :
virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms
2013-02-14 03:32:07.413+0000: 23220: debug : virEventPollRunOnce:629 :
EVENT_POLL_RUN: nhandles=1 timeout=-1
2013-02-14 03:32:07.414+0000: 23205: debug :
virNetMessageDecodeLength:152 : Got length, now need 28 total (24
more)
2013-02-14 03:32:07.414+0000: 23205: debug :
virNetClientCallDispatch:1127 : RPC_CLIENT_MSG_RX: client=0xb6d01cd8
len=28 prog=536903814 vers=1 proc=1 type=1 status=0 serial=2
2013-02-14 03:32:07.414+0000: 23205: debug :
virKeepAliveCheckMessage:384 : ka=0xb6d00480, client=0xb6d01cd8,
msg=0xb6d01d14
2013-02-14 03:32:07.414+0000: 23205: debug :
virNetClientIOEventLoopPassTheBuck:1424 : Giving up the buck
0xb6d01d88
2013-02-14 03:32:07.414+0000: 23205: debug :
virNetClientIOEventLoopPassTheBuck:1438 : No thread to pass the buck
to
2013-02-14 03:32:07.417+0000: 23205: debug :
virEventPollUpdateHandle:147 : EVENT_POLL_UPDATE_HANDLE: watch=2
events=1
2013-02-14 03:32:07.417+0000: 23205: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-02-14 03:32:07.417+0000: 23205: debug : virNetClientIO:1807 : All
done with our call head=(nil) call=0xb6d01d88 rv=0
2013-02-14 03:32:07.417+0000: 23205: debug : virNetMessageFree:73 :
msg=0xb6d00520 nfds=0 cb=(nil)
2013-02-14 03:32:07.417+0000: 23205: debug : doRemoteOpen:809 : Trying
to query remote URI
2013-02-14 03:32:07.417+0000: 23205: debug : virNetMessageNew:45 :
msg=0xb6d01df0 tracked=0
2013-02-14 03:32:07.417+0000: 23205: debug :
virNetMessageEncodePayload:358 : Encode length as 28
2013-02-14 03:32:07.417+0000: 23205: debug :
virNetClientSendInternal:1955 : RPC_CLIENT_MSG_TX_QUEUE:
client=0xb6d01cd8 len=28 prog=536903814 vers=1 proc=110 type=0
status=0 serial=3
2013-02-14 03:32:07.417+0000: 23205: debug : virNetClientCallNew:1908
: New call 0xb6d00520: msg=0xb6d01df0, expectReply=1, nonBlock=0
2013-02-14 03:32:07.417+0000: 23205: debug : virNetClientIO:1718 :
Outgoing message prog=536903814 version=1 serial=3 proc=110 type=0
length=28 dispatch=(nil)
2013-02-14 03:32:07.417+0000: 23205: debug : virNetClientIO:1777 : We
have the buck head=0xb6d00520 call=0xb6d00520
2013-02-14 03:32:07.417+0000: 23205: debug :
virEventPollUpdateHandle:147 : EVENT_POLL_UPDATE_HANDLE: watch=2
events=0
2013-02-14 03:32:07.417+0000: 23205: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-02-14 03:32:07.417+0000: 23220: debug : virEventPollRunOnce:640 :
Poll got 1 event(s)
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollDispatchTimeouts:425 : Dispatch 0
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollDispatchHandles:470 : Dispatch 1
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollDispatchHandles:484 : i=0 w=1
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollDispatchHandles:498 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventRunDefaultImpl:244 : running default event implementation
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=0 w=1, f=4 e=1 d=0
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=1 w=2, f=6 e=0 d=0
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollCalculateTimeout:332 : Calculate expiry of 0 timers
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms
2013-02-14 03:32:07.417+0000: 23220: debug : virEventPollRunOnce:629 :
EVENT_POLL_RUN: nhandles=1 timeout=-1
2013-02-14 03:32:07.417+0000: 23220: debug : virEventPollRunOnce:640 :
Poll got 1 event(s)
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollDispatchTimeouts:425 : Dispatch 0
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollDispatchHandles:470 : Dispatch 1
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollDispatchHandles:484 : i=0 w=1
2013-02-14 03:32:07.417+0000: 23220: debug :
virEventPollDispatchHandles:498 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventRunDefaultImpl:244 : running default event implementation
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=0 w=1, f=4 e=1 d=0
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=1 w=2, f=6 e=0 d=0
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollCalculateTimeout:332 : Calculate expiry of 0 timers
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms
2013-02-14 03:32:07.418+0000: 23220: debug : virEventPollRunOnce:629 :
EVENT_POLL_RUN: nhandles=1 timeout=-1
2013-02-14 03:32:07.418+0000: 23205: debug :
virNetMessageDecodeLength:152 : Got length, now need 48 total (44
more)
2013-02-14 03:32:07.418+0000: 23205: debug :
virNetClientCallDispatch:1127 : RPC_CLIENT_MSG_RX: client=0xb6d01cd8
len=48 prog=536903814 vers=1 proc=110 type=1 status=0 serial=3
2013-02-14 03:32:07.418+0000: 23205: debug :
virKeepAliveCheckMessage:384 : ka=0xb6d00480, client=0xb6d01cd8,
msg=0xb6d01d14
2013-02-14 03:32:07.418+0000: 23205: debug :
virNetClientIOEventLoopPassTheBuck:1424 : Giving up the buck
0xb6d00520
2013-02-14 03:32:07.418+0000: 23205: debug :
virNetClientIOEventLoopPassTheBuck:1438 : No thread to pass the buck
to
2013-02-14 03:32:07.418+0000: 23205: debug :
virEventPollUpdateHandle:147 : EVENT_POLL_UPDATE_HANDLE: watch=2
events=1
2013-02-14 03:32:07.418+0000: 23205: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-02-14 03:32:07.418+0000: 23205: debug : virNetClientIO:1807 : All
done with our call head=(nil) call=0xb6d00520 rv=0
2013-02-14 03:32:07.418+0000: 23220: debug : virEventPollRunOnce:640 :
Poll got 1 event(s)
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollDispatchTimeouts:425 : Dispatch 0
2013-02-14 03:32:07.418+0000: 23205: debug : virNetMessageFree:73 :
msg=0xb6d01df0 nfds=0 cb=(nil)
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollDispatchHandles:470 : Dispatch 1
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollDispatchHandles:484 : i=0 w=1
2013-02-14 03:32:07.418+0000: 23205: debug : doRemoteOpen:817 :
Auto-probed URI is qemu:///session
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollDispatchHandles:498 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:07.418+0000: 23205: debug : do_open:1197 : driver 4
remote returned SUCCESS
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventRunDefaultImpl:244 : running default event implementation
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:07.418+0000: 23205: debug : do_open:1221 : network
driver 0 Test returned DECLINED
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.418+0000: 23205: debug : do_open:1221 : network
driver 1 VBOX returned DECLINED
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:07.418+0000: 23205: debug : do_open:1221 : network
driver 2 remote returned SUCCESS
2013-02-14 03:32:07.418+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=0 w=1, f=4 e=1 d=0
2013-02-14 03:32:07.421+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=1 w=2, f=6 e=1 d=0
2013-02-14 03:32:07.421+0000: 23220: debug :
virEventPollCalculateTimeout:332 : Calculate expiry of 0 timers
2013-02-14 03:32:07.421+0000: 23220: debug :
virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms
2013-02-14 03:32:07.421+0000: 23205: debug : do_open:1237 : interface
driver 0 Test returned DECLINED
2013-02-14 03:32:07.421+0000: 23220: debug : virEventPollRunOnce:629 :
EVENT_POLL_RUN: nhandles=2 timeout=-1
2013-02-14 03:32:07.421+0000: 23205: debug : do_open:1237 : interface
driver 1 remote returned SUCCESS
2013-02-14 03:32:07.421+0000: 23205: debug : do_open:1254 : storage
driver 0 Test returned DECLINED
2013-02-14 03:32:07.421+0000: 23205: debug : do_open:1254 : storage
driver 1 VBOX returned DECLINED
2013-02-14 03:32:07.421+0000: 23205: debug : do_open:1254 : storage
driver 2 remote returned SUCCESS
2013-02-14 03:32:07.421+0000: 23205: debug : do_open:1271 : node
driver 0 Test returned DECLINED
2013-02-14 03:32:07.421+0000: 23205: debug : do_open:1271 : node
driver 1 remote returned SUCCESS
2013-02-14 03:32:07.421+0000: 23205: debug : do_open:1288 : secret
driver 0 Test returned DECLINED
2013-02-14 03:32:07.421+0000: 23205: debug : do_open:1288 : secret
driver 1 remote returned SUCCESS
2013-02-14 03:32:07.421+0000: 23205: debug : do_open:1305 : nwfilter
driver 0 Test returned DECLINED
2013-02-14 03:32:07.421+0000: 23205: debug : do_open:1305 : nwfilter
driver 1 remote returned SUCCESS
2013-02-14 03:32:07.421+0000: 23205: debug :
virConnectRegisterCloseCallback:19823 : conn=0x8d186b0
2013-02-14 03:32:07.421+0000: 23205: debug : virConnectIsAlive:19771 :
conn=0x8d186b0
2013-02-14 03:32:07.421+0000: 23205: debug : virFileClose:72 : Closed fd 9
2013-02-14 03:32:07.421+0000: 23205: debug : virDomainCreateXML:1962 :
conn=0x8d186b0, xmlDesc=<domain type='qemu'>
<name>testvm</name>
<memory>1048576</memory>
<os>
<type arch='x86_64'>hvm</type>
</os>
<devices>
<disk type='network'>
<source protocol="hlfs" name="hdfs:///tmp/testenv/testfs"/>
<target dev='hda' bus='ide'/>
</disk>
<graphics type='vnc' port='-1' autoport='yes'/>
</devices>
</domain>
, flags=0
2013-02-14 03:32:07.421+0000: 23205: debug : virNetMessageNew:45 :
msg=0xb6d03de0 tracked=0
2013-02-14 03:32:07.422+0000: 23205: debug :
virNetMessageEncodePayload:358 : Encode length as 344
2013-02-14 03:32:07.422+0000: 23205: debug :
virNetClientSendInternal:1955 : RPC_CLIENT_MSG_TX_QUEUE:
client=0xb6d01cd8 len=344 prog=536903814 vers=1 proc=10 type=0
status=0 serial=4
2013-02-14 03:32:07.422+0000: 23205: debug : virNetClientCallNew:1908
: New call 0xb6d03e28: msg=0xb6d03de0, expectReply=1, nonBlock=0
2013-02-14 03:32:07.422+0000: 23205: debug : virNetClientIO:1718 :
Outgoing message prog=536903814 version=1 serial=4 proc=10 type=0
length=344 dispatch=(nil)
2013-02-14 03:32:07.422+0000: 23205: debug : virNetClientIO:1777 : We
have the buck head=0xb6d03e28 call=0xb6d03e28
2013-02-14 03:32:07.422+0000: 23205: debug :
virEventPollUpdateHandle:147 : EVENT_POLL_UPDATE_HANDLE: watch=2
events=0
2013-02-14 03:32:07.422+0000: 23205: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-02-14 03:32:07.422+0000: 23220: debug : virEventPollRunOnce:640 :
Poll got 1 event(s)
2013-02-14 03:32:07.422+0000: 23220: debug :
virEventPollDispatchTimeouts:425 : Dispatch 0
2013-02-14 03:32:07.422+0000: 23220: debug :
virEventPollDispatchHandles:470 : Dispatch 2
2013-02-14 03:32:07.422+0000: 23220: debug :
virEventPollDispatchHandles:484 : i=0 w=1
2013-02-14 03:32:07.422+0000: 23220: debug :
virEventPollDispatchHandles:498 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2013-02-14 03:32:07.422+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:07.422+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.422+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:07.422+0000: 23220: debug :
virEventRunDefaultImpl:244 : running default event implementation
2013-02-14 03:32:07.422+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:07.422+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.422+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:07.422+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=0 w=1, f=4 e=1 d=0
2013-02-14 03:32:07.422+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=1 w=2, f=6 e=0 d=0
2013-02-14 03:32:07.422+0000: 23220: debug :
virEventPollCalculateTimeout:332 : Calculate expiry of 0 timers
2013-02-14 03:32:07.422+0000: 23220: debug :
virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms
2013-02-14 03:32:07.422+0000: 23220: debug : virEventPollRunOnce:629 :
EVENT_POLL_RUN: nhandles=1 timeout=-1
2013-02-14 03:32:07.692+0000: 23205: debug :
virNetMessageDecodeLength:152 : Got length, now need 2168 total (2164
more)
2013-02-14 03:32:07.692+0000: 23205: debug :
virNetClientCallDispatch:1127 : RPC_CLIENT_MSG_RX: client=0xb6d01cd8
len=2168 prog=536903814 vers=1 proc=10 type=1 status=1 serial=4
2013-02-14 03:32:07.692+0000: 23205: debug :
virKeepAliveCheckMessage:384 : ka=0xb6d00480, client=0xb6d01cd8,
msg=0xb6d01d14
2013-02-14 03:32:07.692+0000: 23205: debug :
virNetClientIOEventLoopPassTheBuck:1424 : Giving up the buck
0xb6d03e28
2013-02-14 03:32:07.692+0000: 23205: debug :
virNetClientIOEventLoopPassTheBuck:1438 : No thread to pass the buck
to
2013-02-14 03:32:07.692+0000: 23205: debug :
virEventPollUpdateHandle:147 : EVENT_POLL_UPDATE_HANDLE: watch=2
events=1
2013-02-14 03:32:07.692+0000: 23205: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-02-14 03:32:07.692+0000: 23205: debug : virNetClientIO:1807 : All
done with our call head=(nil) call=0xb6d03e28 rv=0
2013-02-14 03:32:07.692+0000: 23220: debug : virEventPollRunOnce:640 :
Poll got 1 event(s)
2013-02-14 03:32:07.692+0000: 23220: debug :
virEventPollDispatchTimeouts:425 : Dispatch 0
2013-02-14 03:32:07.692+0000: 23220: debug :
virEventPollDispatchHandles:470 : Dispatch 1
2013-02-14 03:32:07.692+0000: 23220: debug :
virEventPollDispatchHandles:484 : i=0 w=1
2013-02-14 03:32:07.692+0000: 23220: debug :
virEventPollDispatchHandles:498 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2013-02-14 03:32:07.692+0000: 23205: debug : virNetMessageFree:73 :
msg=0xb6d03de0 nfds=0 cb=(nil)
2013-02-14 03:32:07.692+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:07.692+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.692+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
Error:2013-02-14 03:32:07.692+0000: 23220: debug :
virEventRunDefaultImpl:244 : running default event implementation
2013-02-14 03:32:07.692+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
Create domain failure from hlfs_hdfs.xml
Error:2013-02-14 03:32:07.692+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.692+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
internal error process exited while connecting to monitor: ** Message:
enter func bdrv_hlbs_init
** Message: leave func bdrv_hlbs_init
enter func bdrv_new
leave func bdrv_new
999 enter func bdrv_open
999$$ filename is hlfs:hdfs:///tmp/testenv/testfs
999 enter func find_image_format
enter func bdrv_new
leave func bdrv_new
** Message: enter func hlbs_open
** Message: 999 filename is hlfs:hdfs:///tmp/testenv/testfs
** Message: 999 filename is hdfs:///tmp/testenv/testfs
** Message: enter func parse_vdiname
** Message: 999 filename is hdfs:///tmp/testenv/testfs
** Message: leave func parse_vdiname
enter func init_storage_handler
loc [fs:testfs],
uri:hdfs:///tmp/testenv/testfs,head:hdfs,dir:/tmp/testenv,fsname:testfs,hostname:default,port:0,user:kanghua
Environment variable CLASSPATH not set!
fs is null, hdfsConnect error!
ret is not 0, so error happened
leave func init_storage_handler
[uri:hdfs:///tmp/testenv/testfs] can not accessable
init raw hlfs ctrl failed
enter func hlfs_open
error params :flag 1
**
ERROR:block/hlfs.c:
2013-02-14 03:32:07.692+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=0 w=1, f=4 e=1 d=0
2013-02-14 03:32:07.692+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=1 w=2, f=6 e=1 d=0
2013-02-14 03:32:07.692+0000: 23205: debug : virConnectClose:1474 :
conn=0x8d186b0
2013-02-14 03:32:07.692+0000: 23220: debug :
virEventPollCalculateTimeout:332 : Calculate expiry of 0 timers
2013-02-14 03:32:07.692+0000: 23205: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0x8d186b0
2013-02-14 03:32:07.692+0000: 23220: debug :
virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms
2013-02-14 03:32:07.692+0000: 23205: debug : virObjectUnref:137 :
OBJECT_DISPOSE: obj=0x8d186b0
2013-02-14 03:32:07.692+0000: 23220: debug : virEventPollRunOnce:629 :
EVENT_POLL_RUN: nhandles=2 timeout=-1
2013-02-14 03:32:07.692+0000: 23205: debug : virNetMessageNew:45 :
msg=0xb6d046e8 tracked=0
2013-02-14 03:32:07.693+0000: 23205: debug :
virNetMessageEncodePayload:358 : Encode length as 28
2013-02-14 03:32:07.693+0000: 23205: debug :
virNetClientSendInternal:1955 : RPC_CLIENT_MSG_TX_QUEUE:
client=0xb6d01cd8 len=28 prog=536903814 vers=1 proc=2 type=0 status=0
serial=5
2013-02-14 03:32:07.693+0000: 23205: debug : virNetClientCallNew:1908
: New call 0xb6d04660: msg=0xb6d046e8, expectReply=1, nonBlock=0
2013-02-14 03:32:07.693+0000: 23205: debug : virNetClientIO:1718 :
Outgoing message prog=536903814 version=1 serial=5 proc=2 type=0
length=28 dispatch=(nil)
2013-02-14 03:32:07.693+0000: 23205: debug : virNetClientIO:1777 : We
have the buck head=0xb6d04660 call=0xb6d04660
2013-02-14 03:32:07.693+0000: 23205: debug :
virEventPollUpdateHandle:147 : EVENT_POLL_UPDATE_HANDLE: watch=2
events=0
2013-02-14 03:32:07.693+0000: 23205: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-02-14 03:32:07.693+0000: 23220: debug : virEventPollRunOnce:640 :
Poll got 1 event(s)
2013-02-14 03:32:07.693+0000: 23220: debug :
virEventPollDispatchTimeouts:425 : Dispatch 0
2013-02-14 03:32:07.693+0000: 23220: debug :
virEventPollDispatchHandles:470 : Dispatch 2
2013-02-14 03:32:07.693+0000: 23220: debug :
virEventPollDispatchHandles:484 : i=0 w=1
2013-02-14 03:32:07.693+0000: 23220: debug :
virEventPollDispatchHandles:498 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2013-02-14 03:32:07.693+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:07.693+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.693+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:07.696+0000: 23220: debug :
virEventRunDefaultImpl:244 : running default event implementation
2013-02-14 03:32:07.696+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 0
2013-02-14 03:32:07.696+0000: 23220: debug :
virEventPollCleanupTimeouts:552 : Found 0 out of 0 timeout slots used,
releasing 0
2013-02-14 03:32:07.696+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:07.696+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=0 w=1, f=4 e=1 d=0
2013-02-14 03:32:07.696+0000: 23220: debug :
virEventPollMakePollFDs:393 : Prepare n=1 w=2, f=6 e=0 d=0
2013-02-14 03:32:07.696+0000: 23220: debug :
virEventPollCalculateTimeout:332 : Calculate expiry of 0 timers
2013-02-14 03:32:07.696+0000: 23220: debug :
virEventPollCalculateTimeout:361 : Timeout at 0 due in -1 ms
2013-02-14 03:32:07.696+0000: 23220: debug : virEventPollRunOnce:629 :
EVENT_POLL_RUN: nhandles=1 timeout=-1
2013-02-14 03:32:07.696+0000: 23205: debug :
virNetMessageDecodeLength:152 : Got length, now need 28 total (24
more)
2013-02-14 03:32:07.696+0000: 23205: debug :
virNetClientCallDispatch:1127 : RPC_CLIENT_MSG_RX: client=0xb6d01cd8
len=28 prog=536903814 vers=1 proc=2 type=1 status=0 serial=5
2013-02-14 03:32:07.696+0000: 23205: debug :
virKeepAliveCheckMessage:384 : ka=0xb6d00480, client=0xb6d01cd8,
msg=0xb6d01d14
2013-02-14 03:32:07.696+0000: 23205: debug :
virNetClientIOEventLoopPassTheBuck:1424 : Giving up the buck
0xb6d04660
2013-02-14 03:32:07.696+0000: 23205: debug :
virNetClientIOEventLoopPassTheBuck:1438 : No thread to pass the buck
to
2013-02-14 03:32:07.696+0000: 23205: debug :
virEventPollUpdateHandle:147 : EVENT_POLL_UPDATE_HANDLE: watch=2
events=1
2013-02-14 03:32:07.696+0000: 23205: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-02-14 03:32:07.696+0000: 23205: debug : virNetClientIO:1807 : All
done with our call head=(nil) call=0xb6d04660 rv=0
2013-02-14 03:32:07.696+0000: 23205: debug : virNetMessageFree:73 :
msg=0xb6d046e8 nfds=0 cb=(nil)
2013-02-14 03:32:07.696+0000: 23205: debug :
virNetClientCloseInternal:698 : client=0xb6d01cd8 wantclose=0
2013-02-14 03:32:07.696+0000: 23205: debug : virNetClientMarkClose:646
: client=0xb6d01cd8, reason=3
2013-02-14 03:32:07.696+0000: 23205: debug :
virEventPollRemoveHandle:180 : EVENT_POLL_REMOVE_HANDLE: watch=2
2013-02-14 03:32:07.696+0000: 23205: debug :
virEventPollRemoveHandle:193 : mark delete 1 6
2013-02-14 03:32:07.696+0000: 23205: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-02-14 03:32:07.696+0000: 23205: debug :
virNetClientIOEventLoopPassTheBuck:1424 : Giving up the buck (nil)
2013-02-14 03:32:07.696+0000: 23205: debug :
virNetClientIOEventLoopPassTheBuck:1438 : No thread to pass the buck
to
2013-02-14 03:32:07.696+0000: 23205: debug :
virNetClientCloseLocked:659 : client=0xb6d01cd8, sock=0xb6d005e0,
reason=3
2013-02-14 03:32:07.696+0000: 23205: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0xb6d005e0
2013-02-14 03:32:07.696+0000: 23205: debug : virObjectRef:168 :
OBJECT_REF: obj=0xb6d01cd8
2013-02-14 03:32:07.696+0000: 23205: debug : virKeepAliveStop:320 :
RPC_KEEPALIVE_STOP: ka=0xb6d00480 client=0xb6d01cd8
2013-02-14 03:32:07.696+0000: 23205: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0xb6d00480
2013-02-14 03:32:07.696+0000: 23205: debug : virObjectUnref:137 :
OBJECT_DISPOSE: obj=0xb6d00480
2013-02-14 03:32:07.696+0000: 23205: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0xb6d01cd8
2013-02-14 03:32:07.696+0000: 23205: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0xb6d01cd8
2013-02-14 03:32:07.696+0000: 23205: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0xb6d01cd8
2013-02-14 03:32:07.696+0000: 23205: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0xb6d00568
2013-02-14 03:32:07.696+0000: 23205: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0xb6d00590
2013-02-14 03:32:07.697+0000: 23205: debug :
virEventPollAddTimeout:225 : Used 0 timeout slots, adding at least 10
more
2013-02-14 03:32:07.697+0000: 23205: debug :
virEventPollInterruptLocked:716 : Interrupting
2013-02-14 03:32:07.697+0000: 23205: debug :
virEventPollAddTimeout:248 : EVENT_POLL_ADD_TIMEOUT: timer=1
frequency=0 cb=0x8055ee3 opaque=(nil) ff=(nil)
2013-02-14 03:32:07.697+0000: 23220: debug : virEventPollRunOnce:640 :
Poll got 1 event(s)
2013-02-14 03:32:07.697+0000: 23220: debug :
virEventPollDispatchTimeouts:425 : Dispatch 1
2013-02-14 03:32:07.697+0000: 23220: debug :
virEventPollDispatchTimeouts:448 : EVENT_POLL_DISPATCH_TIMEOUT:
timer=1
2013-02-14 03:32:07.697+0000: 23220: debug :
virEventPollDispatchHandles:470 : Dispatch 1
2013-02-14 03:32:07.697+0000: 23220: debug :
virEventPollDispatchHandles:484 : i=0 w=1
2013-02-14 03:32:07.697+0000: 23220: debug :
virEventPollDispatchHandles:498 : EVENT_POLL_DISPATCH_HANDLE: watch=1
events=1
2013-02-14 03:32:07.697+0000: 23220: debug :
virEventPollCleanupTimeouts:516 : Cleanup 1
2013-02-14 03:32:07.697+0000: 23220: debug :
virEventPollCleanupHandles:564 : Cleanup 2
2013-02-14 03:32:07.697+0000: 23220: debug :
virEventPollCleanupHandles:577 : EVENT_POLL_PURGE_HANDLE: watch=2
2013-02-14 03:32:07.697+0000: 23220: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0xb6d01cd8
2013-02-14 03:32:07.697+0000: 23220: debug : virObjectUnref:137 :
OBJECT_DISPOSE: obj=0xb6d01cd8
2013-02-14 03:32:07.697+0000: 23220: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0xb6d00568
2013-02-14 03:32:07.697+0000: 23220: debug : virObjectUnref:137 :
OBJECT_DISPOSE: obj=0xb6d00568
2013-02-14 03:32:07.697+0000: 23220: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0xb6d00590
2013-02-14 03:32:07.697+0000: 23220: debug : virObjectUnref:137 :
OBJECT_DISPOSE: obj=0xb6d00590
2013-02-14 03:32:07.697+0000: 23220: debug : virFileClose:72 : Closed fd 8
2013-02-14 03:32:07.697+0000: 23220: debug : virFileClose:72 : Closed fd 7
2013-02-14 03:32:07.697+0000: 23220: debug : virNetMessageClear:56 :
msg=0xb6d01d14 nfds=0
2013-02-14 03:32:07.697+0000: 23220: debug : virObjectUnref:135 :
OBJECT_UNREF: obj=0xb6d005e0
2013-02-14 03:32:07.697+0000: 23220: debug : virObjectUnref:137 :
OBJECT_DISPOSE: obj=0xb6d005e0
2013-02-14 03:32:07.697+0000: 23220: debug : virNetSocketDispose:1005
: sock=0xb6d005e0 fd=6
2013-02-14 03:32:07.697+0000: 23220: debug :
virEventPollRemoveHandle:180 : EVENT_POLL_REMOVE_HANDLE: watch=2
2013-02-14 03:32:07.697+0000: 23220: debug : virFileClose:72 : Closed fd 6
2013-02-14 03:32:07.697+0000: 23205: debug :
virEventPollRemoveTimeout:300 : EVENT_POLL_REMOVE_TIMEOUT: timer=1
2013-02-14 03:32:07.697+0000: 23205: debug :
virEventPollInterruptLocked:712 : Skip interrupt, 0 -1218303120
--
Thanks
Harry Wei
11 years, 9 months
[libvirt] [PATCH] vbox: Don't overwrite errors returned by virDomainDeviceDefParse
by Jiri Denemark
---
src/vbox/vbox_tmpl.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/vbox/vbox_tmpl.c b/src/vbox/vbox_tmpl.c
index 00b4d3d..cd88579 100644
--- a/src/vbox/vbox_tmpl.c
+++ b/src/vbox/vbox_tmpl.c
@@ -5388,10 +5388,8 @@ static int vboxDomainAttachDeviceImpl(virDomainPtr dom,
dev = virDomainDeviceDefParse(data->caps, def, xml,
VIR_DOMAIN_XML_INACTIVE);
- if (dev == NULL) {
- virReportOOMError();
+ if (dev == NULL)
goto cleanup;
- }
vboxIIDFromUUID(&iid, dom->uuid);
rc = VBOX_OBJECT_GET_MACHINE(iid.value, &machine);
@@ -5625,10 +5623,8 @@ static int vboxDomainDetachDevice(virDomainPtr dom, const char *xml) {
dev = virDomainDeviceDefParse(data->caps, def, xml,
VIR_DOMAIN_XML_INACTIVE);
- if (dev == NULL) {
- virReportOOMError();
+ if (dev == NULL)
goto cleanup;
- }
vboxIIDFromUUID(&iid, dom->uuid);
rc = VBOX_OBJECT_GET_MACHINE(iid.value, &machine);
--
1.8.1.2
11 years, 9 months
[libvirt] [PATCHv2 0/5] S390: Support for native CCW bus
by Viktor Mihajlovski
Originally, QEMU did not implement a native I/O bus for s390.
The initial implementation had a machine type 's390-virtio'
featuring a fully paravirtualized I/O system with an artificial
bus type 'virtio-s390'.
This bus had a number of short-comings, like the need for a
non-standard device discovery mechanism, a limited number
of devices, limited hotplugging capabilites and the lack
of persistent device addresses.
To resolve these issues a new machine type 's390-ccw-virtio'
has been recently added to QEMU which implementa the native
s390 CCW I/O bus.
Guests with arch='s390x' and machine='s390-ccw-virtio' can
now be defined with up to 262144 virtio devices.
This series adds the support for the s390-ccw-virtio
machine type and the CCW bus to libvirt. As usual we start
with the documentation/schema, the generic configuration
stuff, continue with the QEMU driver including device
hotplug and finally add qemu2xml testcases.
V2 Changes
- use an attribute triple cssid, ssid, schid instead of devno
to better represent the libvirt CCW address structure
- rebase to current upstream, mainly address qemuCapsXXX rename
J.B. Joret (1):
S390: Add hotplug support for s390 virtio devices
Viktor Mihajlovski (4):
S390: Documentation for CCW address type
S390: domain_conf support for CCW
S390: QEMU driver support for CCW addresses
S390: Testcases for virtio-ccw machines
docs/formatdomain.html.in | 14 +
docs/schemas/domaincommon.rng | 52 ++++
src/conf/domain_conf.c | 107 +++++++-
src/conf/domain_conf.h | 16 ++
src/libvirt_private.syms | 1 +
src/qemu/qemu_capabilities.c | 47 +++-
src/qemu/qemu_capabilities.h | 8 +-
src/qemu/qemu_command.c | 269 +++++++++++++++++++-
src/qemu/qemu_command.h | 6 +
src/qemu/qemu_domain.c | 1 +
src/qemu/qemu_domain.h | 3 +
src/qemu/qemu_driver.c | 26 +-
src/qemu/qemu_hotplug.c | 147 +++++++----
src/qemu/qemu_hotplug.h | 14 +-
src/qemu/qemu_process.c | 12 +-
.../qemuxml2argv-console-virtio-ccw.args | 10 +
.../qemuxml2argv-console-virtio-ccw.xml | 27 ++
.../qemuxml2argv-console-virtio-s390.args | 4 +-
.../qemuxml2argv-console-virtio-s390.xml | 2 +-
.../qemuxml2argv-disk-virtio-ccw-many.args | 12 +
.../qemuxml2argv-disk-virtio-ccw-many.xml | 40 +++
.../qemuxml2argv-disk-virtio-ccw.args | 8 +
.../qemuxml2argv-disk-virtio-ccw.xml | 30 +++
.../qemuxml2argv-net-virtio-ccw.args | 8 +
.../qemuxml2argv-net-virtio-ccw.xml | 30 +++
tests/qemuxml2argvtest.c | 11 +-
tests/testutilsqemu.c | 3 +-
27 files changed, 812 insertions(+), 96 deletions(-)
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-console-virtio-ccw.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-console-virtio-ccw.xml
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-ccw-many.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-ccw-many.xml
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-ccw.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-disk-virtio-ccw.xml
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-net-virtio-ccw.args
create mode 100644 tests/qemuxml2argvdata/qemuxml2argv-net-virtio-ccw.xml
--
1.7.9.5
11 years, 9 months
[libvirt] Thoughts on adding a domain type of jvm
by Scott Stark
I'm working with a java vm vendor that is developing a multi-tenancy jvm and is trying to leverage the libvirt framework for the domain configuration. Right now the java language binding leverages the libvirt c library for parsing the domain.xml file. What are the thoughts on adding a 'jvm' domain type?
I believe there would need to be a jvm specific section in a separate namespace similar to the qemucmdline section.
11 years, 9 months