<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Personal website of Dave Hope &#187; Virtual Server</title>
	<atom:link href="http://davehope.co.uk/Blog/tag/virtual-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://davehope.co.uk</link>
	<description>Open source projects, sysadmin stuff and general geekage</description>
	<lastBuildDate>Tue, 18 May 2010 11:46:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Create Virtual Machine fails with error 3101</title>
		<link>http://davehope.co.uk/Blog/create-virtual-machine-fails-with-error-3101/</link>
		<comments>http://davehope.co.uk/Blog/create-virtual-machine-fails-with-error-3101/#comments</comments>
		<pubDate>Fri, 09 Jan 2009 12:46:58 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[Virtual Server]]></category>

		<guid isPermaLink="false">http://davehope.co.uk/?p=183</guid>
		<description><![CDATA[Over Christmas I completed migrating our SCVMM 07 environmentover to SCVMM 08. An issue appeared this week which had me stumped, all of a sudden creating VMs from some templates started to fail when trying to &#8220;Install VM Components&#8221;. Error (3101) VMM failed to mount VHD file D:\BOH-DHOPE-V07\BOH-DHOPE-V07_disk_1.vhd on the * server. A timeout occurred. [...]]]></description>
			<content:encoded><![CDATA[<p>Over Christmas I completed migrating our SCVMM 07 environmentover to SCVMM 08. An issue appeared this week which had me stumped, all of a sudden creating VMs from some templates started to fail when trying to &#8220;Install VM Components&#8221;. </p>
<p><code><b>Error</b> (3101)<br />
VMM failed to mount VHD file D:\BOH-DHOPE-V07\BOH-DHOPE-V07_disk_1.vhd on the * server. A timeout occurred.<br />
 (Internal error code: 0x80990C1D)<br />
<br />
<b>Recommended Action</b><br />
Check Device Manager/System Devices to make sure that Microsoft Virtual Server Storage Bus is installed and functional. If it is not, install VHDMount component of Virtual Server. Restart Virtual Disk Service, and then try the operation again.</code></p>
<p>This had started occurring on all our hosts where Virtual Server 2005 had been upgraded as part of the SCVMM 08 migration. Servers which didn&#8217;t need the Virtual Server 2005 update didn&#8217;t have this problem.</p>
<p>Setting <i>VHD_MOUNT_TRACE=2</i> and trying to mount the VHD led to the following error:<br />
<code>The specified operation could not be completed as an unexpected error has occurred.</code></p>
<p>The workaround is to stop the Virtual Server service, uninstall Virtual Server and install again (from the &#8216;vs&#8217; folder from SCVMM 08). </p>
]]></content:encoded>
			<wfw:commentRss>http://davehope.co.uk/Blog/create-virtual-machine-fails-with-error-3101/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SCVMM 2008 Delayed</title>
		<link>http://davehope.co.uk/Blog/scvmm-2008-delayed/</link>
		<comments>http://davehope.co.uk/Blog/scvmm-2008-delayed/#comments</comments>
		<pubDate>Thu, 09 Oct 2008 11:58:33 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[SCVMM]]></category>
		<category><![CDATA[Virtual Server]]></category>

		<guid isPermaLink="false">http://davehope.co.uk/?p=137</guid>
		<description><![CDATA[Microsoft were due to release SCVMM 2008 yesterday (8th October) but according to a forum post by Carmen Asher (a Program Manager at Microsoft) the release has been delayed until October 30th. Ohh well, I guess that pushes our upgrade to SCVMM 2008 back a month &#8211; Darn.]]></description>
			<content:encoded><![CDATA[<p>Microsoft were due to release SCVMM 2008 yesterday (8th October) but <a href="http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=3975748&amp;SiteID=17">according to a forum post by Carmen Asher</a> (a Program Manager at Microsoft) the release has been delayed until October 30th.</p>
<p>Ohh well, I guess that pushes our upgrade to SCVMM 2008 back a month &#8211; Darn.</p>
]]></content:encoded>
			<wfw:commentRss>http://davehope.co.uk/Blog/scvmm-2008-delayed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Detecting VMWare</title>
		<link>http://davehope.co.uk/Blog/detecting-vmware/</link>
		<comments>http://davehope.co.uk/Blog/detecting-vmware/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 18:03:35 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Virtual Server]]></category>
		<category><![CDATA[VMWare]]></category>

		<guid isPermaLink="false">http://davehope.co.uk/Blog/detecting-vmware/</guid>
		<description><![CDATA[Interested in how to detect the presence of VMware / VirtualServer I came across this bit of code to detect whether an application is being run in virtual environment. int swallow_redpill (){ unsigned char m[2+4], rpill[] = "\x0f\x01\x0d\x00\x00\x00\x00\xc3"; *((unsigned*)&#38;rpill[3]) = (unsigned)m; ((void(*)())&#38;rpill)(); return (m[5]&#62;0xd0) ? 1 : 0; } This works by abusing the SIDT [...]]]></description>
			<content:encoded><![CDATA[<p>Interested in how to detect the presence of VMware / VirtualServer I came across this bit of code to detect whether an application is being run in virtual environment.<br />
<code><br />
int swallow_redpill (){<br />
unsigned char m[2+4], rpill[] = "\x0f\x01\x0d\x00\x00\x00\x00\xc3";<br />
*((unsigned*)&amp;rpill[3]) = (unsigned)m;<br />
((void(*)())&amp;rpill)();<br />
return (m[5]&gt;0xd0) ? 1 : 0;<br />
}</code><br />
This works by abusing the SIDT instruction which stores the contents of the Interrupt Descriptor Table Register (IDTR) . It can be executed in <a href="http://en.wikipedia.org/wiki/Kernel_mode">ring3</a> revealing a sensitive register used by the OS. Because there can only be one IDTR the VM software needs to relocate the guest VM IDTR to a new point, which is software predictable.</p>
<p>Kudos to <a href="http://www.invisiblethings.org/papers/redpill.html">Invisible Things</a> for an interesting read. There are some expansions on this code over at <a href="http://www.trapkit.de/research/vmm/index.html">TrapKit</a> for anyone who&#8217;s interested.</p>
]]></content:encoded>
			<wfw:commentRss>http://davehope.co.uk/Blog/detecting-vmware/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 2003 Datacenter Guest NIC Driver for Virtual Server</title>
		<link>http://davehope.co.uk/Blog/windows-2003-datacenter-guest-nic-driver-for-virtual-server/</link>
		<comments>http://davehope.co.uk/Blog/windows-2003-datacenter-guest-nic-driver-for-virtual-server/#comments</comments>
		<pubDate>Thu, 27 Sep 2007 08:44:20 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Drivers]]></category>
		<category><![CDATA[Virtual Server]]></category>
		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://davehope.co.uk/Beta/wordpress/Blog/windows-2003-datacenter-guest-nic-driver-for-virtual-server/</guid>
		<description><![CDATA[Came across a problem the other day with running Windows 2003 Datacenter Edition as a guest on Microsoft Virtual Server. The problem? Windows 2003 Datacenter edition doesn&#8217;t have a suitable driver for Virtual Server, meaning that it&#8217;s fairly usless as a guest operating system (which negates one of the main benefits of having datacenter edition [...]]]></description>
			<content:encoded><![CDATA[<p>Came across a problem the other day with running Windows 2003 Datacenter Edition as a guest on Microsoft Virtual Server. The problem? Windows 2003 Datacenter edition doesn&#8217;t have a suitable driver for Virtual Server, meaning that it&#8217;s fairly usless as a guest operating system (which negates one of the main benefits of having datacenter edition &#8211; unlimited VMs with no additional license cost).</p>
<p>I spoke to Peter Meister at Microsoft who was a great help, and whilst waiting for a solution from them I found some drivers which work. Install  <a href="http://www.intel.com/design/network/drivers/int_v505.htm">these drivers</a> in your datacenter edition guest and your virtual network card will start working again, yay!</p>
]]></content:encoded>
			<wfw:commentRss>http://davehope.co.uk/Blog/windows-2003-datacenter-guest-nic-driver-for-virtual-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
