Guido Günther wrote:
On Fri, Oct 10, 2008 at 06:05:37PM +0100, Daniel P. Berrange wrote:
Sorry to mess up your patch, but I just committed the code to turn
all linked lists into arrays. So you'll need to tweak this to do
for (i = 0 ; i vm-def-ndisks ; i++)
if
On Fri, Oct 10, 2008 at 06:05:37PM +0100, Daniel P. Berrange wrote:
Sorry to mess up your patch, but I just committed the code to turn
all linked lists into arrays. So you'll need to tweak this to do
for (i = 0 ; i vm-def-ndisks ; i++)
if (STREQ(vm-def-disks[i]-dst))
Guido Günther wrote:
Hi,
use qemudDiskDeviceName to determine the block device name (as suggested
by Cole).
-- Guido
From 6985fee585561b04942036d283632e7cb2bb708f Mon Sep 17 00:00:00 2001
From: Guido Guenther [EMAIL PROTECTED]
Date: Thu, 2 Oct 2008 21:12:20 +0200
Subject: [PATCH]
On Fri, Oct 10, 2008 at 05:28:54PM +0200, Guido G?nther wrote:
Hi,
use qemudDiskDeviceName to determine the block device name (as suggested
by Cole).
-- Guido
+disk = vm-def-disks;
+while (disk) {
+if (STREQ(disk-dst, path))
+break;
+disk = disk-next;