<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hogem</author_name>
  <author_url>https://blog.hatena.ne.jp/hogem/</author_url>
  <blog_title>うまいぼうぶろぐ</blog_title>
  <blog_url>https://hogem.hatenablog.com/</blog_url>
  <categories>
    <anon>perl</anon>
    <anon>libvirt</anon>
  </categories>
  <description>http://search.cpan.org/dist/Sys-Virt/lib/Sys/Virt/Domain.pm perldoc Sys::Virt::Domain を見ても&quot;vnc&quot; という記述が見当たらないので直接取ってくることはできなさそうだけど、get_xml_description で仮想マシンの情報をxmlで取ってきて、そこのgraphics タグの中身を見ればいけた。 my $xml = $dom-&gt;get_xml_description($flags=0); このxmlは仮想マシンの設定ファイル(/etc/libvirt/qemu/hostname.xml) の値ではなく…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhogem.hatenablog.com%2Fentry%2F20120618%2F1340027874&quot; title=&quot;Sys::Virt で仮想マシンに割り当てられているVNC port を取得する - うまいぼうぶろぐ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-06-18 22:57:54</published>
  <title>Sys::Virt で仮想マシンに割り当てられているVNC port を取得する</title>
  <type>rich</type>
  <url>https://hogem.hatenablog.com/entry/20120618/1340027874</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
