After adding /reactos as windows systemroot, virt-inspector identified OS as windows with product name ReactOS. Fixes RHBZ#709326. Related bug RHBZ#709327 seems to be already fixed in ReactOS 0.4. Maros Zatko (1): inspector: add /reactos as systemroot src/inspect-fs-windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 1.9.3
Maros Zatko
2015-Feb-13 12:05 UTC
[Libguestfs] [PATCH] inspector: add /reactos as systemroot
Fixes RHBZ#709326 Related bug RHBZ#709327 seems to be already fixed in ReactOS 0.4. --- src/inspect-fs-windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inspect-fs-windows.c b/src/inspect-fs-windows.c index 421a5b1..7f0f13d 100644 --- a/src/inspect-fs-windows.c +++ b/src/inspect-fs-windows.c @@ -107,7 +107,7 @@ guestfs___get_windows_systemroot (guestfs_h *g) { /* Check a predefined list of common windows system root locations */ static const char *systemroots[] - { "/windows", "/winnt", "/win32", "/win", NULL }; + { "/windows", "/winnt", "/win32", "/win", "/reactos", NULL }; for (size_t i = 0; i < sizeof systemroots / sizeof systemroots[0]; ++i) { char *systemroot -- 1.9.3
Richard W.M. Jones
2015-Feb-16 19:33 UTC
Re: [Libguestfs] [PATCH] inspector: add /reactos as systemroot
On Fri, Feb 13, 2015 at 01:05:43PM +0100, Maros Zatko wrote:> Fixes RHBZ#709326 > Related bug RHBZ#709327 seems to be already fixed in ReactOS 0.4. > --- > src/inspect-fs-windows.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/inspect-fs-windows.c b/src/inspect-fs-windows.c > index 421a5b1..7f0f13d 100644 > --- a/src/inspect-fs-windows.c > +++ b/src/inspect-fs-windows.c > @@ -107,7 +107,7 @@ guestfs___get_windows_systemroot (guestfs_h *g) > { > /* Check a predefined list of common windows system root locations */ > static const char *systemroots[] > - { "/windows", "/winnt", "/win32", "/win", NULL }; > + { "/windows", "/winnt", "/win32", "/win", "/reactos", NULL }; > > for (size_t i = 0; i < sizeof systemroots / sizeof systemroots[0]; ++i) { > char *systemrootACK, I will push this later once I've fixed my local machine. Thanks, Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html
Possibly Parallel Threads
- [PATCH] inspector: add /reactos as systemroot
- [PATCH 1/3] inspection: Refactor windows systemroot detection to allow re-use
- [PATCH] Update chain.c32 v. 6.04-pre1 for current Reactos
- Problems with booting ReactOS over network using pxelinux
- [PATCH] Correct chain.c32 v. 6.04-pre1 for Reactos